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