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

yum install epel-release -y

That’s it. Bye bye.