How To Install screen on Rocky Linux 8

In this tutorial we learn how to install screen on Rocky Linux 8. screen is A screen manager that supports multiple logins on one terminal

Introduction

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

What is screen

The screen utility allows you to have multiple logins on just one terminal. Screen is useful for users who telnet into a machine or are connected via a dumb terminal, but want to use more than just one login. Install the screen package if you need a screen manager that can support multiple logins on one terminal.

We can use yum or dnf to install screen on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install screen.

Install screen on Rocky Linux 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

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

sudo dnf -y install screen

Install screen on Rocky Linux 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

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

sudo yum -y install screen

How To Uninstall screen on Rocky Linux 8

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

sudo dnf remove screen

screen Package Contents on Rocky Linux 8

/etc/pam.d/screen
/etc/screenrc
/run/screen
/usr/bin/screen
/usr/lib/.build-id
/usr/lib/.build-id/9d
/usr/lib/.build-id/9d/971da281e0d0f25210a95eacb34b8f50ae478b
/usr/lib/tmpfiles.d/screen.conf
/usr/share/doc/screen
/usr/share/doc/screen/ChangeLog
/usr/share/doc/screen/FAQ
/usr/share/doc/screen/README
/usr/share/doc/screen/README.DOTSCREEN
/usr/share/info/screen.info.gz
/usr/share/licenses/screen
/usr/share/licenses/screen/COPYING
/usr/share/man/man1/screen.1.gz
/usr/share/screen
/usr/share/screen/utf8encodings
/usr/share/screen/utf8encodings/01
/usr/share/screen/utf8encodings/02
/usr/share/screen/utf8encodings/03
/usr/share/screen/utf8encodings/04
/usr/share/screen/utf8encodings/18
/usr/share/screen/utf8encodings/19
/usr/share/screen/utf8encodings/a1
/usr/share/screen/utf8encodings/bf
/usr/share/screen/utf8encodings/c2
/usr/share/screen/utf8encodings/c3
/usr/share/screen/utf8encodings/c4
/usr/share/screen/utf8encodings/c6
/usr/share/screen/utf8encodings/c7
/usr/share/screen/utf8encodings/c8
/usr/share/screen/utf8encodings/cc
/usr/share/screen/utf8encodings/cd
/usr/share/screen/utf8encodings/d6

References

Summary

In this tutorial we learn how to install screen on Rocky Linux 8 using yum and dnf.