Linux screen is a terminal application and is used for terminal multiplexing. This terminal application is developed by the GNU project and it is often being called as GNU Screen. The Linux Screen divides a physical terminal into multiple virtual sessions, stops and summarizes the activity within them. For example, if you are using the Screen, you can shut down your terminal session as well as your system, and you can still reaccess the session where you last left off and continue with your progress. It may seem like a basic feature, however, it can be crucial to every Linux user.
In this article, we will be guiding you on how to install Linux Screen onto your Linux VPS Server.
Step 1: Access VPS with SSH
Most of the Linux distributions have Linux Screen installed into the system by default, however, if it isn’t in your system, you may proceed with this guide to assist you. Firstly, access your VPS with SSH with the following command in the terminal.
ssh <user_name>@<server>
Replace “<user_name>” and “<server>” with your username and server name respectively.
Step 2: Screen Installation
For the Screen installation, if you are using any Debian-based distribution such as Ubuntu, Linux Mint, and more, run the following command.
sudo apt install screen
In the case of CentOS 7, you can install Screen using the following command.
If you do not have a sudo privilege, you will need to run it as a root user. Run the following command if you are installing it as a root user.
yum install screen
Step 3: Installation Verification
After the installation, to verify if it is completely installed in the system, run the following command to display the version of the Screen installed.
screen -version
After completing the above steps, you can now finally use Screen on your system.