Red Hat Enterprise Linux / CentOS Linux Enable EPEL (Extra Packages for Enterprise Linux) Repository

https:‮ww//‬w.lautturi.com
Red Hat Enterprise Linux / CentOS Linux Enable EPEL (Extra Packages for Enterprise Linux) Repository

To enable the EPEL (Extra Packages for Enterprise Linux) repository on a Red Hat Enterprise Linux or CentOS Linux system, you can follow these steps:

  1. Download the EPEL release package using wget:
wget https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm
  1. Install the EPEL release package using the rpm command:
sudo rpm -Uvh epel-release-latest-7.noarch.rpm
  1. Verify that the EPEL repository is enabled by checking the contents of the /etc/yum.repos.d/epel.repo file. The enabled option should be set to 1.

Alternatively, you can use the yum-config-manager command to enable the EPEL repository. For example:

sudo yum-config-manager --enable epel

This will enable the EPEL repository and you will be able to install packages from it using the yum package manager.

Created Time:2017-10-30 14:27:14  Author:lautturi