Installing EPEL Repository on CentOS-7/6

Install EPEL Repository in CentOS 7/6

To install the EPEL repository in CentOS-7/6, simply run:

# yum install epel-release


For some reason, it may not be possible to install an EPEL repository using yum.

This can happen if, for example, the CentOS Extras repository is disabled.

In this case, yum will tell you: "No package epel-release available".

In such a situation, you can download and install the epel-release package yourself using one of the commands below, depending on the system version.

Install EPEL repository in CentOS-7:

# rpm -ivh https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm

Install EPEL repository in CentOS-6:

# rpm -ivh https://dl.fedoraproject.org/pub/epel/epel-release-latest-6.noarch.rpm

Verify EPEL Installation

Default: EPEL repository is enabled by default and its settings can be found in /etc/yum.repos.d/epel.repo.

To verify that the EPEL repository is installed, locate it in the list of yum repositories:

$ yum repolist | grep "^epel\|repo id"

Output example:

repo id repo name status
epel Extra Packages for Enterprise Linux 6 - x86_64 8,447

To remove EPEL Repository

You can simply delete the EPEL repository by running:

# yum remove epel-release

Alternatively, you can use the rpm-qa command to find THE EPEL package name:

# rpm -qa | grep epel

And delete it as follows:

# rpm -e epel-release-x-x.noarch

  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

Создание и установка SSL сертификата на Nginx

Для установки SSL сертификата на Nginx Вам необходимо:1. Скопировать файлы сертификата на...

Установка SSL сертификата на Apache 2

Для установки SSL сертификата на Apache вам следует:1. Скопировать файлы SSL сертификата на...

Настройка HTTPS в Apache

Веб-сервер Apache полностью поддерживает работу по HTTPS. Для того, чтобы активировать...

connect to 127.0.0.1[127.0.0.1]:10024: Connection refused

Бывает так что в почта на сервере не отправляеться и не принимает, в письмах оутлупа ошибка...

S.M.A.R.T. Мониторинг дисков под Adaptec AAC-Raid контроллером

Для мониторинга дисков под Adaptec AACRaid контролером можно использовать бесплатную утилиту...