I need to perform an installation (of R package) in a server without internet access so i used yumdownloader to download the package and used --resolve to also download the dependencies, but when i try to install the package with:

yum install <path to .rpm file>/file.rpm 

It does tries to install the packge from the location, but yum tries to download the dependencies instead of using the ones downloaded , how do i specify yum to use only local files?

1 Answer 1


Use rpmfor that: rpm -hiv *.rpm in the directory where you downloaded the packages.
This will install all packages in the directory.

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.