- As said before, we have to remove the old repo. Issue these commands in terminal
#rm /etc/yum.repo.d/epel.repo
#rm /etc/yum.repo.d/epel-testing.repo
- Delete the gpg keys.
#rm /etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL - Clean yum
#yum clean all - Now we have to add the EPEL 7.2 repo. (Epel stands for Extra packages for enterprise linux)
#wget http://dl.fedoraproject.org/pub/epel/7/x86_64/e/epel-release-7-2.noarch.rpm
#yum install epel-release-7-2.noarch.rpm - That's it you're done. You now have the epel repo up and working. Issue the following command to check if it is working properly
#yum repolist
If it shows epel, then you're good.