What is RPMforge and why should I bother adding it ?
RPMforge is a collaboration of Dag and other packagers. They provide over 5000 packages for CentOS, including wine, vlc, mplayer, xmms-mp3, and other popular media tools. It is not part of Red Hat or CentOS but is designed to work with those distributions.
Third party repositories like RPMforge increase the amount of available software you can install with your distributions package manager. The instructions you are about to read are both applicable to CentOS and Scientific Linux.
First install Wget since it doesn’t come installed by default in most systems, Wget will be responsible for downloading the required .RPM file for the repository.
yum install wget
Verify System Architecture
RPMforge is available for 32-bit(i686) and 64-bit(x86_64) architectures, if you don’t know the architecture type of the system in which you are planning to install RPMforge you can use the uname command.
Linux localhost.localdomain 2.6.32-220.el6.x86_64 #1 SMP Sat Dec 10 17:04:11 CST 2011 x86_64 x86_64 x86_64 GNU/Linux
RPMforge for CentOS 6 and Scientific Linux 6 32-bit
cd /tmp/ wget http://pkgs.repoforge.org/rpmforge-release/rpmforge-release-0.5.2-2.el6.rf.i686.rpm rpm -ivh rpmforge-release-0.5.2-2.el6.rf.i686.rpm
RPMforge for CentOS 6 and Scientific Linux 6 64-bit
cd /tmp/ wget http://pkgs.repoforge.org/rpmforge-release/rpmforge-release-0.5.2-2.el6.rf.x86_64.rpm rpm -ivh rpmforge-release-0.5.2-2.el6.rf.x86_64.rpm
RPMforge for CentOS 5 and Scientific Linux 5 32-bit
cd /tmp/ wget http://pkgs.repoforge.org/rpmforge-release/rpmforge-release-0.5.2-2.el5.rf.i386.rpm rpm -ivh rpmforge-release-0.5.2-2.el5.rf.i386.rpm
RPMforge for CentOS 5 and Scientific Linux 5 64-bit
cd /tmp/ wget http://pkgs.repoforge.org/rpmforge-release/rpmforge-release-0.5.2-2.el5.rf.x86_64.rpm rpm -ivh rpmforge-release-0.5.2-2.el5.rf.x86_64.rpm
RPMForge should help expand the amount of available software your installation can access when looking for a package to install.
[root@localhost tmp]# yum install lighttpd Loaded plugins: security Setting up Install Process Resolving Dependencies --> Running transaction check ---> Package lighttpd.x86_64 0:1.4.28-2.el6.rf will be installed --> Finished Dependency Resolution Dependencies Resolved ========================================================================================== Package Arch Version Repository Size ========================================================================================== Installing: lighttpd x86_64 1.4.28-2.el6.rf rpmforge 706 k Transaction Summary ========================================================================================== Install 1 Package(s) Total download size: 706 k Installed size: 2.8 M Is this ok [y/N]:
If you don’t like to install from source, then RPMForge is a must. Installation takes just a few minutes, but the convenience is worth it.