The simple one line command below will enable the EPEL repository on CentOS 7
rpm -Uvh http://dl.fedoraproject.org/pub/epel/7/x86_64/e/epel-release-7-2.noarch.rpm
Once ran you will see confirmation that it has been installed successfully, that’s it!
Notes
- You can find out more about the EPEL repository here