RPMforge repository is a utility that is used to install third party software packages under Red Hat Enterprise Linux (RHEL) and Community ENTerprise Operating System (CentOS). It provides more than 5000 software packages in the rpm format for these Linux distributions.

RPMforge repository not a part of RHEL or CentOS but it is designed to work with these operating systems. The complete list of packages can be fount at https://pkgs.repoforge.org/ .

You’ll need to add RPMFORGE repository to your list of repositories, but first let’s identify our CPU architecture (32bit or 64bit) by using the command ‘uname -r’.

We have provided both results using uname command on a 32 bit and 64 bit system. The 32 bit system will show i686 i686 i386 GNU/Linux at the end of the output line while on a 64 bit the server will show x86_64 x86_64 x86_64 GNU/Linux at the end of the output line. So, it’s very easy to verify whether a system is 32 or 64 bit using “uname -a” command from the command line shell.

32 bit CentOS/RHEL:

# uname -r

Linux geek-kb.com 2.6.32-279.5.2.el6.i686 #1 SMP Mon Nov 18 20:16:48 UTC 2013 i686 i686 i386 GNU/Linux

64 bit CentOS/RHEL:

# uname -r

Linux geek-kb.com 2.6.32-279.5.2.el6.i686 #1 SMP Mon Nov 18 20:16:48 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux

Installing RPM Forge Repository in RHEL/CentOS 6/5/4 :

For RHEL/CentOS 6 32-64 Bit:

## RHEL/CentOS 6 32 Bit OS ##
# wget https://packages.sw.be/rpmforge-release/rpmforge-release-0.5.2-2.el6.rf.i686.rpm
# rpm -Uvh rpmforge-release-0.5.2-2.el6.rf.i686.rpm

## RHEL/CentOS 6 64 Bit OS ##
# wget https://packages.sw.be/rpmforge-release/rpmforge-release-0.5.2-2.el6.rf.x86_64.rpm
# rpm -Uvh rpmforge-release-0.5.2-2.el6.rf.x86_64.rpm

 For RHEL/CentOS 5 32-64 Bit:

## RHEL/CentOS 5 32 Bit OS ##
# wget https://packages.sw.be/rpmforge-release/rpmforge-release-0.5.2-2.el5.rf.i386.rpm
# rpm -Uvh rpmforge-release-0.5.2-2.el5.rf.i386.rpm

## RHEL/CentOS 5 64 Bit OS ##
# wget https://packages.sw.be/rpmforge-release/rpmforge-release-0.5.2-2.el5.rf.x86_64.rpm
# rpm -Uvh rpmforge-release-0.5.2-2.el5.rf.x86_64.rpm

For RHEL/CentOS 4 32-64 Bit:

## RHEL/CentOS 4 32 Bit OS ##
# wget https://packages.sw.be/rpmforge-release/rpmforge-release-0.5.2-2.el4.rf.i386.rpm
# rpm -Uvh rpmforge-release-0.5.2-2.el4.rf.i386.rpm

## RHEL/CentOS 4 64 Bit OS ##
# wget https://packages.sw.be/rpmforge-release/rpmforge-release-0.5.2-2.el4.rf.x86_64.rpm
# rpm -Uvh rpmforge-release-0.5.2-2.el4.rf.x86_64.rpm

Note : The repository will be installed under /etc/yum.repos.d directory as a file rpmforge.repo.

Importing RMP forge Repository Key in RHEL/CentOS 6/5/4

Next, you’ll need to download and install DAG’s GPG key for your system.

# wget https://dag.wieers.com/rpm/packages/RPM-GPG-KEY.dag.txt
# rpm --import RPM-GPG-KEY.dag.txt

Note : The imported GPG key stored under /etc/pki/rpm-gpg directory as a file RPM-GPG-KEY-rpmforge-dag.

Installing Packages using RPMForge Repository in RHEL/CentOS 6/5/4

Let install something using RPM FORGE repository:

# yum --enablerepo=rpmforge install htop
How To: Install RPMFORGE repository in RHEL/CentOS 4/5/6 - Geek-KB.com

How To: Install RPMFORGE repository in RHEL/CentOS 4/5/6

Example for a tool which as far as I know can be downloaded only from there is htop .

You can find more info about htop in my article Changing Linux top tool to htop .

 

I hope you liked my guide, feel free to leave comments!

Comments

comments