How to install and enable EPEL repository on a CentOS/RHEL 7

ht‮spt‬://www.lautturi.com
How to install and enable EPEL repository on a CentOS/RHEL 7

To install and enable the EPEL (Extra Packages for Enterprise Linux) repository on a CentOS or RHEL 7 system, you can use the following steps:

  1. Download the EPEL release package:
wget https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm

This will download the latest version of the EPEL release package for CentOS and RHEL 7.

  1. Install the EPEL release package:
sudo yum install epel-release-latest-7.noarch.rpm

This will install the EPEL release package and enable the EPEL repository.

  1. Update the package index:
sudo yum update

This will update the package index to include the packages from the EPEL repository.

  1. Test the installation:
yum repolist

This will list the repositories that are enabled on your system. The EPEL repository should be listed.

Created Time:2017-10-28 21:39:04  Author:lautturi