downloadonly

September 28, 2016

With yum ( RedHat ) the -downloadony option wil only donwload the RPM and
not installing it.
Example:

yum update httpd -y –downloadonly –downloaddir=/opt
>

With rpm2cpio you can extract an RPM:

rpm2cpio httpd-tools-2.4.6-40.el7.centos.4.x86_64.rpm | cpio -idmv
>

Comments are closed.