jump to navigation

Configure EPEL Repository : CentOS 5.x November 15, 2010

Posted by Tournas Dimitrios in Linux.

This article will outline how to install the EPEL (Extra Packages for Enterprise Linux) repository for your CentOS 5.x server or desktop. This is one of the few third-party repositories that I trust, and provides a great number of newer and otherwise unavailable packages to your CentOS installation.


To install and activate the EPEL repository on your system, run the following command with administrator privileges:

rpm -Uvh http://download.fedora.redhat.com/pub/epel/5/i386/epel-release-5-4.noarch.rpm

After this command is successful you’ll find that you have two new files in your yum configuration directory, /etc/yum.repos.d/.

  • epel.repo
  • epel-testing.repo

The testing repository is disabled by default, but the core epel repository should be active.

Installing Packages

I include EPEL on all of my CentOS installations and use it to install a number of otherwise unavailable packages. Some of my preferred EPEL packages are:

  • htop
  • lighttpd
  • bzr
  • git
  • puppet
  • cobbler

To install these, or any other EPEL package, simply use yum as you normally would. For example:

yum install htop


EPEL has been a great addition to the core CentOS repositories, providing trusted packages to the available list of software. Where others may revert to using community (un)maintained repositories, EPEL packages are often maintained by Red Hat employees and are extensively tested to comply with RHEL, CentOS and Fedora systems.



1. Yum repositories on RHEL – CentOs Cheatsheet « Tournas Dimitrios - November 15, 2010

[…] a repository on your Yum repository list is made through the rpm command , read this article for a detailed description .These files/directories are important to note […]

2. Yum Priorities on CentOs « Tournas Dimitrios - November 17, 2010

[…] My previous article demonstrated how to add extra repo’s on your CentOs box . Run the command ls -l /etc/yum.repos.d/  to see what repo’s are already installed on your box . . An obvious question is :  if a package is available on more than one repositories (with different release ) ,  from which repository will the package downloaded or upgraded ? […]

3. Bandwidth monitoring with vnStat and php-gd « Tournas Dimitrios - November 27, 2010

[…] rpm package . Epel repository provides a rpm package ready-made for Red had based distributions . This article outlines how to add Epel repo on your repository list . Run ” yum install vnstat ” to install the […]

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s