How To Install EPEL Repo on CentOS 7 and RHEL 7

In this article, we will explain you, How To Install EPEL Repo on CentOS 7 and RHEL 7.

What’s an ‘EPEL repository’?

The EPEL repository is managed by the EPEL group, which is a Special Interest Group within the Fedora Project. The ‘EPEL’ part is an abbreviation that stands for Extra Packages for Enterprise Linux. The EPEL group creates, maintains and manages a high quality set of additional packages. These packages may be software not included in the core repository, or sometimes updates which haven’t been provided yet. EPEL project is not a part of RHEL/Cent OS but it is designed for major Linux distributions by providing lots of open source packages like networking, sys admin, programming, monitoring and so on. Most of the epel packages are maintained by Fedora repo.

The EPEL repository can be used with the following Linux Distributions:

  • Red Hat Enterprise Linux (RHEL)
  • CentOS
  • Scientific Linux
  • Oracle Linux

If you are running a different supported distribution you can install the EPEL rep with the following method. Lets see How To Install EPEL Repo on CentOS 7 and RHEL 7

Please find the attached screenshot and verify that it’s already installed or not.

How To Install EPEL Repo on CentOS 7 and RHEL 7

Verify before EPEL release rpm installation

This method should also work on CentOS if you’d like to do a manual install. First start by running the following command:

#cd /tmp

Then download the epel-release rpm file for installation. The file download depends on what OS version you are using, select from the list bellow:

## RHEL/CentOS 7

# wget https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm

How To Install EPEL Repo on CentOS 7 and RHEL 7

Download the epel release rpm

Now, run the below command to install the epel-release rpm.

# rpm -ivh epel-release-latest-7.noarch.rpm

How To Install EPEL Repo on CentOS 7 and RHEL 7

EPEL rpm installation

OR

# yum install epel-release-latest-7.noarch.rpm

How To Install EPEL Repo on CentOS 7 and RHEL 7

EPEL Repo installation using yum

How Do I Verify EPEL Repo?

You need to run the below command to verify the epel repo installed or not.

# yum repolist

How To Install EPEL Repo on CentOS 7 and RHEL 7

yum repolist

 

Thanks for reading the post 🙂 . Please share and leave your comment if any.

Tagged , , , . Bookmark the permalink.

Comments are closed.