What is EPEL
epel (Extra Packages for Enterprise Linux) are open source and free community based repository project from Fe Dora team which provides 100% high quality add-on software packages for Linux distribution including RHEL (Red Hat ENTERPR Ise Linux), CentOS, and Scientific Linux. Epel project is not a part of Rhel/cent OS but it's designed for major Linux distributions by providing lots of open sour Ce packages like networking, SYS admin, programming, monitoring and so on. Most of the Epel packages is maintained by Fedora repo.
Why do we use EPEL repository?
Provides lots of open source packages to install via Yum.
Epel Repo is 100% open source and free to use.
It does not provide any core duplicate packages and no compatibility issues.
All Epel packages is maintained by Fedora Repo.
How to Enable EPEL Repository in Rhel/centos 7/6/5?
First, you need to download the file usingWgetAnd then install it usingRPMOn your system to enable the EPEL repository. Use below links based on your Linux OS versions. (Make sure-must be root user).
Rhel/centos 7 Bit
# # Rhel/centos 7 64-bit # # # wget http://dl.fedoraproject.org/pub/epel/7/x86_64/e/epel-release-7-5.noarch.rpm# RPM-IVH epel-release-7-5.noarch.rpm
Rhel/centos 6 32-64 Bit
# # Rhel/centos 6 32-bit # # # wget http://download.fedoraproject.org/pub/epel/6/i386/epel-release-6-8.noarch.rpm# rpm- IVH epel-release-6-8.noarch.rpm## Rhel/centos 6 64-bit # # # wget http://download.fedoraproject.org/pub/epel/6/x86_64/ epel-release-6-8.noarch.rpm# RPM-IVH epel-release-6-8.noarch.rpm
Rhel/centos 5 32-64 Bit
# # Rhel/centos 5 32-bit # # # wget http://download.fedoraproject.org/pub/epel/5/i386/epel-release-5-4.noarch.rpm# rpm- IVH epel-release-5-4.noarch.rpm## Rhel/centos 5 64-bit # # # wget http://download.fedoraproject.org/pub/epel/5/x86_64/ epel-release-5-4.noarch.rpm# RPM-IVH epel-release-5-4.noarch.rpm
Rhel/centos 4 32-64 Bit
# # Rhel/centos 4 32-bit # # # wget http://download.fedoraproject.org/pub/epel/4/i386/epel-release-4-10.noarch.rpm# rpm- IVH epel-release-4-10.noarch.rpm## Rhel/centos 4 64-bit # # # wget http://download.fedoraproject.org/pub/epel/4/x86_64/ epel-release-4-10.noarch.rpm# RPM-IVH epel-release-4-10.noarch.rpm
How does I Verify EPEL Repo?
You need to run the following command to verify, the EPEL repository is enabled. Once you ran, the command you'll see Epel repository.
# yum Repolist
Sample Output
Loaded plugins: downloadonly, fastestmirror, prioritiesloading mirror speeds from cached hostfile * base: centos.aol.in * epel: ftp.cuhk.edu.hk * extras: centos.aol.in * rpmforge: be.mirror.eurid.eu * updates: centos.aol.inReducing CentOS-5 Testing to included packages onlyfinished1469 packages excluded due to repository priority protectionsrepo id repo name statusbase CentOS-5 - Base 2,718+ 7epel extra packages for enterprise linux 5 - i386 4,320+ 1,408extras CentOS-5 - Extras 229+53rpmforge red hat enterprise 5 - RPMforge.net - dag 11,251repolist: 19,075
How does I use EPEL Repo?
You need to use the YUM command for searching and installing packages. For example we search for Zabbixthe package using Epel repo, lets see it's available or not under Epel.
# Yum--enablerepo=epel Info Zabbix
Sample Output
available packagesname : zabbixarch : i386version : 1.4.7release : 1.el5Size : 1.7 MRepo : epelSummary : Open-source monitoring solution for your IT infrastructureurl : http://www.zabbix.com/license : GPLDescription: ZABBIX is software that monitors Numerous parameters of a network.
let ' s Install zabbix package using Epel repo option –enablerepo=epel switch.
# yum --enablerepo=epel install zabbix
note : The Epel configuration file is located under /etc/yum.repos.d/epel.repo .
This is the can install as many as high standard open source packages using EPEL repo.
This article is from the "Sky Blue Star" blog, please be sure to keep this source http://jingkonglanxing.blog.51cto.com/1152128/1743756
Adding Epel feeds and easy-to-use tutorials