CentOS7安裝EPEL
[lijiayun@centos-*** ~]$ yum install epel-release
已加載插件:fastestmirror, langpacks
您需要 root 權限執行此命令。
[lijiayun@centos-*** ~]$ su
密碼:
[root@centos-*** lijiayun]# yum install epel-release
已加載插件:fastestmirror, langpacks
base | 3.6 kB 00:00
extras | 3.4 kB 00:00
updates | 3.4 kB 00:00
updates/7/x86_64/primary_db | 5.2 MB 00:04
Loading mirror speeds from cached hostfile
- base: mirror.bit.edu.cn
- extras: mirrors.tuna.tsinghua.edu.cn
- updates: mirrors.tuna.tsinghua.edu.cn
正在解決依賴關係
--> 正在檢查事務
---> 軟件包 epel-release.noarch.0.7-9 將被 安裝
--> 解決依賴關係完成
依賴關係解決
================================================================================
Package 架構 版本 源 大小
正在安裝:
epel-release noarch 7-9 extras 14 k
事務概要
安裝 1 軟件包
總下載量:14 k
安裝大小:24 k
Is this ok [y/d/N]: y
Downloading packages:
警告:/var/cache/yum/x86_64/7/extras/packages/epel-release-7-9.noarch.rpm: 頭V3 RSA/SHA256 Signature, 密鑰 ID f4a80eb5: NOKEY
epel-release-7-9.noarch.rpm 的公鑰尚未安裝
epel-release-7-9.noarch.rpm | 14 kB 00:01
從 file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7 檢索密鑰
導入 GPG key 0xF4A80EB5:
用戶ID : "CentOS-7 Key (CentOS 7 Official Signing Key) <[email protected]>"
指紋 : 6341 ab27 53d7 8a78 a7c2 7bb1 24c6 a8a7 f4a8 0eb5
軟件包 : centos-release-7-4.1708.el7.centos.x86_64 (@anaconda)
來自 : /etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7
是否繼續?[y/N]:y
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
正在安裝 : epel-release-7-9.noarch 1/1
驗證中 : epel-release-7-9.noarch 1/1
已安裝:
epel-release.noarch 0:7-9
完畢!