EPEL (Extra Packages for Enterprise Linux) is a third party RPM repository for Red Hat Enterprise Linux and CentOS. This article describes how to add the EPEL repository in Red Hat Enterprise Linux and CentOS 5 or 6.
The full link for the RHEL 6 EPEL package and the links for the lower versions of RHEL are provided below. The rpm command prior to RHEL 6 cannot handle http redirects so no bit.ly links have been provided.| URL | |
|---|---|
| 6 | http://download.fedoraproject.org/pub/epel/6/i386/epel-release-6-7.noarch.rpm |
| 5 | http://download.fedoraproject.org/pub/epel/5/i386/epel-release-5-4.noarch.rpm |

4. Edit the file /etc/yum.repos.d/epel.repo and add the line below under the [epel] section.
priority=10

5. Test your configuration using the command below. You should see a priority protections message in the output.
yum check-update
Visit the forum to ask for help or to give a comment.
***
Posted on 7/24/2011 and last updated on 6/21/2012
Filed under CentOS 5 , CentOS 6 , Red Hat Enterprise Linux 5 , Red Hat Enterprise Linux 6 , System Administration


