What is EPEL Repository and How To Enable For RedHat and CentOS

RSS
EMAIL
FACEBOOK
FACEBOOK
GOOGLE
GOOGLE
https://www.poftut.com/epel-repository-enable-redhat-centos/
PINTEREST
PINTEREST
INSTAGRAM

Extra Packages for Enterprise Linux a.k.a EPEL is open source and free community supported project by Fedora. EPEL provides high quality uptodate packages for its upstream distributions like RedHat, CentOS and Scientific Linux. EPEL is mainly provides yum and dnf based rpm packages.

Add EPEL Repository To CentOS and RedHat

First we need to add repository information to our system. As we know CentOS and RHEL are the same distributions so all commands will be the same.

Add EPEL For CentOS and RedHat 6 64 Bit

 

Add EPEL For CentOS and RedHat 6 32 Bit

 

Add EPEL For CentOS and RedHat 7 64 Bit

We will download the rpm for repository information.

and install the rpm.

Add EPEL Repository To CentOS and RedHat
Add EPEL Repository To CentOS and RedHat

Verify EPEL Repo

We can use yum repolist command in order to list currently active repositories where EPEL will be listed too.

Verify EPEL Repo
Verify EPEL Repo

EPEL Repo Configuration File

Epel repository information is stored in /etc/yum.repos.d/epel.repo . We can list is with the following command.

Disable Epel Repository

We can disable EPEL repository from its configuration file just changing enabled=1 to the enabled=0 or run following yum command.

Disable Epel Repository
Disable Epel Repository

Enable EPEL Repository

We can also enable disabled EPEL repository with the yum-config-manager command like below.

RSS
EMAIL
FACEBOOK
FACEBOOK
GOOGLE
GOOGLE
https://www.poftut.com/epel-repository-enable-redhat-centos/
PINTEREST
PINTEREST
INSTAGRAM

Leave a Reply

Your email address will not be published.