Add EPEL Repository to CentOS
Table of Contents
Date: 11-11-2015
EPEL = Extra Packages for Enterprise Linux
Option 1
- Open a shell prompt.
- Install epel using the following command:
sudo yum -y install epel-release
- Refresh repo by typing the following command: yum repolist
Option 2
cd /tmp
wget https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm
sudo yum install epel-release-7.noarch.rpm
sudo yum repolist
List All Packages In EPEL Repository
sudo yum --disablerepo="*" --enablerepo="epel" list available
Or
sudo yum --disablerepo="" --enablerepo="epel" list available | grep 'package' Or sudo yum --disablerepo="" --enablerepo="epel" list available | less