yum No package xxx available

现象描述

# yum install epel-release
Loaded plugins: fastestmirror, langpacks
Loading mirror speeds from cached hostfile
No package epel-release available.
Error: Nothing to do

解决方法

wget http://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm
rpm -ivh epel-release-latest-7.noarch.rpm

检查是否安装成功

yum repolist

可以看到多了一个源

Extra Packages for Enterprise Linux 7 - x86_64

版权声明:
作者:Joe.Ye
链接:https://www.appblog.cn/index.php/2023/02/24/yum-no-package-xxx-available/
来源:APP全栈技术分享
文章版权归作者所有,未经允许请勿转载。

THE END
分享
二维码
打赏
海报
yum No package xxx available
现象描述 # yum install epel-release Loaded plugins: fastestmirror, langpacks Loading mirror speeds from cached hostfile No package epel-release avai……
<<上一篇
下一篇>>
文章目录
关闭
目 录