Jan 25, 2018

Install the EPEL repository

CentOS
The CentOS Extras repository includes a package to install EPEL, and is enabled by default. To install the EPEL release package, run the following command:

sudo yum install epel-release

Red Hat Enterprise Linux
To install the EPEL release package, run the following command:

sudo yum install https://dl.fedoraproject.org/pub/epel/epel-release-latest-$(rpm -E '%{rhel}').noarch.rpm

Some EPEL packages depend on packages from the “optional” and “extras” channels, so ensure that those are enabled as well.