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. Get your own self-hosted blog with a Free Domain at ($3.45/month).
  4. Become a Supporter - Make a contribution via PayPal
  5. Support us by purchasing our premium books in PDF format.
  6. Support us by taking our online Linux courses

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.

RedHat RHCE and RHCSA Certification Book
Linux Foundation LFCS and LFCE Certification Preparation Guide

You may also like...

190 Responses

  1. Sumit Khera says:

    Sir, Please solve my problem.

    I am using RHEL7 inside the VMVare. I am getting the same error while enabling the EPEL repository.

    I have installed “epel-release-7-11.noarch”, Now i am updating my repository but i am not able to do it.

    I can’t use internet inside the VMVare.

    When i run command for enabling epel repository “yum update curl nss nss-util nspr” still it not able show repo of epel.

    When i run this command “yum-config-manager –enable epel” still after run that when i run yum repolist, still it not showing me desired result.

    Please solve my problem. So that i can use NRPE on my client machine.

    It would be helpful to me.

    • Ravi Saive says:


      Just type the following command to install epel from the default repositories.

      # yum install epel-release
  2. Kumar says:

    Nice article, If we do not have internet on the server. How can we install and configure *epel*? Suppose my desktop is windows and I’ll connect to the server through putty and my servers are in private network. Is there any possible way that we can download all epel rpms and do some kind of local repo config?

  3. Manikandan says:
    # git clone --recursive
    Cloning into 'ansible'...

    fatal: unable to access ‘’: Peer reports incompatible or unsupported protocol version.

    while get the repo from latest source we are getting the above error in redhat7.

    • Ravi Saive says:


      Some old NSS is used for SSL within cURL library when you download any package from the web, so it’s rejected. In such case, updating curl combined with nss update will help you..

      # yum update curl nss nss-util nspr

      Hope this helps!

Got something to say? Join the discussion.

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

This site uses Akismet to reduce spam. Learn how your comment data is processed.