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

RSS
FACEBOOK
FACEBOOK
PINTEREST
PINTEREST
LINKEDIN
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 For 64 Bit

We will download the package with wget

We will install epel package with rpm command with root privileges by using sudo.

Add EPEL For CentOS and RedHat 6 For 32 Bit

We will download the package with wget

We will install epel package with rpm command with root privileges by using sudo.

Add EPEL For CentOS and RedHat 7 64 Bit

We will download the rpm for repository information.

We will install epel package with rpm command with root privileges by using sudo.

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. We will grep repositories those names contains epel word

LEARN MORE  Yum Repository Configuration For RedHat, CentOS and Fedora

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.

EPEL Repo Configuration File

EPEL Repo Configuration File

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. We need to use sudo for root privileges.

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
FACEBOOK
FACEBOOK
PINTEREST
PINTEREST
LINKEDIN
INSTAGRAM

Leave a Reply

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

Enjoy this blog? Please spread the word :)