Enable EPEL repository on CentOS 6

  • Install epel-release repository:
    sudo rpm -Uvh http://dl.fedoraproject.org/pub/epel/6/$(uname -m)/epel-release-6-8.noarch.rpm
    After installation, you should be able to see it in the repository list:
    sudo yum repolist
  • (According to this) Install Priorities:
    sudo yum install yum-plugin-priorities
  • Set the priorities of epel to 50 (low priority) (see how to set repository priorities)
    sudo vi /etc/yum.repos.d/epel.repo

No comments:

Post a Comment