Why use EPEL repository?

  • Provides lots of open source packages to install via Yum.
  • Epel repo is 100% open source and free to use.
  • It does not provide any core duplicate packages and no compatibility issues.
  • All epel packages are maintained by Fedora repo.

Enable EPEL repository

First, you need to download the file using Wget and then install it using RPM on your system to enable the EPEL repository. Use below links based on your Linux OS versions. Make sure you must be root user).

RHEL/CentOS 7 64 Bit

1
2
3
# RHEL/CentOS 7 64-Bit ##
$ sudo wget https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm
$ sudo rpm -ivh epel-release-latest-7.noarch.rpm

RHEL/CentOS 6 32-64 Bit

1
2
3
4
5
6
# RHEL/CentOS 6 32-Bit ##
$ sudo wget http://download.fedoraproject.org/pub/epel/6/i386/epel-release-6-8.noarch.rpm
$ sudo rpm -ivh epel-release-6-8.noarch.rpm
# RHEL/CentOS 6 64-Bit ##
$ sudo wget http://download.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm
$ sudo rpm -ivh epel-release-6-8.noarch.rpm

You need to run the following command to verify that the EPEL repository is enabled. Once you ran the command you will see epel repository.

1
$ sudo yum repolist