Install the package including "downloadonly" plugin:
(RHEL5/CentOS5)
# yum install yum-downloadonly
(RHEL6/CentOS6)
# yum install yum-plugin-downloadonly
Run yum command with "--downloadonly" option as follows:
# yum install --downloadonly --downloaddir=<directory> <package>
Confirm the RPM files are available in the specified download directory.
Before using the plugin, check /etc/yum/pluginconf.d/downloadonly.conf to confirm that this plugin is "enabled=1"
Before using the plugin, check /etc/yum/pluginconf.d/downloadonly.conf to confirm that this plugin is "enabled=1"
Comments
Post a Comment