screen command not found

In this troubleshooting guide we learn how to fix screen command not found error message

Introduction

When you run more command in linux terminal / console, you get the following error message

screen: command not found

or when using sudo you get the following error message

sudo: screen: command not found

Solutions to screen: command not found

How To Fix screen: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu screen is provided by screen package.

screen is:

GNU Screen is a terminal multiplexer that runs several separate “screens” on a single physical character-based terminal. Each virtual terminal emulates a DEC VT100 plus several ANSI X3.64 and ISO 2022 functions. Screen sessions can be detached and resumed later on a different terminal.

Screen also supports a whole slew of other features, including configurable input and output translation, serial port support, configurable logging, and multi-user support.

To fix this problem, we can install more using the command below.

sudo apt-get -y install screen

This command might take some time to finish depending on your machine internet connection.

You can also use apt command to install screen.

sudo apt -y install screen

Or if you have aptitude installed you can use the following command.

sudo aptitude install screen

Summary

In this tutorial we learn how to fix screen command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.