Thursday, 16 January 2014

Install RepoForge (RPMForge) Repository on RHEL, CentOS, Scientific Linux 6.x/5.x/4.x


Like EPELREMIRPM Fusion repositories, RepoForge, formerly known as RPMForge, is a third party repository that has collection of over 5000 software packages for RHEL and its derivatives like CentOS and Scientific Linux. In this handy tutorial, let us see how to add RepoForge repository on RHEL/CentOS/Scientific Linux 6.x, 5.x and 4.x versions. Here x refers the version numbers i.e. 6.1, 6.2, 6.3 etc.

1.    Install RepoForge On RHEL/CentOS/Scientific Linux 6 – 32 bit
Run the following commands to install RepoForge repository on 32 bit RHEL 6.x based systems.

# wget http://pkgs.repoforge.org/rpmforge-release/rpmforge-release-0.5.3-1.el6.rf.i686.rpm
# rpm -Uvh rpmforge-release-0.5.3-1.el6.rf.i686.rpm
2.    Install RepoForge On RHEL/CentOS/Scientific Linux 6 – 64 bit
Run the following commands to install RepoForge repository on 64 bit RHEL 6.x based systems.

# wget http://pkgs.repoforge.org/rpmforge-release/rpmforge-release-0.5.3-1.el6.rf.x86_64.rpm
# rpm -Uvh rpmforge-release-0.5.3-1.el6.rf.x86_64.rpm
3.    Install RepoForge On RHEL/CentOS/Scientific Linux 5 – 32 bit
Run the following commands to install RepoForge repository on 32 bit RHEL 5.x based systems.

# wget http://pkgs.repoforge.org/rpmforge-release/rpmforge-release-0.5.3-1.el5.rf.i386.rpm
# rpm -Uvh rpmforge-release-0.5.3-1.el5.rf.i386.rpm
4.    Install RepoForge On RHEL/CentOS/Scientific Linux 5 – 64 bit
Run the following commands to install RepoForge repository on 64 bit RHEL 5.x based systems.

# wget http://pkgs.repoforge.org/rpmforge-release/rpmforge-release-0.5.3-1.el5.rf.x86_64.rpm
# rpm -Uvh rpmforge-release-0.5.3-1.el5.rf.x86_64.rpm
5.    Install RepoForge On RHEL/CentOS/Scientific Linux 4 – 32 bit
Run the following commands to install RepoForge repository on 32 bit RHEL 4.x based systems.

# wget http://pkgs.repoforge.org/rpmforge-release/rpmforge-release-0.5.3-1.el4.rf.i386.rpm
# rpm -Uvh rpmforge-release-0.5.3-1.el4.rf.i386.rpm
6.    Install RepoForge On RHEL/CentOS/Scientific Linux 4 – 64 bit
Run the following commands to install RepoForge repository on 64 bit RHEL 4.x based systems.

# wget http://pkgs.repoforge.org/rpmforge-release/rpmforge-release-0.5.3-1.el4.rf.x86_64.rpm
# rpm -Uvh rpmforge-release-0.5.3-1.el4.rf.x86_64.rpm
7.    Import RepoForge GPG key
To import DAG’s GPG key for all RHEL/CentOS/Scientific Linux 6.x, 5.x, 4.x, enter the following command:

# rpm --import http://apt.sw.be/RPM-GPG-KEY.dag.txt
8.    Update the Repositories
After installing the RepoForge repository package, you have to update the repository lists using command:
# yum update

That’s it.


Repoforge has been added and enabled in RHEL 6.x/5.x/4.x systems.

No comments:

Post a Comment