CentOS RHEL Scientific Linux 6 Enable Install EPEL Repo

Back

Extra Packages for Enterprise Linux (or EPEL) is a Fedora Special Interest Group that creates, maintains, and manages a high quality set of additional packages for Enterprise Linux, including, but not limited to, Red Hat Enterprise Linux (RHEL), CentOS and Scientific Linux (SL). How do I enable it under CentOS 6 or RHLE 6 server?


You need to install the following rpms as per your Enterprise Linux version. Use the wget command to download rpm files.

If you are running an CentOS7/EL7 version, enter:

cd /tmp
wget https://dl.fedoraproject.org/pub/epel/7/x86_64/e/epel-release-7-9.noarch.rpm
rpm -ivh epel-release-7-5.noarch.rpm

If you are running an CentOS6/EL6 version, enter:

cd /tmp
wget https://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm
rpm -ivh epel-release-6-8.noarch.rpm

If you are running an CentOS5/EL5 version, enter:

cd /tmp
wget https://dl.fedoraproject.org/pub/epel/5/x86_64/epel-release-5-4.noarch.rpm
rpm -ivh epel-release-5-4.noarch.rpm