zoukankan      html  css  js  c++  java
  • yum 安装包的时候提示“没有可用软件包”

    今天在使用 yum 命令进行包的下载时候,Linux 提示 没有可用的软件包~ 如下:

    [root@localhost share]# yum -y install wordpress
    已加载插件:fastestmirror, product-id, search-disabled-repos, subscription-manager
    
    This system is not registered with an entitlement server. You can use subscription-manager to register.
    
    Loading mirror speeds from cached hostfile
     * base: mirrors.aliyun.com
     * centos-sclo-rh: mirrors.aliyun.com
     * centos-sclo-sclo: mirrors.163.com
     * extras: mirrors.163.com
     * updates: mirrors.aliyun.com
    没有可用软件包 wordpress。
    错误:无须任何处理
    

     

    当出现这个提示的时候,Linux 是在告诉我们 yum 源中已经没有对应的安装包了,此刻需要我们安装 epel 。

    何为 epel ,全称为 Extra Packages for Enterprise Linux  企业版 Linux 额外包,需要我们更新下 epel 这个第三方库。

    [root@localhost share]# yum install -y epel-release

    接下来就可以成功使用 yum 进行相关包的下载~

  • 相关阅读:
    2
    1
    nginx隐藏版本号
    全面对比主流 .NET 报表控件 (转)
    前端的发展和未来趋势
    NPM初学者指南 (转)
    一文解读MySQL事务
    如何高效的学习技术
    重新统一的 .NET平台-.NET 5
    为啥要有微服务?啥是微服务?
  • 原文地址:https://www.cnblogs.com/xiaowei123/p/13087427.html
Copyright © 2011-2022 走看看