EPEL库安装

EPEL是yum的一个软件源,里面包含了许多基本源里没有的软件了,但在我们在使用epel时是需要安装它才可以了.
EPEL,即Extra Packages for Enterprise Linux的简称,是为企业级Linux提供的一组高质量的额外软件包,包括但不限于Red Hat Enterprise Linux (RHEL), CentOS and Scientific Linux (SL), Oracle Enterprise Linux (OEL)。

安装:

***  环境:CentOS 7 64bit   ***

[root@localhost ~]# yum -y install epel-release
Loaded plugins: fastestmirror, langpacks
base                                                                                                                                                                                       | 3.6 kB  00:00:00     
extras                                                                                                                                                                                     | 3.4 kB  00:00:00     
updates                                                                                                                                                                                    | 3.4 kB  00:00:00     
updates/7/x86_64/primary_db                                                                                                                                                                | 5.7 MB  00:02:42     
Loading mirror speeds from cached hostfile
Resolving Dependencies
--> Running transaction check
---> Package epel-release.noarch 0:7-6 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

==================================================================================================================================================================================================================
 Package                                                 Arch                                              Version                                        Repository                                         Size
==================================================================================================================================================================================================================
Installing:
 epel-release                                            noarch                                            7-6                                            extras                                             14 k

Transaction Summary
==================================================================================================================================================================================================================
Install  1 Package

Total download size: 14 k
Installed size: 24 k
Downloading packages:
warning: /var/cache/yum/x86_64/7/extras/packages/epel-release-7-6.noarch.rpm: Header V3 RSA/SHA256 Signature, key ID f4a80eb5: NOKEY=========================================== ] 1.2 kB/s |  14 kB  00:00:00 ETA 
Public key for epel-release-7-6.noarch.rpm is not installed
epel-release-7-6.noarch.rpm                                                                                                                                                                |  14 kB  00:00:04     
Retrieving key from http://mirrors.163.com/centos/RPM-GPG-KEY-CentOS-7
Importing GPG key 0xF4A80EB5:
 Userid     : "CentOS-7 Key (CentOS 7 Official Signing Key) <security@centos.org>"
 Fingerprint: 6341 ab27 53d7 8a78 a7c2 7bb1 24c6 a8a7 f4a8 0eb5
 From       : http://mirrors.163.com/centos/RPM-GPG-KEY-CentOS-7
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
  Installing : epel-release-7-6.noarch                                                                                                                                                                        1/1 
  Verifying  : epel-release-7-6.noarch                                                                                                                                                                        1/1 

Installed:
  epel-release.noarch 0:7-6                                                                                                                                                                                       

Complete!
[root@localhost ~]# 
原文地址:https://www.cnblogs.com/tdcqma/p/5650738.html