How to Install EPEL Repo on CentOS 5/6

Sometimes, to quickly install a piece of software, we have to resort to using yum. However, not being able to find the yum package can be quite frustrating. Below, we’ll install EPEL to add extra yum repositories as a solution:

Taking CentOS as an example, here is the installation method:
CentOS 6 32-bit:

rpm -ivh http://dl.fedoraproject.org/pub/epel/6/i386/epel-release-6-8.noarch.rpm

CentOS 6 64-bit:

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

CentOS 5 32-bit:

rpm -ivh http://dl.fedoraproject.org/pub/epel/5/i386/epel-release-5-4.noarch.rpm

CentOS 5 64-bit:

rpm -ivh http://dl.fedoraproject.org/pub/epel/5/x86_64/epel-release-5-4.noarch.rpm

Leave a Comment

Your email address will not be published.