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 進行相關包的下載~

 


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM