阿里云epel8源配置
1)安装epel配置包
dnf install -y https://mirrors.aliyun.com/epel/epel-release-latest-8.noarch.rpm
2)替换为阿里云的地址
sed -i 's|^#baseurl=https://download.example/pub|baseurl=https://mirrors.aliyun.com|' /etc/yum.repos.d/epel*
sed -i 's|^metalink|#metalink|' /etc/yum.repos.d/epel*
3)清除缓存
dnf clean all
dnf makecache
龙蜥AnolisOS8无法检索出epel的软件
dnf list all
没有看到epel网络源的软件包
解决方法需要启用epel源
dnf repolist all #列出所有的存储库
Repository epel is listed more than once in the configuration
AppStream AnolisOS-8 - AppStream 启用
BaseOS AnolisOS-8 - BaseOS 启用
DDE AnolisOS-8 - DDE 禁用
Plus AnolisOS-8 - Plus 禁用
PowerTools AnolisOS-8 - PowerTools 启用
epel epel 禁用
dnf config-manager --set-enable epel #启用epel源
dnf repolist epel #查看epel源的状态
Repository epel is listed more than once in the configuration
epel epel 启用
版权声明:本文内容来自CSDN:养了一只皮卡丘,遵循CC 4.0 BY-SA版权协议上原文接及本声明。
本作品采用知识共享署名-非商业性使用-禁止演绎 2.5 中国大陆许可协议进行可。
原文链接:https://blog.csdn.net/hyhxy0206/article/details/128202935
如有涉及到侵权,请联系,将立即予以删除处理。
在此特别鸣谢原作者的创作。
此篇文章的所有版权归原作者所有,与本公众号无关,商业转载建议请联系原作者,非商业转载请注明出处。