CentOS alternate repos

While CentOS is great, sometimes you want more recent versions of programs, particularly LAMP stack. Here are some ways to do that via yum:

epel and remi: (see here)

wget http://download.fedora.redhat.com/pub/epel/5/x86_64/epel-release-5-4.noarch.rpm
or: http://download.fedora.redhat.com/pub/epel/6/x86_64/epel-release-6-5.noarch.rpm
wget http://rpms.famillecollet.com/enterprise/remi-release-VER#(5|6).rpm
rpm -Uvh remi-release-*.rpm epel-release-*.rpm

ius community:

wget http://dl.iuscommunity.org/pub/ius/stable/Redhat/5/x86_64/ius-release-1.0-6.ius.el5.noarch.rpm
wget http://dl.iuscommunity.org/pub/ius/stable/Redhat/5/x86_64/epel-release-1-1.ius.el5.noarch.rpm
or
http://dl.iuscommunity.org/pub/ius/stable/Redhat/6/x86_64/epel-release-6-5.noarch.rpm
http://dl.iuscommunity.org/pub/ius/stable/Redhat/6/x86_64/ius-release-1.0-8.ius.el6.noarch.rpm
 
 
sudo rpm -Uvh ius-release*.rpm epel-release*.rpm
sudo yum install yum-plugin-replace

search for existing repos and replace

yum update
yum install [standard utils (gcc, rsync, subversion)]
rpm -qa | grep mysql
yum replace mysql --replace-with mysql55
yum install mysql55-server mysql55-devel

Leave a Reply