This mini how to will explain you how to enable EPEL (Extra Packages for Enterprise Linux) on newly released CentOS 7 / RHEL 7, it is maintained by a special interest group from Fedora that creates, maintains and manage high quality of additional packages for Enterprise Linux Variants which includes Red Hat Enterprise Linux (RHEL), CentOS and Scientific Linux (SL), Oracle Enterprise Linux(OEL).
Install EPEL repository:
Install EPEL rpm by using the following command.
[root@server ~]# rpm -Uvh https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm
Output will look like below
Retrieving http://mirror.pnl.gov/epel/7/x86_64/e/epel-release-latest-7.noarch.rpm
warning: /var/tmp/rpm-tmp.iPpiIE: Header V3 RSA/SHA256 Signature, key ID 352c64e5: NOKEY
Preparing... ################################# [%]
Updating / installing...
:epel-release-latest-.noarch.rpm ################################# [%]
List the installed repo’s:
You can find the EPEL repo in the list.
[root@server ~]# yum repolist
Output will look like below
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* base: centos.excellmedia.net
* epel: epel.mirror.net.in
* extras: centos.excellmedia.net
* updates: centos.excellmedia.net
repo id repo name status
base//x86_64 CentOS- - Base ,
epel/x86_64 Extra Packages for Enterprise Linux - x86_64 ,
extras//x86_64 CentOS- - Extras
updates//x86_64 CentOS- - Updates
repolist: ,
List the EPEL packages:
[root@localhost ~]# yum --disablerepo=* --enablerepo=epel list
Packages list will look like below
zathura-devel.x86_64 0.2.-.el7 epel
zathura-djvu.x86_64 0.2.-.el7 epel
zathura-pdf-poppler.x86_64 0.2.-.el7 epel
zathura-plugins-all.x86_64 0.2.-.el7 epel
zathura-ps.x86_64 0.2.-.el7 epel
zeromq3.x86_64 3.2.-.el7 epel
zeromq3-devel.x86_64 3.2.-.el7 epel
zipios++.x86_64 0.1.5.9-.el7 epel
zipios++-devel.x86_64 0.1.5.9-.el7 epel
zlib-ada.x86_64 1.4-0.5.20120830CVS.el7 epel
zlib-ada-devel.x86_64 1.4-0.5.20120830CVS.el7 epel
zmap.x86_64 1.2.-.el7 epel
zsh-lovers.noarch 0.9.-.el7 epel
Install the package:
[root@localhost ~]# yum install zmap
That’s All!.