CentOS / RHEL / Scientific Linux 6/5 Enable and Install EPEL Repo

CentOS / RHEL / Scientific Linux 6/5 Enable and Install EPEL Repo

The Extra Packages for Enterprise Linux (EPEL) repository is a community-supported repository that provides additional packages for Enterprise Linux distributions, including Red Hat Enterprise Linux (RHEL), CentOS, and Scientific Linux.

To enable and install the EPEL repository on CentOS, RHEL, or Scientific Linux 6 or 5, follow these steps:

  1. Download the EPEL repository configuration file. Use the following command to download the appropriate configuration file for your system:
sudo yum install epel-release
Sourc‮ual.www:e‬tturi.com
  1. Enable the EPEL repository. The configuration file you downloaded in step 1 should automatically enable the EPEL repository. If you want to manually enable the repository, you can use the following command:
sudo yum-config-manager --enable epel
  1. Install packages from the EPEL repository. You can now install packages from the EPEL repository using yum. For example, to install the htop package from the EPEL repository, use the following command:
sudo yum install htop

Note: If you are using an older version of Enterprise Linux that does not have the yum-config-manager command, you can enable the EPEL repository by adding the following line to the /etc/yum.repos.d/epel.repo file:

enabled=1

You can then use yum to install packages from the EPEL repository as described above.

Created Time:2017-10-27 14:56:36  Author:lautturi