How to add EPEL repository to Centos

I needed to add the EPEL repository (Extra Packages for Enterprise Linux) in order to install some packages not available on plain Centos 5 server installation (like the polipo proxy). Based in what I found here, this is what I did:

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

For a Centos 6 there are some differences:

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

You now have much more packages available to install on your server!

This entry was posted in Linux, OpenStudio. Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *