How to Enable EPEL Repository for RHEL/CentOS 7.x/6.x/5.x

If You Appreciate What We Do Here On TecMint, You Should Consider:

  1. Stay Connected to: Twitter | Facebook | Google Plus
  2. Subscribe to our email updates: Sign Up Now
  3. Use our Linode referral link if you plan to buy VPS (it starts at only $10/month).
  4. Support us via PayPal donate - Make a Donation
  5. Support us by purchasing our premium books in PDF format.
  6. Support us by taking our online Linux course in 5 Days

We are thankful for your never ending support.

Ravi Saive

I am Ravi Saive, creator of TecMint. A Computer Geek and Linux Guru who loves to share tricks and tips on Internet. Most Of My Servers runs on Open Source Platform called Linux. Follow Me: Twitter, Facebook and Google+

Your name can also be listed here. Got a tip? Submit it here to become an TecMint author.

Receive Your Free Complimentary eBook NOW! -

Download Free Linux eBooks

Advanced Bash-Scripting Guide
Linux Bible
A Newbie's Getting Started Guide to Linux
Introduction to Linux - A Hands on Guide

You may also like...

131 Responses

  1. Nikhil says:

    Thanks a lot …
    I have try on RHEL6.0 x64 . but not able to refresh repo list. I got this error..
    [root@invoiceplane ~]# yum repolist
    Loaded plugins: refresh-packagekit, rhnplugin
    This system is not registered with RHN.
    RHN support will be disabled.
    Error: Cannot retrieve metalink for repository: epel. Please verify its path and try again

  2. sheetal says:

    I am not able to enable epel repo, I install package successfully but when i am run it as command.

    # yum repolist 
    

    I get following error,

    Loaded plugins: langpacks, product-id, subscription-manager
    This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.
    file:///media/repodata/repomd.xml: [Errno 14] curl#37 - "Couldn't open file /media/repodata/repomd.xml"
    Trying other mirror.
    file:///media/repodata/repomd.xml: [Errno 14] curl#37 - "Couldn't open file /media/repodata/repomd.xml"
    Trying other mirror.
    repo id                            repo name                              status
    001                                sheetalrepo                            0
    repolist: 0
    [root@localhost Desktop]# 
    

    Please help, I am beginner..

  3. Adi says:

    Hi Ravi,
    I’m using centos 6.7 and I’ve enable epel repository but I got a problem when install pacemaker and this error said :
    Error: Package: pacemaker-cluster-libs-1.1.12-8.el6_7.2.i686 (Update)
    Requires: libcoroipcc.so.4
    Available: corosynclib-1.4.7-2.el6.i686 (OS)
    libcoroipcc.so.4
    Installed: corosynclib-2.3.3-1.2.i686 (@haclustering)
    Not found
    Error: Package: pacemaker-cluster-libs-1.1.12-8.el6_7.2.i686 (Update)
    Requires: libcoroipcc.so.4(COROSYNC_COROIPCC_3.0)
    Available: corosynclib-1.4.7-2.el6.i686 (OS)
    libcoroipcc.so.4(COROSYNC_COROIPCC_3.0)
    Installed: corosynclib-2.3.3-1.2.i686 (@haclustering)
    Not found
    Error: Package: pacemaker-1.1.12-8.el6_7.2.i686 (Update)
    Requires: libcfg.so.4(COROSYNC_CFG_0.82)
    Available: corosynclib-1.4.7-2.el6.i686 (OS)
    libcfg.so.4(COROSYNC_CFG_0.82)
    Installed: corosynclib-2.3.3-1.2.i686 (@haclustering)
    Not found
    Error: Package: pacemaker-1.1.12-8.el6_7.2.i686 (Update)
    Requires: libconfdb.so.4
    Available: corosynclib-1.4.7-2.el6.i686 (OS)
    libconfdb.so.4
    Installed: corosynclib-2.3.3-1.2.i686 (@haclustering)
    Not found
    Error: Package: pacemaker-cli-1.1.12-8.el6_7.2.i686 (Update)
    Requires: libcfg.so.4
    Available: corosynclib-1.4.7-2.el6.i686 (OS)
    libcfg.so.4
    Installed: corosynclib-2.3.3-1.2.i686 (@haclustering)
    Not found
    I’ve searching in google but I can’t find solution. Any solution??
    Thank you and regards

  4. Jason says:

    For what it is worth….

    epel-release-7-5.noarch.rpm is no longer available.

    Use the following command:

    #wget http://dl.fedoraproject.org/pub/epel/7/x86_64/e/epel-release-7-6.noarch.rpm
    #rpm -ivh epel-release-7-6.norach.rpm

  5. xpt says:

    Hi Ravi,
    there is new rpm for RedHat/Centos 7: epel-release-7-6.noarch.rpm and 7.5 is not available anymore.
    Please update your link to: http://dl.fedoraproject.org/pub/epel/7/x86_64/e/epel-release-7-6.noarch.rpm

  6. raj says:

    i am installing ejabberd but it shows nothing to do ?

  7. Peter Chen says:

    After I have done the following commands, it fails to exec any yum commands:
    ## 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

    Error message:
    [root@localhost ~]#yum install http://rdo.fedorapeople.org/openstack-kilo/rdo-release-kilo.rpm
    Loaded plugins: fastestmirror

    Cannot open: http://rdo.fedorapeople.org/openstack-kilo/rdo-release-kilo.rpm. Skipping.
    Error: Nothing to do
    [root@localhost ~]#

    What’s the reason cause this and how to do troubleshooting this problem?

    • Ravi Saive says:

      @Peter,

      You doing a wrong way, here is the correct way to install rpm files directly on the fly from the command line.

      # rpm -ivh http://rdo.fedorapeople.org/openstack-kilo/rdo-release-kilo.rpm
      
  1. March 10, 2016

    […] proceeding with Odoo installation first assure that your system ships with packages provided by Epel repositories in order to install the backend PostgreSQL […]

  2. March 26, 2016

    […] 1. On the first step, in case you don’t have Nginx daemon already installed, issue the below commands with root privileges in order to install Nginx webserver from Epel repositories: […]

  3. April 4, 2016

    […] LXC virtualization is provided through Epel repositories. In order to use this repo, open a terminal and install Epel repositories in your system by issuing […]

Got something to say? Join the discussion.

Your email address will not be published. Required fields are marked *

Join Over 150K+ Linux Users
  1. 100,756
  2. 5,113
  3. 36,418

Enter your email to get latest Linux Howto's