centos 查看包属于那个仓库以及完整路径

centos7:

yum instlal -y yum-utils-1.1.31-54.el7_8.noarch

root@koji:~ # yumdb info nginx
Loaded plugins: fastestmirror, product-id, subscription-manager

This system is not registered with an entitlement server. You can use subscription-manager to register.

1:nginx-1.16.1-1.el7.x86_64
     checksum_data = 9cb605a6b7052c5cbb1f9f466be1a465a7cee136c6b1b4b3b8600a87d0728881
     checksum_type = sha256
     command_line = install nginx
     from_repo = epel
     from_repo_revision = 1595639815
     from_repo_timestamp = 1595640973
     installed_by = 0
     origin_url = http://mirrors.yun-idc.com/epel/7/x86_64/Packages/n/nginx-1.16.1-1.el7.x86_64.rpm
     reason = user
     releasever = 7
     var_contentdir = altarch
     var_contentdir.rpmnew = centos
     var_infra = stock
     var_uuid = b2637173-5499-47f3-a575-336b3eea2eef

centos8

属于那个仓库

[root@koji8 ovirt]# dnf info nginx
Last metadata expiration check: 2:29:25 ago on Fri 08 Jan 2021 08:02:28 AM CST.
Available Packages
Name         : nginx
Epoch        : 1
Version      : 1.14.1
Release      : 9.module_el8.0.0+184+e34fea82
Architecture : x86_64
Size         : 570 k
Source       : nginx-1.14.1-9.module_el8.0.0+184+e34fea82.src.rpm
Repository   : AppStream
Summary      : A high performance web server and reverse proxy server
URL          : http://nginx.org/
License      : BSD
Description  : Nginx is a web server and a reverse proxy server for HTTP, SMTP, POP3 and
             : IMAP protocols, with a strong focus on high concurrency, performance and low
             : memory usage.

完整路径 

[root@koji8 ovirt]# yum download --url nginx
Last metadata expiration check: 2:28:59 ago on Fri 08 Jan 2021 08:02:28 AM CST.
http://mirrors.icidc.com/centos/8.3.2011/AppStream/x86_64/os/Packages/nginx-1.14.1-9.module_el8.0.0+184+e34fea82.x86_64.rpm

 

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值