Let’s go straight to the point!! To install EPEL repository on your Centos 6.x / 7.x machine, issue the following command

yum install epel-release -y

That’s it.