一,例如:安裝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)
