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

If you have any questions or problems regarding this article and want help within 24 Hours? Ask Now

Ravi Saive

Simple Word 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.

Receive Your Free Complimentary eBook NOW! -

Download Free Linux eBooks

Advanced Bash-Scripting Guide
Linux Bible
A Newbie's Getting Started Guide to Linux
Ubuntu Linux Toolbox: 1000+ Commands

You may also like...

85 Responses

  1. Scott Lockwood says:

    Why not just do:

    yum install epel-release

    which will pull the correct info right from the main repo’s?

  2. Jessica Morris says:

    I keep getting this when I try to install it on Centos7:
    epel-release-7-5.noarch.rpm: Permission denied
    Cannot write to ‘epel-release-7-5.noarch.rpm’ (Permission denied).
    I’m not sure how I can get permission to download it.

  3. Ariel Miranda says:

    I am getting this message from yum repolist:
    epel/primary_db | 20 MB 00:01
    http://mirror.ci.ifes.edu.br/epel/6/x86_64/repodata06fdcd0885b07462710fc206a438bb143580807569fd02723e08a681384996ad-primary.sqlite.bz2: [Errno -1] Metadata file does not match checksum

    • Ravi Saive says:

      @Ariel,
      Just run the following commands a root, it will clean yum repository cache.

      # yum clean all
      # yum makecache
      # yum update
      
  4. Tasbir says:

    Dear All

    I have configured a local EPEL repository in my network on RHEL6.2. I have many client servers with RHEL 6.x, 5.x, CentOS and Ubuntu. RHEL 6.x pcs get the EPEL repository from the local server successfully through ftp link in the epel.repo file as usual. But from the 5.x versions I get error as below:
    [root@sblftp133 pub]# yum list
    Loaded plugins: security
    Server | 951 B 00:00
    Server/primary | 1.0 MB 00:00
    Server 3100/3100
    epel | 1.3 kB 00:00
    epel/primary | 4.1 MB 00:12
    ftp://192.168.102.251/pub/epel/repodata/primary.xml.gz: [Errno -3] Error performing checksum
    Trying other mirror.
    epel/primary | 4.1 MB 00:12
    ftp://192.168.102.251/pub/epel/repodata/primary.xml.gz: [Errno -3] Error performing checksum
    Trying other mirror.
    Error: failure: repodata/primary.xml.gz from epel: [Errno 256] No more mirrors to try.

    Only my local repo is connected to internet but not others, so i am fully dependent on this repo. Is there any way to connect the repo with no dependency of RHEL version?
    Please help.

  5. Nawfal says:

    Thank you very much for the post.

    I’ve been trying to install packstack on a Centos 6.6 and have experienced some issues due to epel repo. Thanks to your last Note on the Sample OUTPUT I have enabled the repo list for all the other packages since this was tough to do it for all the packages, and it’s working. I can see all of the packages installing.

  6. Bhushan says:

    Thank you very mch sir!

  7. Kris says:

    Error: Cannot retrieve repository metadata (repomd.xml) for repository: epel. Please verify its path and try again

    How to resolve this?

  8. Paul says:

    The Centos 7 URL above is for the pre-release beta which is now incorrect. The following command worked for me:

    yum install -y http://dl.fedoraproject.org/pub/epel/7/x86_64/e/epel-release-7-2.noarch.rpm

  1. November 28, 2012

    […] you need to install and enable EPEL Repository. Once you’ve enabled repository, type the following command to install Cacti […]

  2. May 14, 2013

    […] you need to install and enable EPEL Repository. Once you’ve enabled repository, type the following command to install Cacti […]

  3. July 4, 2013

    […] Enable EPEL Repositories […]

  4. July 9, 2013

    […] you need to install and enable EPEL Repository. Once you’ve enabled repository, type the following command to install Cacti […]

  5. July 11, 2013

    […] youtube-dl program can be installed by enabling epel repository under your systems. Once enabled, you can install using ‘yum‘ package manager tool as […]

  6. July 19, 2013

    […] is a third party tool and can be installed via enabling epel repository under Red Hat based systems. Once you’ve enabled, you can install it using yum command as […]

  7. July 23, 2013

    […] Enable Fedora’s EPEL repository […]

  8. October 2, 2013

    […] Red Hat based distributions, you need to first have enable EPEL repository and then install it using the following “yum” command. (Fedora users don’t need […]

  9. October 31, 2013

    […] Install and Enable EPEL Repository in RHEL/CentOS 6/5/4 […]

  10. February 18, 2014

    […] it’s a very young utility, you can install “Glances” in Red Hat based systems by turning on EPEL repository and then run the following command on the […]

  11. February 23, 2014

    […] to install without doing this – I tried). There are detailed instructions on this page- you need to know if you have 32 or 64 bit Centos. If you’re not sure, […]

  12. March 3, 2014

    […] get MultiTail on Red Hat based distributions, you must turn on EPEL repository and then run the following command on the terminal to install […]

  13. March 11, 2014

    […] How to Enable EPEL Repository in RHEL/CentOS […]

  14. March 21, 2014

    […] enable EPEL repository and then install using the following […]

  15. April 3, 2014

    […] 虽然这个工具的发布比较晚,但你仍然可以在 Red Hat 系的系统中通过 EPEL 软件源安装。在终端用下面的命令安装: […]

  16. April 9, 2014

    […] 虽然这个工具的发布比较晚,但你仍然可以在 Red Hat 系的系统中通过 EPEL 软件源安装。在终端用下面的命令安装: […]

  17. July 19, 2014

    […] 参考: How to install the Nvidia proprietary driver in CentOS How to Enable EPEL Repository for RHEL/CentOS 7.x/6.x/5.x […]

  18. September 10, 2014
  19. September 14, 2014
  20. September 15, 2014

    […] If you are on one of the clones of RedHat Enterprise Linux (I use Oracle Linux), you simply need to add the EPEL repository to your yum source list, and […]

  21. October 21, 2014

    […] we can add Epel repository and install using remi and remi-php56 repos instead of the webtatic […]

  22. November 6, 2014

    […] EPEL repo enabled (instruction can be found here) […]

  23. November 30, 2014

    […] 首先,你得安装并启用名为EPEL的第三方软件库。请点击这个链接,在你的RHEL/CentOS系统下安装并启用第三方软件库。Fedora用户不需要任何特别的软件库配置。一旦你完成了设置工作,就可以从命令行来安装rsnapshot,如下所示。 […]

  24. December 2, 2014

    […] tool is not available from the system base repositories, you need to add and enable third party epel repository to install monit package under your RHEL/CentOS systems. Once you’ve added epel repository, […]

  25. January 12, 2015

    […] CentOS o Red Hat Enterprise Linux 6, per prima cosa dobbiamo abilitare il repository EPEL. Se invece si usa la versione 7, sarà necesessario abilitare il repository Nux Desktop. Fatto […]

  26. January 30, 2015

    […] Fedora users can directly install Ansible through default repository, but if you are using RHEL/CentOS 6, 7, you have to enable EPEL repo. […]

  27. February 6, 2015

    […] an Red Hat based distributions, can able to install XCache through a package manager by enabling epel repository. Once you’ve enabled epel repository, you can use the following yum command to install […]

  28. February 7, 2015

    […] addition to having a LAMP setup already in place, you will also have to enable the EPEL repository in RHEL/CentOS 7/6 in order to install both packages. Fedora users don’t need to enable any […]

  29. February 16, 2015

    […] CentOS and RHEL, you will need to enable the EPEL repository before installing […]

  30. February 25, 2015

    […] For RHEL/CentOS 7/6, enable the EPEL repository. Extra Packages for Enterprise Linux (EPEL) is a repository of high-quality free and open-source […]

  31. March 30, 2015

    […] Note: Before you install conky on Fedora/CentOS, you must have enabled EPEL repository. […]

  32. April 23, 2015

    […] older RedHat based systems like CentOS/Fedora, you first need to enable epel repository under your system, then you can able to install collectd package from the epel […]

  33. April 24, 2015

    […] you will need to enable epel repository under RHEL/CentOS/ systems, in order to install atop monitoring […]

  34. June 27, 2015

    […] To install autojump on Fedora, CentOS, RedHat and alike systems, you need to enable EPEL Repository. […]

  35. July 10, 2015

    […] Pound can be easily installed from the EPEL repository as shown […]

Leave a Reply

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

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>

Join Over 75000+ Linux Users
  1. 51334
  2. 2657
  3. 16705

Enter your email to get latest Linux Howto's