Answers:
我今天验证了在RHEL 6.7上,文件存储在中/var/cache/yum/x86_64/6Server/rhel-6-server-rpms/packages/
。
还值得注意的是,该插件downloadonly
包含在RHEL 6中:
# yum install yum-downloadonly
Package yum-plugin-downloadonly-1.1.30-30.el6.noarch is obsoleted by yum-3.2.29-69.el6.noarch which is already installed
/var/cache/yum
是可配置的位置。您需要在以下位置检查main.cachedir/etc/yum.conf