Last active
August 5, 2017 08:53
-
-
Save etaf/efc7d51b1bed2ccde3b3d6b67069f1cf to your computer and use it in GitHub Desktop.
yum download only
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
yum install yum-utils | |
# use --resolve to download dependencies. | |
yumdownloader --destdir ./rpms --resolve <package> | |
# on other machine | |
cd rpms | |
yum --disablerepo=* localinstall *.rpm -y |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment