Download RPM Packages with yum

Sometimes, it is desirable to download packages from yum repo.Here is how you can do that. Yum download only plugin is required.

yum install yum-downloadonly

After installing that plugin , you can download the packages as :

yum install <packageName> --downloadonly --downloaddir=/usr/local/src/

You may also like...