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, it is strongly recommended to set up Repoforge repository on your system, as it contains many useful software packages that are not available in existing stock repositories.
The configuration of Repoforge is not so difficult. Here in this article we will try to do it.
In this article, we will use CentOS 6.3 as example machine.
In order to enable Repoforge repository on your CentOS system, you need to check CentOS version. Though we said earlier that we use CentOS 6.3, you can also check your CentOS version by running the following command.
You should also check your architecture, whether 32-bit (i.e., i686) or 64-bit (i.e., x86_64) based:
The configuration would depend on your version.
For 32-bit CentOS 6.*:
sudo rpm -Uvh http://pkgs.repoforge.org/rpmforge-release/rpmforge-release-0.5.3-1.el6.rf.i686.rpm
For 64-bit CentOS 6.*:
sudo rpm -Uvh http://pkgs.repoforge.org/rpmforge-release/rpmforge-release-0.5.3-1.el6.rf.x86_64.rpm
For 32-bit CentOS 5.*:
sudo rpm -Uvh http://pkgs.repoforge.org/rpmforge-release/rpmforge-release-0.5.3-1.el5.rf.i386.rpm
For 64-bit CentOS 5.*:
sudo rpm -Uvh http://pkgs.repoforge.org/rpmforge-release/rpmforge-release-0.5.3-1.el5.rf.x86_64.rpm
Once repoforge ins installed, you can use yum to install all available packages from the repoforge repo.centos, linux