CentOS 8 安装screen

CentOS 8安装不上screen,以为是yum源的问题,搞了半天才发现,要在CentOS 8上安装screen,先要安装EPEL库才可以。

[root@centoss8 yum.repos.d]#yum -y install screen
Last metadata expiration check: 0:00:17 ago on Thu 02 Jun 2022 01:09:34 AM CST.

No match for argument: screen
Error: Unable to find a match: screen

[root@centoss8 yum.repos.d]#yum -y install epel-release

....

[root@centoss8 yum.repos.d]#yum -y install screen
....

[root@centoss8 yum.repos.d]#rpm -qi screen
Name        : screen
Version     : 4.6.2
Release     : 12.el8
Architecture: x86_64
Install Date: Thu 02 Jun 2022 01:17:06 AM CST
Group       : Unspecified
Size        : 978133
License     : GPLv3+
Signature   : RSA/SHA256, Wed 05 May 2021 06:08:45 PM CST, Key ID 21ea45ab2f86d6a1
Source RPM  : screen-4.6.2-12.el8.src.rpm
Build Date  : Wed 05 May 2021 06:04:07 PM CST
Build Host  : buildvm-x86-06.iad2.fedoraproject.org
Relocations : (not relocatable)
Packager    : Fedora Project
Vendor      : Fedora Project
URL         : http://www.gnu.org/software/screen
Bug URL     : https://bugz.fedoraproject.org/screen
Summary     : A screen manager that supports multiple logins on one terminal
Description :
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.
[root@centoss8 yum.repos.d]#