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

posted @   鸭子船长  阅读(8165)  评论(0编辑  收藏  举报
编辑推荐:
· 记一次.NET内存居高不下排查解决与启示
· 探究高空视频全景AR技术的实现原理
· 理解Rust引用及其生命周期标识(上)
· 浏览器原生「磁吸」效果!Anchor Positioning 锚点定位神器解析
· 没有源码,如何修改代码逻辑?
阅读排行:
· 全程不用写代码,我用AI程序员写了一个飞机大战
· MongoDB 8.0这个新功能碉堡了,比商业数据库还牛
· 记一次.NET内存居高不下排查解决与启示
· DeepSeek 开源周回顾「GitHub 热点速览」
· 白话解读 Dapr 1.15:你的「微服务管家」又秀新绝活了
点击右上角即可分享
微信分享提示