How to Install EPEL Repository on RHEL, Rocky & AlmaLinux

In this article, you will learn how to install and enable the EPEL repository on RHEL-based Linux distributions to install additional standard open-source software packages by using YUM and DNF package manager.

What is EPEL

EPEL (Extra Packages for Enterprise Linux) is an open-source and free community-based repository project from the Fedora team which provides 100% high-quality add-on software packages for Linux distribution including RHEL (Red Hat Enterprise Linux), CentOS Stream, AlmaLinux, and Rocky Linux.

EPEL project is not a part of RHEL/CentOS but it is designed for major Linux distributions by providing lots of open-source packages like networking tools, sysadmin tools, programming, monitoring, and so on. Most of the EPEL packages are maintained by the Fedora repo.

Why Do We Use the EPEL Repository?

  1. Provides lots of open-source packages to install via Yum and DNF.
  2. Epel repo is 100% open source and free to use.
  3. It does not provide any core duplicate packages and has no compatibility issues.
  4. All EPEL packages are maintained by the Fedora repo.

How to Install EPEL Repository on RHEL 9 Systems

To install the EPEL repository on any RHEL-based distributions, log in to your server instance as a root user and run the commands as explained below as per your release version.

Install EPEL Repo on RHEL 9

# subscription-manager repos --enable codeready-builder-for-rhel-9-$(arch)-rpms
# dnf install https://dl.fedoraproject.org/pub/epel/epel-release-latest-9.noarch.rpm

Install EPEL Repo on CentOS Stream 9

# dnf config-manager --set-enabled crb
# dnf install epel-release epel-next-release

Install EPEL Repo on AlmaLinux 9

# dnf config-manager --set-enabled crb
# dnf install epel-release

How to Install EPEL Repository on RHEL 8 Systems

To install the EPEL repository on RHEL 8-based release systems, use:

Install EPEL Repo on RHEL 8

# subscription-manager repos --enable codeready-builder-for-rhel-8-$(arch)-rpms
# dnf install https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm

Install EPEL Repo on CentOS Stream 8

# dnf config-manager --set-enabled powertools
# dnf install epel-release

Install EPEL Repo on Rocky/AlmaLinux 8

# dnf config-manager --set-enabled powertools
# dnf install epel-release

How to Install EPEL Repository on RHEL 7 Systems

Install EPEL Repo on RHEL 7

# subscription-manager repos --enable rhel-*-optional-rpms \
                           --enable rhel-*-extras-rpms \
                           --enable rhel-ha-for-rhel-*-server-rpms
# yum install https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm

Install EPEL Repo on CentOS 7

# yum install epel-release

Install EPEL Repo on CentOS 6.x

# yum install epel-release

How Do I Verify EPEL Repo?

Now update the software packages and verify the installation of the EPEL repository using the following commands.

# yum update
# rpm -qa | grep epel
Verify Epel Repo Installation
Verify Epel Repo Installation

You can also verify that the EPEL repository is enabled on the system by listing all active repositories using the following command.

# yum repolist
List Yum Repositories
List Yum Repositories

To list the software packages that constitute the EPEL repository, run the command.

# dnf --disablerepo="*" --enablerepo="epel" list available
OR
# yum --disablerepo="*" --enablerepo="epel" list available
List Packages Available from Epel Repo
List Packages Available from Epel Repo

Alternatively, you can use the following grep command to search for individual package names as shown.

# yum --disablerepo="*" --enablerepo="epel" list available | grep 'htop'
OR
# dnf --disablerepo="*" --enablerepo="epel" list available | grep 'monitorix'
Search Packages in EPEL Repo
Search Packages in EPEL Repo

How Do I Use EPEL Repo to Install Packages?

Once the EPEL repository has been successfully installed, a package can be installed using the command.

# dnf --enablerepo="epel" install <package_name>
OR
# yum --enablerepo="epel" install <package_name>

For example, to search and install a package called htop – an interactive Linux process-viewer, run the following command.

# yum --enablerepo=epel info htop
Find Package Info
Find Package Info

Now, to install the Htop package, the command will be.

# yum --enablerepo=epel install htop
Install Package from Epel Repo
Install a Package from Epel Repo

Note: The EPEL configuration file is located under /etc/yum.repos.d/epel.repo.

Conclusion

In this article, you learned how to install the EPEL repository on RHEL-based distributions. We welcome you to try it out and share your feedback in the comment section below.

Ravi Saive
I am an experienced GNU/Linux expert and a full-stack software developer with over a decade in the field of Linux and Open Source technologies

Each tutorial at TecMint is created by a team of experienced Linux system administrators so that it meets our high-quality standards.

Join the TecMint Weekly Newsletter (More Than 156,129 Linux Enthusiasts Have Subscribed)
Was this article helpful? Please add a comment or buy me a coffee to show your appreciation.

206 thoughts on “How to Install EPEL Repository on RHEL, Rocky & AlmaLinux”

  1. Does the EPEL Repository stay around after the YUM Repository has reached EOL ??

    I am tired of depending on YUM and being left hanging after YUM reaches EOL, and then being forced to upgrade just to use Yum. Is EPEL a stable alternative to YUM?

    I use my server to solve problems. I’m not into computer systems development.

    I like using Centos, but I don’t like the frequency that new versions come out.

    Thanks,
    Jim

    Reply
  2. Trouble installing gdl on Centos 7 with epel-release, conflict with Python installed library. I updated Centos 7. Installed epel-release 7. when I run gdl is says the following:

    /bin/gdl
    /bin/gdl: relocation error: /bin/gdl: symbol _ZNK8wxWindow7IsShownEv, version WXU_3.0 not defined in file libwx_gtk3u_core-3.0.so.0 with link time reference
    
    Reply
  3. [root@mail mnt]# yum search epel-release
    

    Modular dependency problem:

    Problem: conflicting requests
    – nothing provides module(perl:5.26) needed by module perl-DBI:1.641:8010020191113222731:16b3ab4d-0.x86_64
    =================================== Name Exactly Matched: epel-release
    epel-release.noarch : Extra Packages for Enterprise Linux repository configuration
    [root@mail mnt]# yum info epel-release
    Modular dependency problem:

    Problem: conflicting requests
    – nothing provides module(perl:5.26) needed by module perl-DBI:1.641:8010020191113222731:16b3ab4d-0.x86_64
    Installed Packages
    Name : epel-release
    Version : 8
    Release : 8.el8
    Architecture : noarch
    Size : 32 k
    Source : epel-release-8-8.el8.src.rpm
    Repository : @System
    From repo : epel
    Summary : Extra Packages for Enterprise Linux repository configuration
    URL : http://download.fedoraproject.org/pub/epel
    License : GPLv2
    Description : This package contains the Extra Packages for Enterprise Linux (EPEL) repository
    : GPG key as well as configuration for yum.

    [root@mail mnt]# yum install epel-release
    Error: There are no enabled repositories in “/etc/yum.repos.d”, “/etc/yum/repos.d”, “/etc/distro.repos.d”.
    [root@mail mnt]#

    Reply
  4. I’m unable to install the epel file with the wget command, below is the error I get in my struggle to enable EPEL repo on my RHEL 7.4 server.

    Even though I have internet access on the box.

    --2019-11-19 15:37:19-- (try: 3) http://dl.fedoraproject.org/pub/epel/7/x86_64/e/epel-release-7-5.noarch.rpm
    Connecting to dl.fedoraproject.org (dl.fedoraproject.org)|209.132.181.23|:80... connected.
    HTTP request sent, awaiting a response... Read error (Connection timed out) in headers.
    Retrying
    .

    Any Troubleshooting tips for the above.

    Reply
    • @Abdul,

      Just install the EPEL using the following command.

      # rpm -Uvh https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm
      
      Reply
  5. I need help, please. I have attempted the install of the epel repo, it says it’s already there, but whenever I do a yum update, I get a bunch of these

    http://mirror.grid.uchicago.edu/pub/linux/epel/7/x86_64/repodata/repomd.xml.asc: [Errno 14] HTTP Error 404 - Not Found
    https://mirror.umd.edu/fedora/epel/7/x86_64/repodata/repomd.xml.asc: [Errno 14] HTTPS Error 404 - Not Found
    https://mirrors.sonic.net/epel/7/x86_64/repodata/repomd.xml.asc: [Errno 14] HTTPS Error 404 - Not Found
    https://muug.ca/mirror/fedora-epel/7/x86_64/repodata/repomd.xml.asc: [Errno 14] HTTPS Error 404 - Not Found
    https://ord.mirror.rackspace.com/epel/7/x86_64/repodata/repomd.xml.asc: [Errno 14] HTTPS Error 404 - Not Found
    http://mirror.nodesdirect.com/epel/7/x86_64/repodata/repomd.xml.asc: [Errno 14] HTTP Error 404 - Not Found
    https://mirror.steadfastnet.com/epel/7/x86_64/repodata/repomd.xml.asc: [Errno 14] HTTPS Error 404 - Not Found
    http://mirror.rnet.missouri.edu/epel/7/x86_64/repodata/repomd.xml.asc: [Errno 14] HTTP Error 404 - Not Found
    http://fedora-epel.mirror.lstn.net/7/x86_64/repodata/repomd.xml.asc: [Errno 14] HTTP Error 404 - Not Found
    https://d2lzkl7pfhq30w.cloudfront.net/pub/epel/7/x86_64/repodata/repomd.xml.asc: [Errno 14] HTTPS Error 404 - Not Found
    http://mirror.oss.ou.edu/epel/7/x86_64/repodata/repomd.xml.asc: [Errno 14] HTTP Error 404 - Not Found
    https://dfw.mirror.rackspace.com/epel/7/x86_64/repodata/repomd.xml.asc: [Errno 14] HTTPS Error 404 - Not Found
    https://mirror.dal.nexril.net/fedora-epel/7/x86_64/repodata/repomd.xml.asc: [Errno 14] HTTPS Error 404 - Not Found
    https://pubmirror2.math.uh.edu/fedora-buffet/epel/7/x86_64/repodata/repomd.xml.asc: [Errno 14] HTTPS Error 404 - Not Found

    I don’t actually see the files when I navigate to those locations separately. Can you help, please?

    Thank you!
    Sondra

    Reply
    • @Sondra,

      The following commands will fix this issue..

      # yum clean all
      # yum makecache
      # yum update
      

      If you still see errors, make sure to have repo_gpgcheck is set to 0 in yum.conf file for CentOS.

      Reply
      • Thank you! Turning off the repo gpg check worked. In regards to the security posture of epel, do you think they’ll fix it upstream, soon? Or do I need to get in on the Wednesday meeting to report that I think there’s a change that needs to be made?

        Reply
  6. Please, I keel seeing this error after enabling EPEL repository so I can be able to install “terminator”. How can I fix this?

    Preparing...                ########################################### [100%]
            package epel-release-6-8.noarch is already installed
    
    [root@federalreservebank ~]# yum repolist
    Loaded plugins: product-id, security, subscription-manager
    This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.
    Error: Cannot retrieve metalink for repository: epel. Please verify its path and try again
    
    Reply
  7. Very good article, but don’t you miss one step of editing epel.repo file. By default, the baseline has # at beginning need to uncomment it in order to work repository.

    Reply
  8. # yum -y install openvpn easy-rsa net-tools bridge-utils
    

    Loaded plugins: fastestmirror, langpacks
    Loading mirror speeds from cached hostfile
    * epel: del-repos.extreme-ix.org
    Package net-tools-2.0-0.17.20131004git.el7.x86_64 already installed and latest version
    Package bridge-utils-1.5-9.el7.x86_64 already installed and latest version
    Resolving Dependencies
    –> Running transaction check
    —> Package easy-rsa.noarch 0:3.0.3-1.el7 will be installed
    —> Package openvpn.x86_64 0:2.4.6-1.el7 will be installed
    –> Processing Dependency: libcrypto.so.10(OPENSSL_1.0.2)(64bit) for package: openvpn-2.4.6-1.el7.x86_64
    –> Processing Dependency: libpkcs11-helper.so.1()(64bit) for package: openvpn-2.4.6-1.el7.x86_64
    –> Processing Dependency: liblz4.so.1()(64bit) for package: openvpn-2.4.6-1.el7.x86_64
    –> Running transaction check
    —> Package lz4.x86_64 0:1.7.3-1.el7 will be installed
    —> Package openvpn.x86_64 0:2.4.6-1.el7 will be installed
    –> Processing Dependency: libcrypto.so.10(OPENSSL_1.0.2)(64bit) for package: openvpn-2.4.6-1.el7.x86_64
    —> Package pkcs11-helper.x86_64 0:1.11-3.el7 will be installed
    –> Finished Dependency Resolution
    Error: Package: openvpn-2.4.6-1.el7.x86_64 (epel)
    Requires: libcrypto.so.10(OPENSSL_1.0.2)(64bit)
    You could try using –skip-broken to work around the problem
    You could try running: rpm -Va –nofiles –nodigest
    [root@server ~]#

    Reply
  9. Please resolve my Issue.

    [root@static-host ~]# yum install cacti
    Loaded plugins: fastestmirror, langpacks
    Loading mirror speeds from cached hostfile
    * base: repo.inara.pk
    * epel: sg.fedora.ipserverone.com
    * extras: repo.inara.pk
    * updates: repo.inara.pk
    Resolving Dependencies
    –> Running transaction check
    —> Package cacti.noarch 0:1.1.19-2.el6 will be installed
    –> Processing Dependency: php-imap for package: cacti-1.1.19-2.el6.noarch
    –> Finished Dependency Resolution
    Error: Package: cacti-1.1.19-2.el6.noarch (epel)
    Requires: php-imap
    You could try using –skip-broken to work around the problem
    You could try running: rpm -Va –nofiles –nodigest

    Reply
    • @Anis,

      Try these following installation instructions to install Cacti on CentOS 6.

      Download latest epel-release rpm from

      # wget https://dl.fedoraproject.org/pub/epel/6/i386/epel-release-6-8.noarch.rpm
      

      Install epel-release rpm:

      # rpm -Uvh epel-release*rpm
      

      Install cacti rpm package:

      # yum install cacti
      
      Reply
  10. 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.

    Reply
  11. 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?

    Reply
  12. # git clone https://github.com/ansible/ansible.git --recursive
    Cloning into 'ansible'...
    

    fatal: unable to access ‘https://github.com/ansible/ansible.git/’: Peer reports incompatible or unsupported protocol version.

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

    Reply
    • @Manikandan,

      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!

      Reply
  13. Hi! All

    I am trying to Enable EPEL Repository in (_64 x86_64 x86_64 GNU/Linux)

    I am getting below erros please help me

    ThankQ

    # RHEL/CentOS 6 64-Bit ##

    # wget http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm

    # rpm -ivh epel-release-6-8.noarch.rpm

    [root@Bhargav Talla ~]# yum repolist

    Loaded plugins: product-id, refresh-packagekit, security, subscription-manager
    Updating certificate-based repositories.
    Error: Cannot retrieve metalink for repository: epel. Please verify its path and try again

    [root@Bhargav Talla ~]#

    [root@Bhargav Talla ~]# yum –enablerepo=epel info zabbix

    Loaded plugins: product-id, refresh-packagekit, security, subscription-manager
    Updating certificate-based repositories.
    Error: Cannot retrieve repository metadata (repomd.xml) for repository: epel. Please verify its path and try again

    [root@Bhargav Talla ~]# yum –enablerepo=epel install zabbix

    Loaded plugins: product-id, refresh-packagekit, security, subscription-manager
    Updating certificate-based repositories.
    Error: Cannot retrieve repository metadata (repomd.xml) for repository: epel. Please verify its path and try again

    Note: The epel configuration file is located under /etc/yum.repos.d/epel.repo.

    Reply
    • First clear Yum cache as shown.

      # yum clean all && yum makecache
      

      You may come across such error, after installing epel-release. The quick fix is to update your SSL certificates:

      # yum -y upgrade ca-certificates
      
      Reply
  14. I am having one doubt, in my interview interviewer asked that you configured yum server and you are having 3700 Packages in your local machine now you need to add extra 200 packages how?

    Please need help..

    Reply
    • @Rene,

      I totally agree both CentOS 4 and CentOS 5 are dead, even epel repository don’t have any packages for it, all links are dead. And also I have updated the article by removing CentOS 5 and 4 links.

      Reply
  15. unable install openstack in rhel 7…
    got error while installing ( #yum install openstack-packstack) :
    Error: Package: 1:openstack-packstack-10.0.1-1.el7.noarch (openstack-ocata)
    Requires: python-docutils
    You could try using –skip-broken to work around the problem
    You could try running: rpm -Va –nofiles –nodigest

    Kindly help …!!!!

    Reply
  16. Hi,

    I got an error after issuing this command: yum –enablerepo=epel install phpmyadmin
    Could you help me please?

    Error: Package: php-tcpdf-6.2.13-1.el6.noarch (epel)
    Requires: php-posix
    Error: Package: php-tcpdf-6.2.13-1.el6.noarch (epel)
    Requires: php-bcmath
    Error: Package: php-tcpdf-6.2.13-1.el6.noarch (epel)
    Requires: php-tidy
    Error: Package: phpMyAdmin-4.0.10.19-1.el6.noarch (epel)
    Requires: php-mbstring
    Error: Package: php-php-gettext-1.0.12-1.el6.noarch (epel)
    Requires: php-mbstring
    Error: Package: php-tcpdf-6.2.13-1.el6.noarch (epel)
    Requires: php-mbstring
    You could try using –skip-broken to work around the problem
    ** Found 1 pre-existing rpmdb problem(s), ‘yum check’ output follows:
    SECU_PROD-2-1.i386 has missing requires of /usr/bin/sh

    Reply
  17. Sir, I found error.

    This system is registered to Red Hat Subscription Management, but is not receiving updates. You can use subscription-manager to assign subscriptions.
    No package zabbix available.
    Error: Nothing to do

    what I do? please help me.

    Reply
  18. Nice, i was trying for packages for RHEL 7, it worked well for me.
    Thank you Ravi Saive. Also thanks to other for queries it helps others too.

    Reply
      • I am trying to install squid proxy in RHEL7 OS but the output it is giving is

        [root@localhost ~]# yum install squid*
        Loaded plugins: langpacks, product-id, subscription-manager
        This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.
        Existing lock /var/run/yum.pid: another copy is running as pid 3868.
        Another app is currently holding the yum lock; waiting for it to exit...
          The other application is: yum
            Memory :  34 M RSS (472 MB VSZ)
            Started: Wed Mar  8 08:27:53 2017 - 05:54 ago
            State  : Traced/Stopped, pid: 3868
        
        
        
        and before this error it was showing 
        
        failure: repodata/repomd.xml from squid: [Errno 256] No more mirrors to try.
        http://www1.ngtech.co.il/repo/centos/7Server/x86_64/repodata/repomd.xml: [Errno 14] HTTP Error 404 – Not Found
        

        How to resolve this issue to install squid proxy ?

        Reply
        • @Jaya,

          First remove the ngtech repo from /etc/yum.repos directory, then kill the yum with pkill command.

          # rm -rf /etc/yum.repos.d/ngetch.repo
          # pkill yum
          

          Then try to install squid with yum, I hope this time squid will install without any issues..

          Reply
  19. I got the error
    [root@jp1_redhat ansi]# yum repolist
    Loaded plugins: product-id, rhnplugin, security, subscription-manager
    This system is receiving updates from Red Hat Subscription Management.
    This system is receiving updates from RHN Classic or RHN Satellite.
    Error: xz compression not available
    [root@jp1_redhat ansi]#

    Reply
    • @Prakash,

      I think you’ve installed non-CentOS version of xz package, first remove it.

      # yum remove xz
      

      And then re-install from the default repositories as shown.

      # yum install xz
      

      I hope it will fix this issue…

      Reply
    • @Priya,

      Please add the DNS Name Servers in /etc/hosts file, if you don’t know DNS, then you can add following line to this file.

      nameserver 8.8.8.8
      
      Reply
  20. This no longer works if I enter the commands for installation on CentOS 7.
    # wget http://dl.fedoraproject.org/pub/epel/7/x86_64/e/epel-release-7-8.noarch.rpm
    # rpm -ivh epel-release-7-8.noarch.rpm
    The download works but then when ever I run yum I get this unknown repo message I do not know how to get rid of and I do not have access the the epel repo

    Loaded plugins: fastestmirror, langpacks
    epel/i386/metalink | 40 kB 00:00:00
    Could not parse metalink https://mirrors.fedoraproject.org/metalink?repo=epel-7&arch=i386 error was
    No repomd file

    One of the configured repositories failed (Unknown),
    and yum doesn’t have enough cached data to continue. At this point the only
    safe thing yum can do is fail. There are a few ways to work “fix” this:

    1. Contact the upstream for the repository and get them to fix the problem.

    2. Reconfigure the baseurl/etc. for the repository, to point to a working
    upstream. This is most often useful if you are using a newer
    distribution release than is supported by the repository (and the
    packages for the previous distribution release still work).

    3. Disable the repository, so yum won’t use it by default. Yum will then
    just ignore the repository until you permanently enable it again or use
    –enablerepo for temporary usage:

    yum-config-manager –disable

    4. Configure the failing repository to be skipped, if it is unavailable.
    Note that yum will try to contact the repo. when it runs most commands,
    so will have to try and fail each time (and thus. yum will be be much
    slower). If it is a very temporary problem though, this is often a nice
    compromise:

    yum-config-manager –save –setopt=.skip_if_unavailable=true

    File /var/cache/yum/i386/7/epel/metalink.xml does not exist

    Reply
  21. Pingback: EasyTAG: A Tool for Viewing and Editing Tags in Audio and Video Files
  22. IF Your graph is not showing just change the TIME ZONE under vi /etc/php.ini

    I faced the issue because my system time zone and cacti time is different .

    Reply
  23. @Ravi,
    I am not able to install Mysql on centos6.4 ??

    Getting Error
    sudo yum install mysql-server-5.5
    Loaded plugins: product-id, security, subscription-manager
    This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.
    Setting up Install Process
    No package mysql-server-5.5 available.
    Error: Nothing to do

    Reply
  24. Pingback: Nmon: Analyze and Monitor Linux System Performance
  25. After installing of
    [root@vkcdpl rpmfusion]# rpm -ivh epel-release-6-8.noarch.rpm
    warning: epel-release-6-8.noarch.rpm: Header V3 RSA/SHA256 Signature, key ID 0608b895: NOKEY
    Preparing… ########################################### [100%]
    1:epel-release ########################################### [100%]
    yum not working in my rhel 6
    [root@vkcdpl rpmfusion]# yum repolist
    Loaded plugins: product-id, refresh-packagekit, security, subscription-manager
    This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.
    Error: Cannot retrieve metalink for repository: epel. Please verify its path and try again
    [root@vkcdpl rpmfusion]# yum list
    Loaded plugins: product-id, refresh-packagekit, security, subscription-manager
    This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.
    Error: Cannot retrieve repository metadata (repomd.xml) for repository: epel. Please verify its path and try again

    kindly explain me

    Reply
  26. Pingback: SSHFS - Secure SHell FileSystem for Mounting Remote Filesystems
  27. Pingback: How to Setup RackTables, a Datacenter and Server Room Asset Management for Linux
  28. Pingback: How to Use 'Axel' as Download Accelerator to Speed Up FTP and HTTP Downloads
    • @Ameya,

      I totally agreed to your point, yes we should update the repository after installing to bring the software packages to latest version.

      Reply
  29. Pingback: Setting Up Real-Time Monitoring with 'Ganglia' for Grids and Clusters of Linux Servers
  30. Pingback: Smem - Reports Memory Consumption Per-Process and Per-User Basis in Linux
  31. Pingback: Install Latest Nodejs and NPM Version in Linux Systems
  32. 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

    Reply
  33. 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..

    Reply
  34. 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

    Reply
  35. Pingback: How to Install, Create and Manage LXC (Linux Containers) in RHEL/CentOS 7
  36. 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?

    Reply
    • @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
      
      Reply
  37. Pingback: Setting Up HTTPS With Let’s Encrypt SSL Certificate For Nginx On RHEL/CentOS 7/6
  38. Pingback: Setting Up OpenERP (Odoo) 9 With Nginx On RHEL/CentOS And Debian/Ubuntu
  39. Pingback: How to Install Alfresco Community Edition on RHEL/CentOS 7/6 and Debian 8
  40. Pingback: Install Docker and Learn Basic Container Manipulation in CentOS and RHEL 7/6 - Part 1
  41. Pingback: How to Optimize and Compress JPEG or PNG Images in Linux Commandline
  42. Pingback: How to Track Business or Personal Expenses Using GnuCash (Accounting Software) in Linux
  43. liblzma5-5.0.7-1.1.x86_64 has missing requires of libc.so.6(GLIBC_2.14)(64bit)
    rrdtool-1.5.4-3mgc30.x86_64 has missing requires of libc.so.6(GLIBC_2.14)(64bit)
    rrdtool-1.5.4-3mgc30.x86_64 has missing requires of libdbi.so.1()(64bit)
    rrdtool-1.5.4-3mgc30.x86_64 has missing requires of libffi.so.6()(64bit)
    rrdtool-1.5.4-3mgc30.x86_64 has missing requires of libpng16.so.16()(64bit)
    rrdtool-1.5.4-3mgc30.x86_64 has missing requires of libpng16.so.16(PNG16_0)(64bit)
    rrdtool-1.5.4-3mgc30.x86_64 has missing requires of librados.so.2()(64bit)
    rrdtool-1.5.4-3mgc30.x86_64 has missing requires of systemd
    rrdtool-1.5.4-3mgc30.x86_64 has missing requires of systemd
    rrdtool-1.5.4-3mgc30.x86_64 has missing requires of systemd
    systemd-units-217-11.1.mga5.x86_64 has installed conflicts initscripts (‘0’, ‘1.3.61’, ‘2’)
    systemd-units-217-11.1.mga5.x86_64 has missing requires of libc.so.6(GLIBC_2.14)(64bit)
    systemd-units-217-11.1.mga5.x86_64 has missing requires of libc.so.6(GLIBC_2.16)(64bit)
    systemd-units-217-11.1.mga5.x86_64 has missing requires of libc.so.6(GLIBC_2.17)(64bit)
    systemd-units-217-11.1.mga5.x86_64 has missing requires of liblzma.so.5(XZ_5.0)(64bit)
    systemd-units-217-11.1.mga5.x86_64 has missing requires of systemd = (‘0’, ‘217’, ‘11.1.mga5’)

    Reply
    • @Iqbal,

      On which distribution you’ve enabled EPEL and what version of EPEL? It seems you’ve installed wrong version of EPEL on wrong version of distribution.

      Reply
  44. Pingback: How to Install and Use 'yum-utils' to Maintain Yum and Boost its Performance
  45. This post is the top result in google search. Please, please, fix your instructions, which are far more complicated than necessary.

    The epel-release package is available in the default CentOS install. So there is no need to wget and install the package manually. There is no need for users to figure out if they have 32 or 64 bit version. The entire instruction, for Centos 6 and 7, is to run (as root):

    yum install epel-release

    That’s it.

    Reply
  46. Pingback: Fabric - Automate Your Linux Administration Tasks and Application Deployments Over SSH
  47. Pingback: How to Install and Configure RoundCube Webmail Client with Virtual Users in Postfix - Part 4
  48. Pingback: Unix/Linux:Install NCDU on Scientific from EPEL – Unix Questions
  49. Pingback: Installing and Configuring Django Web Framework with Virtual Environments in CentOS/Debian - Part 1
  50. Pingback: How to Monitor Progress of (Copy/Backup/Compress) Data using 'pv' Command
  51. Pingback: Powerline - Adds Powerful Statuslines and Prompts to Vim Editor and Bash Terminal
  52. Pingback: How to Impose High CPU Load and Stress Test on Linux Using 'Stress-ng' Tool
  53. Pingback: How to Access Linux Server Terminal in Web Browser Using 'Wetty (Web + tty)' Tool
  54. Pingback: How to Install and Configure OpenVPN Server with Linux and Windows Clients in RHEL/CentOS 7
  55. Pingback: Pssh - Execute Commands on Multiple Remote Linux Servers Using Single Terminal
  56. Pingback: Mosh Shell - A SSH Based Client for Connecting Remote Unix/Linux Systems
  57. Pingback: Mhddfs - Combine Several Smaller Partition into One Large Virtual Storage
  58. Pingback: How to Find and Remove Duplicate/Unwanted Files in Linux Using 'FSlint' Tool
  59. Pingback: fdupes - A Comamndline Tool to Find and Delete Duplicate Files in Linux
  60. Pingback: Setting Up Web Servers Load Balancing Using 'POUND' on RHEL/CentOS
  61. Pingback: Autojump - An Advanced 'cd' Command to Quickly Navigate Linux Filesystem
    • This is by far the simplest and best method to enable EPEL repos in RHEL/CentOS.

      I don’t know why the authors of this page insist on making it complicated.

      Reply
  62. 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.

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

      # yum clean all
      # yum makecache
      # yum update
      
      Reply
  63. Pingback: How to Install 'atop' to Monitor Logging Activity of Linux System Processes
  64. Pingback: How to Install and Configure 'Collectd' and 'Collectd-Web' to Monitor Server Resources in Linux
  65. 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.

    Reply
  66. Pingback: Conky - The Ultimate X Based System Monitor Application
  67. Pingback: How to Limit the Network Bandwidth Used by Applications in a Linux System with Trickle
  68. Pingback: How to Install Varnish Cache (Web Accelerator) in RHEL/CentOS/Fedora and Ubuntu/Debian
  69. Pingback: Protect Apache Against Brute Force or DDoS Attacks Using Mod_Security and Mod_evasive Modules
  70. Pingback: Install XCache to Accelerate and Optimize PHP Performance | iPlan
  71. Pingback: How to Install and Configure 'Ansible' Automation Tool for IT Management - Part 1
  72. Pingback: Siti Internet Aziendali » Backup su Linux con BackupPC
  73. 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.

    Reply
  74. Pingback: | Monit Linux (Process and Services Monitoring) Program
  75. Pingback: Rsnapshot:一款面向Linux远程文件系统备份工具 | 极客快报
  76. Error: Cannot retrieve repository metadata (repomd.xml) for repository: epel. Please verify its path and try again

    How to resolve this?

    Reply
  77. Pingback: Setting Up Mail Sender Quota | Some Random Notes
  78. Pingback: Setup nginx, php-fpm 5.6, mariadb on CentOS - TienLe's Blog
  79. Hello. Thank you for your effort in putting this together for everyone to learn from.

    One issue with the CentOS 7 instructions:

    Connecting to dl.fedoraproject.org (dl.fedoraproject.org)|209.132.181.25|:80… connected.
    HTTP request sent, awaiting response… 404 Not Found
    2014-09-26 08:08:53 ERROR 404: Not Found.

    Reply
  80. I want to install pymol and xmgrace on Centos 7 desktop, but unable to install. Please help me .

    [rahman@localhost Downloads]$ uname -a
    Linux localhost.btb.igloonet 3.10.0-123.6.3.el7.x86_64 #1 SMP Wed Aug 6 21:12:36 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux

    [rahman@localhost Downloads]$ rpm -q epel-release
    epel-release-7-2.noarch

    [rahman@localhost Downloads]$ yum –enablerepo=epel info pymol
    Loaded plugins: fastestmirror, langpacks
    Loading mirror speeds from cached hostfile
    * base: centos.excellmedia.net
    * elrepo: elrepo.mirrors.arminco.com
    * elrepo-extras: elrepo.mirrors.arminco.com
    * elrepo-testing: elrepo.mirrors.arminco.com
    * epel: epel.mirror.net.in
    * epel-debuginfo: epel.mirror.net.in
    * epel-source: epel.mirror.net.in
    * epel-testing: epel.mirror.net.in
    * epel-testing-debuginfo: epel.mirror.net.in
    * epel-testing-source: epel.mirror.net.in
    * extras: centos-hcm.viettelidc.com.vn
    * updates: http://ftp.cuhk.edu.hk
    Available Packages
    Name : pymol
    Arch : x86_64
    Version : 1.6.0
    Release : 2.20130620svn4032.el7
    Size : 6.6 M
    Repo : kbs-epel7
    Summary : PyMOL Molecular Graphics System
    URL : http://www.pymol.org
    License : MIT and BSD and ZPLv2.0 and Bitstream Vera and OFL
    Description : PyMOL is a molecular graphics system with an embedded Python
    : interpreter designed for real-time visualization and rapid
    : generation of high-quality molecular graphics images and
    : animations. It is fully extensible and available free to everyone
    : via the “Python” license. Although a newcomer to the field, PyMOL
    : can already be used to generate stunning images and animations
    : with ease. It can also perform many other valuable tasks (such as
    : editing PDB files) to assist you in your research.

    [rahman@localhost Downloads]$ sudo yum –enablerepo=epel install pymol

    ……
    …….
    —> Package python-numeric.x86_64 0:24.2-14.el7 will be installed
    —> Package python-pmw.noarch 0:1.3.2-9.el7 will be installed
    –> Finished Dependency Resolution
    Error: Package: pymol-1.6.0-2.20130620svn4032.el7.x86_64 (kbs-epel7)
    Requires: apbs
    You could try using –skip-broken to work around the problem
    You could try running: rpm -Va –nofiles –nodigest

    I tried with –skip-broken but pymol not opening openinig menu

    thanks
    rahman

    Reply
  81. wget is not working.

    I am getting following error. Please help

    HTTP request sent, awaiting response… 404 Not Found
    2014-09-18 14:07:35 ERROR 404: Not Found.

    Reply
  82. Pingback: Using Ansible for executing Oracle DBA tasks. | Frits Hoogland Weblog
  83. Pingback: How to Enable EPEL Repository for RHEL/CentOS 7.x/6.x/5.x | Duy's Blog
  84. Pingback: nothingOS » Enable repo on Centos
  85. hi after installation repo of then get this error

    Desktop]# yum repolist
    Loaded plugins: product-id, refresh-packagekit, security, subscription-manager
    This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.
    Error: Cannot retrieve metalink for repository: epel. Please verify its path and try again

    Reply
    • Please run the following command and post the output here. If you see epel-release, that means epel is installed correctly.

      # rpm -q epel-release
      
      Reply
  86. HELPME PLEASE!

    I have a redhat 5.5 i386, Perform all steps in this tutorial but when trying to install net-snmp gives me the following error:
    # Yum – enablerepo = net-snmp EPEL info
    Loaded plugins: rhnplugin, security
    / usr/lib/python2.4/xmllib.py: 9: DeprecationWarning: The module is obsolete xmllib. Use xml.sax instead.
    warnings.warn (“The xmllib module is obsolete. xml.sax Use instead.”, DeprecationWarning)
    There was an error communicating with RHN.
    RHN support will be disabled.

    Error Message:
    Service not enabled for system profile: “myserver.mydomain.com”
    Error Class Code: 31
    Error Class Info:
    This system does not have a valid entitlement for Red Hat Network.
    Please visit https://rhn.redhat.com/rhn/systems/SystemEntitlements.do
    or login at https://rhn.redhat.com, and from the “Your RHN” tab,
    select “Subscription Management” to enable RHN service for this system.
    Explanation:
    Your organization does not have enough entitlements to register this Management
    system to Red Hat Network. Please notify your organization administrator of this mistake.
    You should be able to register after this system frees your organization Existing
    purchases or additional entitlements. Additional entitlements May be Purchased by your
    organization administrator by logging into Red Hat Network and visiting
    the ‘Subscription Management’ page in the ‘Your RHN’ section of RHN.

    A common cause of this error code is due to having an Mistakenly setup
    Which is September Activation Key as the universal default. If an activation key is September
    on the account as a universal default, you can disable this key and retry to avoid
    Requiring a Management entitlement.
    Error: No matching Packages to list

    Reply
    • It seems your RedHat 5.5 system haven’t registered at RHN Network and it also indicates that your organization don’t have enough entitlements to register your server ot Red Hat Network. Please raise a ticket at RHN support team.

      Reply
    • It seems the command string you are using “# Yum – enablerepo = net-snmp EPEL info” isn’t correct (in comparison to the one provided in above screenshot), please check the same.

      Reply
  87. Pingback: 手贱Thinkpad T410 装 CentOS 7 | 进不了ILM的屌丝男
  88. Thanks for your tip here.

    I enabled my epel on my centos 6.4 box. Since we installed Oracle Linux the output looks different from what you post here.
    Is this ok ?

    [root@10 ~]# yum repolist
    Loaded plugins: security
    file:///media/OL6.4_x86_64/repodata/repomd.xml: [Errno 14] Could not open/read file:///media/OL6.4_x86_64/repodata/repomd.xml
    Trying other mirror.
    epel/metalink | 14 kB 00:00
    epel-source/metalink | 13 kB 00:00
    epel-source | 3.7 kB 00:00
    epel-source/primary_db | 1.7 MB 00:04
    repo id repo name status
    OL64 Oracle Linux 6.4 x86_64 3,628
    epel Extra Packages for Enterprise Linux 6 – x86_64 10,998
    epel-source Extra Packages for Enterprise Linux 6 – x86_64 – Source 0
    mongodb MongoDB Repository 196
    repolist: 14,822

    Reply
  89. /thx so much for the tutorial :) ..

    i’ve just remembered that we can append another repos because it’s linux :) ..

    i’ve stucked for about 1 month XD ..

    regards ..

    Reply
  90. Pingback: Linux 系统实时监控的瑞士军刀—Glances | Handhoop
  91. Pingback: Linux 系统实时监控的瑞士军刀–Glances | flyinweb's blog
  92. Pingback: Unison - An Ultimate Local/Remote File Synchronization Tool for Linux
  93. Pingback: Introduction to GlusterFS (File System) and Installation on RHEL/CentOS and Fedora
  94. Pingback: MultiTail - Monitor Multiple Files Simultaneously in a Single Linux Terminal
  95. I have configured EPEL on RHEL 32 bit, But php-snmp package not listing in my repo.

    [root@rhel1 yum.repos.d]# yum repolist
    Loaded plugins: product-id, subscription-manager
    Updating Red Hat repositories.
    epel/metalink | 4.7 kB 00:00
    ftp-repo | 1.3 kB 00:00 …
    repo id repo name status
    epel Extra Packages for Enterprise Linux 6 – i386 8,651
    ftp-repo ” FTP from 10.1.14.168″ 2,764
    repolist: 11,415
    ===========================================================

    [root@rhel1 yum.repos.d]# yum –enablerepo=epel info php-snmp
    Loaded plugins: product-id, subscription-manager
    Updating Red Hat repositories.
    Error: No matching Packages to list
    ===========================================================

    Urgent Help Needed…

    Thanks in advance

    Reply
  96. Pingback: Backing up a web server with Duplicity - The Vagabond Geek
  97. Pingback: Glances - An Advanced Real Time System Monitoring Tool for Linux
  98. Pingback: Rsnapshot (Rsync Based) - A Local/Remote File System Backup Utility for Linux
  99. Pingback: Shell In A Box - A Web-Based SSH Terminal to Access Remote Linux Servers
  100. After the installation of epel, commands like service, chkconfig, iptables and others have stopped working with an error that “command not found”. Now the only way to run these command is sbin/service. Any idea why?

    Reply
  101. Pingback: Suricata 1.4.4 Released - A Network Intrusion Detection, Prevention and Security Monitoring System
  102. Pingback: VnStat PHP: A Web Based Interface for Monitoring Network Bandwidth Usage
  103. Pingback: Install YouTube-DL - A Command Line Video Download Tool for Linux
  104. Pingback: Install Cacti on Centos/RHEL | Catatanku
  105. Pingback: Install Ajenti (A Web Based Control Panel) for Managing Linux Server
  106. Really nice article! It’s hard to install php-mcrypt extension to centos cause there’s no souce in default. It’s so easy with this. THANK YOU VERY MUCH!!!

    Reply
  107. Thank You. Really Awesome and elaborate Info. Thanks for pinpointing each and every point. Good Job. Keep it up.

    Wishes,
    Unni.

    Reply
  108. Pingback: Install Cacti (Network Monitoring) on RHEL/CentOS 6.x/5.x | I AM THE ROOT
  109. Pingback: Network Monitoring | AuctionPro

Got something to say? Join the discussion.

Thank you for taking the time to share your thoughts with us. We appreciate your decision to leave a comment and value your contribution to the discussion. It's important to note that we moderate all comments in accordance with our comment policy to ensure a respectful and constructive conversation.

Rest assured that your email address will remain private and will not be published or shared with anyone. We prioritize the privacy and security of our users.