Getting new packages from Centos Dev Repo

Certain newer packages like php 5.2 (actually this is not new) is still not available in the latest version of centos. If you are working with zend framework, you know you need the latest php version. What can you do? Install the dev repo.

create the file /etc/yum.repos.d/centos-test.repo
then append these lines to it

name=CentOS-5 Testing 

then disable the base and whatever repo you have in your yum command. for eg to update php in c5-testing repo

yum --disablerepo=rpmforge,base update php

Author: bpeh

Bernard Peh is a great passioner of web technologies and one of the co-founder of Website Design and Reviews. He works with experienced web designers and developers everyday, developing and designing commercial websites. He specialises mainly in SEO and PHP programming.