Adding CentOS 5 Extras Repository to a RHEL5 Yum Config

Add the following to a file called “/etc/yum.repos.d/centos-extras.repo” : [extras] name=CentOS-$releasever – Extras mirrorlist=http://mirrorlist.centos.org/?release=5.3&arch=$basearch&repo=extras #baseurl=http://mirror.centos.org/centos/5.3/extras/$basearch/ gpgcheck=0 gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-5 Now you can run yum install packagename...