Posted 4 years ago
This guide will show you how to set up the Fedora Extra Packages for Enterprise Linux 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 epel-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://dl.fedoraproject.org/pub/epel/beta/7/x86_64/epel-release-7-0.1.noarch.rpm rpm -Uvh epel-release-7*.rpm
yum install http://dl.fedoraproject.org/pub/epel/beta/7/x86_64/epel-release-7-0.1.noarch.rpm
wget http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm rpm -Uvh epel-release-6*.rpm
yum install http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm
wget http://dl.fedoraproject.org/pub/epel/5/x86_64/epel-release-5-4.noarch.rpm rpm -Uvh epel-release-5*.rpm
yum install http://dl.fedoraproject.org/pub/epel/5/x86_64/epel-release-5-4.noarch.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/epel* /etc/yum.repos.d/epel.repo /etc/yum.repos.d/epel-testing.repo
You have now sucessfully installed the EPEL repo into your system.
I am a Web Developer and Linux System Administrator. I'm a Red Hat Enterprise Linux fan and use CentOS.