How To Install screen on Kali Linux

In this tutorial we learn how to install screen on Kali Linux. screen is terminal multiplexer with VT100/ANSI terminal emulation

Introduction

In this tutorial we learn how to install screen on Kali Linux.

What is screen

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.

There are three methods to install screen on Kali Linux. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.

Install screen Using apt-get

Update apt database with apt-get using the following command.

sudo apt-get update

After updating apt database, We can install screen using apt-get by running the following command:

sudo apt-get -y install screen

Install screen Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install screen using apt by running the following command:

sudo apt -y install screen

Install screen Using aptitude

If you want to follow this method, you might need to install aptitude on Kali Linux first since aptitude is usually not installed by default on Kali Linux. Update apt database with aptitude using the following command.

sudo aptitude update

After updating apt database, We can install screen using aptitude by running the following command:

sudo aptitude -y install screen

How To Uninstall screen on Kali Linux

To uninstall only the screen package we can use the following command:

sudo apt-get remove screen

Uninstall screen And Its Dependencies

To uninstall screen and its dependencies that are no longer needed by Kali Linux, we can use the command below:

sudo apt-get -y autoremove screen

Remove screen Configurations and Data

To remove screen configuration and data from Kali Linux we can use the following command:

sudo apt-get -y purge screen

Remove screen configuration, data, and all of its dependencies

We can use the following command to remove screen configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge screen

Dependencies

screen have the following dependencies:

References

Summary

In this tutorial we learn how to install screen package on Kali Linux using different package management tools: apt, apt-get and aptitude.