[How To] Enable EPEL repository for RedHat

# wget http://download.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm
# rpm -ivh epel-release-6-8.noarch.rpm

If you get this error when running: ’yum list’ command
Error: Cannot retrieve metalink for repository: epel. Please verify its path and try again

Then you may need to upgrade the certificates:
sudo yum upgrade ca-certificates --disablerepo=epel

You can also edit the file:
/etc/yum.repos.d/epel.repo
and replace all "https" with "http"
Attached Files
There are no attachments for this article.
Comments
There are no comments for this article. Be the first to post a comment.
Name
Email
Security Code Security Code
Related Articles RSS Feed
MENU