Monday, 19 June 2017

How to enable EPEL repo on Centos 7 Centos 6

The EPEL repo is one you should have when you first install Centos or RHEL..
It contains many important extra packeages which are not found in the standard installation.

It can be installed using a standard shell command as below.

yum install epel-release -y

Below are old instructions for installing the EPEL repository RPM. Use this if the above process does not work for you.

The EPEL repo is enabled by just installing an RPM. Use the command below to install the EPEL repository on your CentOS system.

CentOS 6 – 32-bit

 CentOS 6 – 64-bit


After running the above commands for your relevant CentOS version, the following file is created:

/etc/yum.repos.d/epel.repo
 
This file can be edited directly to enable or disable the EPEL repo.