yum-downloadonly

Download RPM files with yum using yum-downloadonly.

First we must install the package.

yum install yum-downloadonly

This downloads packagename update rpm to standard /var/cache/yum/ location

yum update packagename --downloadonly

To specify a path to download, we add the –downloaddir= flag.

yum update packagename --downloadonly --downloaddir=/root/downloads/
(Comments)

Comments