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:
wget
:wget https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm
rpm
command:sudo rpm -Uvh epel-release-latest-7.noarch.rpm
/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.