EPEL or “Extra Packages for Enterprise Linux” is an online yum repository providing high quality of rpm packages. These packages are developed and tested on fedora, which is available for RHEL. RHEL 7 beta packages are also available to install now.
- Add EPEL Repository
Download and install epel-release package as per your system version and architecture. Basically they provides noarch packages, which means they are architecture independent but still EPEL providing different packages to download. So you can download as per you choice.
For CentOS/RHEL 7:
# rpm -Uvh https://dl.fedoraproject.org/pub/epel/7/x86_64/e/epel-release-7-2.noarch.rpm
For CentOS/RHEL 6:
# rpm -Uvh http://epel.mirror.net.in/epel/6/i386/epel-release-6-8.noarch.rpm
# rpm -Uvh http://epel.mirror.net.in/epel/6/x86_64/epel-release-6-8.noarch.rpm
For CentOS/RHEL 5:
# rpm -Uvh http://epel.mirror.net.in/epel/5/i386/epel-release-5-4.noarch.rpm
# rpm -Uvh http://epel.mirror.net.in/epel/5/x86_64/epel-release-5-4.noarch.rpm
- Test EPEL Repository
Now check if your repository is working properly on your system. Execute following command to list all packages available in epel repository
# yum –disablerepo=* –enablerepo=epel list all