Centos 5: Setting up RPMForge and updated repos

When setting up a new sever I like to have updated packages such as PHP 5.3 => etc which don’t ship with Centos 5′s default repos. So I normally end up adding RPM Forge and the Remi Repo.

To setup RPM forge you need to do the following:

Download the release you need i386 or x86_64

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

Install DAGs GPG Key – A GPG key is basically allows you to install a signed package.

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

Install the new package

 rpm -i rpmforge-release-0.5.2-2.el5.rf.*.rpm  

And there you have it. RPM Forge should be installed

To install remi you need to do the following:

wget -o /etc/yum.repos.d/remi.repo  http://rpms.famillecollet.com/enterprise/remi.repo

Then edit remi.repo and set:

 nano /etc/yum.repos.d/remi.repo

If you want to not enable Remi, but just use it as and when you do the following:

yum --enablerepo=remi install packagename 

Like this Article? Share it!

About the Author

Author Gravatar

Tom's a developer who has a love of all things technical. 7TB For the fileserver just isn't enough for him these days. You can usually find him buying things he doesn't need or watching Reading FC.

Related Posts

Leave a Comment