How to set up RPMforge (now called Repoforge) repository on CentOS
Repoforge, previously known as RPMforge, maintains a repository of RPM packages for Red Hat Enterprise Linux (RHEL), CentOS and Scientific Linux. If you are a RHEL or CentOS user, I strongly suggest you set up Repoforge repository on your system, as it contains many useful software packages that are not available in existing stock repositories.
In order to set up Repoforge repository on CentOS, you first need to know the version of your CentOS as well as the underlying process architecture.
To find out which release version of CentOS you are using:
$ cat /etc/RedHat-release
CentOS release 6.3 (Final)To check whether your CentOS is 32-bit (i.e., i686) or 64-bit (i.e., x86_64) based:
$ uname -a
Linux centos.domain 2.6.32-279.el6.x86_64 #1 SMP Fri Jun 22 12:19:21 UTC 2012 x86_64 x86_64 x86_64 GNU/LinuxNow that you know enough about your CentOS system, let's go ahead and install RPMforge on CentOS.
For 32-bit CentOS 6.*:
$ sudo rpm -Uvh
For 64-bit CentOS 6.*:
$ sudo rpm -Uvh
For 32-bit CentOS 5.*:
$ sudo rpm -Uvh
For 64-bit CentOS 5.*:
$ sudo rpm -Uvh
Once RPMforge is installed on your system, you can use yum to install all available packages from the Repoforge repo.