Skip to content

Instantly share code, notes, and snippets.

@etaf
Last active August 5, 2017 08:53
Show Gist options
  • Save etaf/efc7d51b1bed2ccde3b3d6b67069f1cf to your computer and use it in GitHub Desktop.
Save etaf/efc7d51b1bed2ccde3b3d6b67069f1cf to your computer and use it in GitHub Desktop.
yum download only
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