Installing the RPMForge repository in CentOS 5.6 in a few easy steps
Lots of how-tos require the additional RPMForge repo in CentOS. Adding it is quite simple.
NOTE: This example applies to the 64-bit version of CentOS 5.6. If you want the 32-bit version, you’ll have to get the rpmforge-release-0.5.2-2.el5.rf.i386.rpm package instead.
THE ACTUAL RECIPE
STEP 1
Open a shell session to your linux server, then run the following commands as root to dowload the RPM and validation key required for the repo:
wget http://packages.sw.be/rpmforge-release/rpmforge-release-0.5.2-2.el5.rf.x86_64.rpm
rpm --import http://apt.sw.be/RPM-GPG-KEY.dag.txt
STEP 2
Validate and install the RPMForge repository:
rpm -K rpmforge-release-0.5.2-2.el5.rf.x86_64.rpm
rpm -i rpmforge-release-0.5.2-2.el5.rf.x86_64.rpm
That’s it. Enjoy!