Posted 4 years ago
This guide will show you how to set up the Remi repo for CentOS which contains many additional rpm's for software alongside a lot newer versions of popular software.
To start with we will need to download and install the remi-release rpm, this can be done in two ways, using wget to download it locally before installing, or using yum to directly install it from the web.
wget http://rpms.famillecollet.com/enterprise/remi-release-6.rpm rpm -Uvh remi-release-6.rpm
yum install http://rpms.famillecollet.com/enterprise/remi-release-6.rpm
wget http://rpms.famillecollet.com/enterprise/remi-release-5.rpm rpm -Uvh remi-release-5.rpm
yum install http://rpms.famillecollet.com/enterprise/remi-release-5.rpm
Once you have installed the new repos you should see some new files in the /etc/yum.repos.d directory.
$ ls -1 /etc/yum.repos.d/remi* /etc/yum.repos.d/remi.repo
You have now sucessfully installed the Remi repo into your system. You can either edit the repo file and enable the repo, however this will overwrite all the offical rpms, or you can use the following command to enable the remi repo when using yum.
yum --enablerepo=remi install [package_name]
I am a Web Developer and Linux System Administrator. I'm a Red Hat Enterprise Linux fan and use CentOS.