CentOS 6.x和CentOS 7安装RPMforge

CentOS 6.x和CentOS 7安装RPMforge

从官网链接到,没有CentOS 7的链接,观察CentOS 4、5、6的链接的规律,猜测CentOS 7的包名为rpmforge-release-0.5.3-1.el7.rf.x86_64.rpm。

rpm --import
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

内容版权声明:除非注明,否则皆为本站原创文章。

转载注明出处:https://www.heiqu.com/16992.html