Install / Enable EPEL Repository on RHEL, CentOS, Oracle Linux & Scientific Linux
EPEL stands for
Extra Packages for Enterprise Linux Which is developed and maintained by Fedora Special Interest Group.
They creates, maintains and manages a high quality set of additional packages for Enterprise Linux such as Red Hat Enterprise Linux (RHEL), CentOS, Scientific Linux (SL) & Oracle Enterprise Linux (OEL).
EPEL packages are based on Fedora Distribution where RHEL team test/implement new things before including RHEL. So, it will never conflict or replace core/base packages in the Enterprise Linux distributions.
It helps user to install, lot’s of valuable packages which was not shiped with official repository of Enterprise Linux, such as Red Hat Enterprise Linux (RHEL), CentOS, Scientific Linux (SL) & Oracle Enterprise Linux (OEL).
100% it Will work properly without any issues. It’s completely FREE. Check the link for list of package which is available in EPEL Repository. As of now the EPEL Repository supporting 6328 packages.
1) Enabling EPEL Repository in RHEL, CentOS, Scientific Linux & Oracle Linux
Visit the EPEL page and download the corresponding version of EPEL release based on your OS version then install it using rpm comamnd. That’s it.
EPEL Repository included in CentOS Extras repository & enabled by default. So we can easily install by running below command.
# yum install epel-release
[Install EPEL repo to RHEL 7/CentOS 7/Scientific Linux 7 (SL) & Oracle Linux 7 (OL)]
# yum install https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm
[Install EPEL repo to RHEL 6/CentOS 6/Scientific Linux 6 (SL) & Oracle Linux 6 (OL)]
# yum install https://dl.fedoraproject.org/pub/epel/epel-release-latest-6.noarch.rpm
[Install EPEL repo to RHEL 5/CentOS 5/Scientific Linux 5 (SL) & Oracle Linux 5 (OL)]
# rpm -Uvh https://dl.fedoraproject.org/pub/epel/epel-release-latest-5.noarch.rpm
2) How to check whether EPEL Repository Enabled or not
Run the below command to verify and confirm the EPEL Repository installed in your system.
# yum repolist Loaded plugins: fastestmirror, langpacks Loading mirror speeds from cached hostfile * base: centos.excellmedia.net * epel: mirror.nus.edu.sg * extras: centos.excellmedia.net * nux-dextop: li.nux.ro * updates: centos.excellmedia.net repo id repo name status !base/7/x86_64 CentOS-7 - Base 8,465 !epel/x86_64 Extra Packages for Enterprise Linux 7-x86_64 6,328 !extras/7/x86_64 CentOS-7 - Extras 75 !google-chrome google-chrome 3 !nux-dextop/x86_64 Nux.Ro RPMs for general desktop use 1,602 !updates/7/x86_64 CentOS-7 - Updates 1,127 repolist: 17,600
3) How to install package from EPEL Repository
You can install the package as usual with yum command because the EPEL Repository added into yum repo list /etc/yum.repos.d/. For lighttpd there is no direct package from RHEL. I already added EPEL Repository in my system. So, now i’m going to install lighttpd from EPEL Repository.
# yum install lighttpd or # yum --enablerepo=epel install lighttpd
4) How to Check whether the package is installed from EPEL Repository
Use the below command to check whether the package is installed from EPEL repo.
# yum info lighttpd Loaded plugins: fastestmirror, langpacks Loading mirror speeds from cached hostfile * base: centos.excellmedia.net * epel: mirror.nus.edu.sg * extras: centos.excellmedia.net * nux-dextop: li.nux.ro * updates: centos.excellmedia.net Installed Packages Name : lighttpd Arch : x86_64 Version : 1.4.35 Release : 1.el7 Size : 884 k Repo : installed From repo : epel Summary : Lightning fast webserver with light system requirements URL : http://www.lighttpd.net/ License : BSD Description : Secure, fast, compliant and very flexible web-server which has been optimized : for high-performance environments. It has a very low memory footprint compared : to other webservers and takes care of cpu-load. Its advanced feature-set : (FastCGI, CGI, Auth, Output-Compression, URL-Rewriting and many more) make : it the perfect webserver-software for every server that is suffering load : problems.
5) How to Check available packages in EPEL Repository
Use the below command to check list of packages are available in EPEL repo.
# yum --disablerepo="*" --enablerepo="epel" list available | more
Now, Everybody can install any third party opensource software without any trouble & conflict.