Adding Epel feeds and easy-to-use tutorials

Source: Internet
Author: User
Tags epel repo yum repolist

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?
    1. Provides lots of open source packages to install via Yum.

    2. Epel Repo is 100% open source and free to use.

    3. It does not provide any core duplicate packages and no compatibility issues.

    4. 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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.