CentOS 8发布有段时间了,最近新开了一台日本VPS,今天在一个CentOS 8的测试上遇到安装screen不能成功的,之后发现linode的vps也有同样的错误,因此在这里提出解决方案。
在安装screen时提示:
No match for argument: screen
Error: Unable to find a match
直接yum install screen
安装就出现了,如下图所示。

错误原因
产生这个错误的原因是未配置yum源,所以需要安装EPEL源
解决方案
Centos8安装screen需要使用epel来安装,安装epel后,再安装screen,解决centos8无法安装screen的问题。
1、安装epel
命令一:
yum install https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm
另一个命令方式:
sudo yum install epel-release
2、安装screen
sudo yum install screen

可以看到centos8已经正常安装并可以使用screnn了。
评论前必须登录!
注册