CentOS 6.x和CentOS 7安装RPMforge

CentOS 6.x和CentOS 7安装RPMforge

从官网http://repoforge.org链接到http://wiki.centos.org/AdditionalResources/Repositories/RPMForge,没有CentOS 7的链接,观察CentOS 4、5、6的链接的规律,猜测CentOS 7的包名为rpmforge-release-0.5.3-1.el7.rf.x86_64.rpm。

rpm --import http://apt.sw.be/RPM-GPG-KEY.dag.txt
rpm -K rpmforge-release-0.5.3-1.el7.rf.x86_64.rpm
rpm -i rpmforge-release-0.5.3-1.el7.rf.x86_64.rpmrpmforge的repo文件已经在目录/etc/yum.repos.d/下,禁掉rmpforge的repo:

enabled = 0
yum install * --enablerepo=rpmforge

done! ^_^

相关推荐