首页 > Web开发 > 详细

centos8平台yum无法安装一些常用软件的解决,如:screen,iftop,nethogs

时间:2020-03-19 12:22:26      阅读:113      评论:0      收藏:0      [点我收藏+]

一,例如:安装screen时报错:

[root@localhost liuhongdi]# yum install screen
上次元数据过期检查:17:39:58 前,执行于 2020年03月18日 星期三 18时08分13秒。
未找到匹配的参数: screen
错误:没有任何匹配: screen

 

说明:刘宏缔的架构森林是一个专注架构的博客,地址:https://www.cnblogs.com/architectforest

         对应的源码可以访问这里获取: https://github.com/liuhongdi/

 说明:作者:刘宏缔 邮箱: 371125307@qq.com

 

二,解决:

centos8上yum源里面没有epel,而screen等一些软件被迁移到了epel源,

所以我们需要在centos8上先安装epel源

然后就可以安装screen了

 

[root@localhost liuhongdi]# yum install epel-release

 

三,重新尝试安装

[root@localhost liuhongdi]# yum install screen
[root@localhost liuhongdi]# yum install iftop
[root@localhost liuhongdi]# yum install nethogs

已不再提示匹配不到

 

四,查看本地centos的版本

[root@localhost liuhongdi]# cat /etc/redhat-release 
CentOS Linux release 8.1.1911 (Core)

 

centos8平台yum无法安装一些常用软件的解决,如:screen,iftop,nethogs

原文:https://www.cnblogs.com/architectforest/p/12523286.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!