First, we have to install yum-downloadonly via yum :D
“yum install yum-downloadonly”
Now, we have the tool we need. Go download via yum:
ex: yum update httpd –yum-downloadonly –downloaddir=/data/setup
default location that yum store the download is /var/cache/yum

Advertisement