How To Install EPEL Repository On Centos 7

EPEL (Extra Packages for Enterprise Linux) is repository project from Fedora team that provides an easy access to install packages for commonly used software. EPEL project is not a part of RHEL/CentOS but it was designed for major Linux distributions. EPEL provides lots of open source packages like networking tools, sysadmin tools, programming, monitoring and other tools. Most of the EPEL packages are maintained by Fedora repo. At this article, we will discuss how to install EPEL on Centos 7.

There are several reasons why we use the EPEL Repository, namely :

  • All Epel repository is open source and free to use
  • EPEL provides so many open source packages that can be installed via Yum and DNF
  • No compatibility issues and no any core duplicate packages
  • All EPEL packages are maintained by Fedora repo.

EPEL Installation on Centos 7

At this section, we will briefly discuss how to install EPEL on centos, the installation process will be divided into several steps, as described below. The first step on installing EPEL is to ensure having a user with sudo privilige or root access to install packages, and an internet connection for downloading package sources.

The installation will use the CenTOS repository and usually called as CentOS Extras by default. EPEL installation will be starting by executing the commands line with sudo or root privilege.

[ramans@localhost ~]$ sudo yum search epel-release
how to install EPEL on Centos 7

Then we can query the EPEL information from our system by submitting yum info epel-release.

[ramans@localhost ~]$ sudo yum info epel-release

The EPEL installation process will be initiated by submitting yum install epel-release command. The output will be following.

[ramans@localhost ~]$ sudo yum install epel-release
EPEL installaton on CentOS7
EPEL installation

Verifying the EPEL installation by submitting the command below :

[ramans@localhost ~]$ sudo rpm -qa | grep epel
[ramans@localhost ~]$ sudo yum repolist
EPEL installation
Share this article via :

Leave a Reply

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