Installing the rpmforge yum repository on CentOS 5 is really easy. Follow the simple steps below and the rpmforge repo will be installed in seconds.
- Verify 32 Bit or 64 Bit: Verify if your server is 32 bit or 64 bit. Use this Question-Defense.com article to verify if your system is 32-bit or 64-bit.
- Install RPMFORGE: Verify the latest release of the rpmforge directory here.
- [root@server ~]#rpm -Uhv http://apt.sw.be/redhat/el5/en/i386/rpmforge/RPMS/rpmforge-release-0.3.6-1.el5.rf.i386.rpm
- [root@server ~]#rpm -Uhv http://apt.sw.be/redhat/el5/en/x86_64/rpmforge/RPMS//rpmforge-release-0.3.6-1.el5.rf.x86_64.rpm
32 Bit System:
64 Bit System:
This will install a file (rpmforge.repo) in /etc/yum.repos.d and a rpm-gpg key in /etc/pki/rpm-gpg. The rpmforge repo will now be included when installing and updating files using yum. To turn it off simply edit /etc/yum.repos.d/rpmforge.repo and set enabled to 0.