The OS is RHEL 7. Can I only download and not install a package which is already installed in this system? I'm doing this in order to install the package to another RHEL system without internet access.

There is a package yumdownloader or yum install option --downloadonly, but it seems to work only when the required package is NOT installed.

1 Answer 1


yum reinstall --downloadonly package

If you also need all the dependencies, check this question: How can I download .rpm file including its dependencies in Windows 10

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.