Issue
- How do I use yum to download a package withoout installing it?
Resolution
Yumdownloader
if downloading a installed package, “yumdownloader” is useful.
1. Install the yum-utils package:
1 | # yum install yum-utils |
2. Run the command followed by the desired package:
1 | # yumdownloader <package> |
Note:
- The package is saved in the current working directly by default; use the –destdir option to specify an alternate location.
- Be sure to add –resolve if you need to download dependencies.
install package
1 | #rpm -ivh <package> |