Friday, September 9, 2011

EPEL Repositories for your CentOS

To enable EPEL (Extra Packages for Enterprise Linux) for CentOS 5 x86 or x64, log in to SSH on your server and execute the following command (dependent on your OS – unsure of what version of CentOS you are running?):

CentOS 6.x 32-bit (x86/i386):

rpm -Uvh

CentOS 6.x 64-bit (x64):

rpm -Uvh

CentOS 5.x 32-bit (x86/i386):

rpm -Uvh

CentOS 5.x 64-bit (x64):

rpm -Uvh

Disable EPEL Repo:

If you want to disable the EPEL repo on your server, set “enabled=0″ in “/etc/yum.repos.d/epel.repo”:

vim /etc/yum.repos.d/epel.repo

No comments:

Post a Comment