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/Linux

Now 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.

Subscribe to Xmodulo

Do you want to receive Linux FAQs, detailed tutorials and tips published at Xmodulo? Enter your email address below, and we will deliver our Linux posts straight to your email box, for free. Delivery powered by Google Feedburner.

The following two tabs change content below.
Dan Nanni is the founder and also a regular contributor of He is a Linux/FOSS enthusiast who loves to get his hands dirty with his Linux box. He likes to procrastinate when he is supposed to be busy and productive. When he is otherwise free, he likes to watch movies and shop for the coolest gadgets.
Your name can also be listed here. Write for us as a freelancer.

One thought on “How to set up RPMforge (now called Repoforge) repository on CentOS

Leave a comment

Your email address will not be published. Required fields are marked *

Current ye@r *