How to install the EPEL repository on CentOS

This article describes how to install the Extra Packages for Enterprise Linux (EPEL) repository on an unmanaged server running CentOS. The EPEL repository enables you to install additional Fedora-based packages on CentOS servers.

You must have root access to the server to follow the procedures in this article.

Installing the EPEL repository

To install the EPEL repository on your CentOS unmanaged server, follow these steps:

  1. Log in to the server as the root user.
  2. At the command prompt, type the following command to update the server:
    yum -y update
  3. To install the EPEL repository, type the following command:

    yum -y install epel-release
  4. To verify that the EPEL repository has been added, type the following command:

    yum repolist

    A line similar to the following line should appear in the list of repositories:

    epel         Extra Packages for Enterprise Linux 6 - x86_64
  5. You can now install any of the packages in the EPEL repository.

More Information

For more information about the EPEL repository, please visit

Did you find this article helpful? Then you'll love our support. Experience the A2 Hosting difference today and get a pre-secured, pre-optimized website. Check out our web hosting plans today.

Usamos cookies para personalizar o site para você e para analisar o uso do nosso site. Você demonstra que concorda com isso ao clicar em "Eu concordo" ou ao continuar usando este site. Mais informações sobre cookies podem ser encontradas em nossa Política de privacidade.