zoukankan      html  css  js  c++  java
  • centos8平台yum无法安装一些常用软件的解决,如:screen,iftop,nethogs

    一,例如:安装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)
  • 相关阅读:
    ArrayList和Vector的比较
    ExtJs与jQuery的比较
    列表类型的内建函数
    序列类型函数
    SQL函数
    HTTP状态码
    序列切片
    数值运算
    数值类型转换
    Python中is和==的区别
  • 原文地址:https://www.cnblogs.com/architectforest/p/12523286.html
Copyright © 2011-2022 走看看