CentOS 5
You should make sure that you have ProtectBase installed.
Protectbase
yum-protectbase is available in the CentOS 5 repositories:
yum install yum-protectbase
Plugins are enabled in CentOS 5 by default.
Edit the file /etc/yum.repos.d/CentOS-Base.repo and add the following line to the [base] and [update] and [centosplus] section:
protect=1
Leave the [centosplus] section disabled:
enabled=0
Edit /etc/yum.repos.d/CentOS-Base.repo and add the following line to the other sections
protect=0
rpmforge
Download the rpmforge-release package. Choose one of the two links below, depending on your architecture. If you are unsure of which one to use you can check your architecture with the command uname -i
-
i386 http://apt.sw.be/redhat/el5/en/i386/RPMS.dag/rpmforge-release-0.3.6-1.el5.rf.i386.rpm
-
x86_64 http://apt.sw.be/redhat/el5/en/x86_64/RPMS.dag/rpmforge-release-0.3.6-1.el5.rf.x86_64.rpm
(You can find a complete list of rpmforge-release package packages at http://dag.wieers.com/packages/rpmforge-release/ but it is recommended that you use one of the two listed above).
Install DAG's GPG key
rpm --import http://dag.wieers.com/rpm/packages/RPM-GPG-KEY.dag.txt
Verify the package you have downloaded
rpm -K rpmforge-release-0.3.6-1.el5.rf.*.rpm
Security warning: The rpmforge-release package imports GPG keys into your RPM database. As long as you have verified the package and trust Dag then it should be safe.
Install the package
rpm -i rpmforge-release-0.3.6-1.el5.rf.*.rpm
This will add a yum repository config file and import the appropriate GPG keys.
Test with this command:
yum check-update
It should output these two lines:
Loading "protectbase" plugin ... 76 packages excluded due to repository protections
The number above may differ, but there should be several packages shown as being excluded.
If so then it looks like things are working so try installing something like this
yum install mplayer
REFRENCEShttp://wiki.centos.org/Repositories/RPMForge#head-d766e7aacdee6150c6705d9369aa36c9bcabc139

Recent comments
2 weeks 6 days ago
16 weeks 4 days ago
16 weeks 6 days ago
16 weeks 6 days ago
28 weeks 2 days ago
32 weeks 3 days ago
33 weeks 4 days ago
1 year 1 week ago
1 year 1 week ago
1 year 5 weeks ago