Installing RPMforge Repository on CentOS 6

If you’re looking for a package on CentOS and can’t find in the main repos then there’s a good chance that you can find it, in the RPMforge repository.

RPMforge is a collaboration of packagers and is not part of Red Hat or CentOS but is designed to work with those distributions.

Download the rpmforge-release package:

I am using x86_64 server, so I will download the x86_64 package:

wget http://packages.sw.be/rpmforge-release/rpmforge-release-0.5.2-2.el6.rf.x86_64.rpm

Install DAG’s GPG key:

sudo rpm --import http://apt.sw.be/RPM-GPG-KEY.dag.txt

Verify the package you have downloaded:

sudo rpm -K rpmforge-release-0.5.2-2.el6.rf.*.rpm

Install the package:

sudo rpm -i rpmforge-release-0.5.2-2.el6.rf.*.rpm

Try to install some package, that failed before installing rpmforge repository:

Hope this will help you!