centos7 yum安装遇到报错:Head V3 RSA/SHA256 Signature, key ID 352c64e5: NOKEYer
centos7 yum安装时遇到错误:Header V3 RSA/SHA256 Signature, key ID 352c64e5: NOKEY 无法安装时,可按如下方法解决:
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... ################################# [100%] Updating / installing... 1:epel-release-latest-7.noarch.rpm ################################# [100%]
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/7/x86_64 CentOS-7 - Base 8,465 epel/x86_64 Extra Packages for Enterprise Linux 7 - x86_64 4,731 extras/7/x86_64 CentOS-7 - Extras 30 updates/7/x86_64 CentOS-7 - Updates 326 repolist: 13,552
List the EPEL packages:
[root@localhost ~]# yum --disablerepo=* --enablerepo=epel list
Packages list will look like below
zathura-devel.x86_64 0.2.7-2.el7 epel zathura-djvu.x86_64 0.2.3-5.el7 epel zathura-pdf-poppler.x86_64 0.2.5-2.el7 epel zathura-plugins-all.x86_64 0.2.7-2.el7 epel zathura-ps.x86_64 0.2.2-4.el7 epel zeromq3.x86_64 3.2.4-1.el7 epel zeromq3-devel.x86_64 3.2.4-1.el7 epel zipios++.x86_64 0.1.5.9-9.el7 epel zipios++-devel.x86_64 0.1.5.9-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.0-1.el7 epel zsh-lovers.noarch 0.9.0-1.el7 epel
Install the package:
[root@localhost ~]# yum install zmap
That’s All!.
转自:http://www.itzgeek.com/how-tos/linux/centos-how-tos/enable-epel-repository-for-centos-7-rhel-7.html