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
Kod:
uname -i
then type following command
Kod:
rpm -Uhv http://packages.sw.be/rpmforge-release/rpmforge-release-0.3.6-1.el5.rf.i386.rpm
If you are using a different architecture check on
https://rpmrepo.org/RPMforge/Using for the correct rpm
For Centos x86_64 use this link:
http://packages.sw.be/rpmforge-release/ ... x86_64.rpm
use the following command...
Kod:
rpm -Uhv http://packages.sw.be/rpmforge-release/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).
Disable the repo (such that base packages not overwritten) edit /etc/yum.d/rpmforge.repo
Kod:
vim /etc/yum.repos.d/rpmforge.repo
and set the following option:
Kod:
enabled = 0