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

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值