How To Enable A Repo Using Perl

Author: , September 4th, 2011

Normally, I have to specify the desired repo on the command line: yum –enablerepo=remi,remi-test install {package name here} To enable the Remi repo so you do not have to specify it on the command line: # perl -pi -e ‘s/enabled=0/enabled=1/g’ /etc/yum.repos.d/remi.repo To disable the Remi repo so you do not have to specify it on […]

How To Get yum To Use A Different Release Version

Author: , September 4th, 2011

/etc/yum.repos.d # yum –releasever=5 search {package name here}