Tuesday, January 07, 2014

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. For RHEL and CentOS users, install Repoforge repository is necessary as it contains many useful software packages that are not available in existing stock repositories.

This tutorial shows you how to install Repoforge repository.

To find out which release version of CentOS you are using:
$ cat /etc/redhat-release
CentOS release 6.5 (Final)

To check whether your OS is 32(i686) or 64 bit(x86_64):
$ uname -a
Linux localhost.localdomain 2.6.32-431.el6.x86_64 #1 SMP Fri Nov 22 03:15:09 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux

To install RPM forge on 32-bit OS:
CentOS 6.x:
$ sudo rpm -Uvh http://pkgs.repoforge.org/rpmforge-release/rpmforge-release-0.5.3-1.el6.rf.i686.rpm

CentOS 5.x:
$ sudo rpm -Uvh http://pkgs.repoforge.org/rpmforge-release/rpmforge-release-0.5.3-1.el5.rf.i386.rpm

To install RPM forge on 64-bit OS:
CentOS 6.x:
$ sudo rpm -Uvh http://pkgs.repoforge.org/rpmforge-release/rpmforge-release-0.5.3-1.el6.rf.x86_64.rpm

CentOS 5.x:
$ sudo rpm -Uvh http://pkgs.repoforge.org/rpmforge-release/rpmforge-release-0.5.3-1.el5.rf.x86_64.rpm

Once RPMforge is installed on your system, you can use yum to install all available packages from the Repoforge repo.

No comments: