yum install epel-release
[root@BWH conf.d]# cd /etc/yum.repos.d/
[root@BWH conf.d]# ls -l
-rw-r–r– 1 root root 1664 May 17 21:53 CentOS-Base.repo
-rw-r–r– 1 root root 1309 May 17 21:53 CentOS-CR.repo
-rw-r–r– 1 root root 649 May 17 21:53 CentOS-Debuginfo.repo
-rw-r–r– 1 root root 630 May 17 21:53 CentOS-Media.repo
-rw-r–r– 1 root root 1331 May 17 21:53 CentOS-Sources.repo
-rw-r–r– 1 root root 4768 May 17 21:53 CentOS-Vault.repo
-rw-r–r– 1 root root 314 May 17 21:53 CentOS-fasttrack.repo
-rw-r–r– 1 root root 1050 Oct 3 2017 epel-testing.repo
-rw-r–r– 1 root root 951 Oct 3 2017 epel.repo
yum repolist enabled (yum repolist)
repo id repo name status
base/7/x86_64 CentOS-7 – Base 9911
epel/x86_64 Extra Packages for Enterprise Linux 7 – x86_64 12605
extras/7/x86_64 CentOS-7 – Extras 314
updates/7/x86_64 CentOS-7 – Updates 946
repolist: 23776
yum repolist all
yum clean all
yum makecache
yum install yum-plugin-fastestmirror