How Download An Rpm Without Installing It
Example:
sudo dnf install --downloadonly --downloaddir ./ htop
- If you don’t specify
--downloaddir, the package will be stored in/var/cache/yum/ in rhel-{arch}-channel/packages.
Example:
sudo dnf install --downloadonly --downloaddir ./ htop
--downloaddir, the package will be stored in /var/cache/yum/ in rhel-{arch}-channel/packages.