Skip to content

Instantly share code, notes, and snippets.

@treyd
Last active October 5, 2017 12:56
Show Gist options
  • Save treyd/ed7d0b4718744c9642194251ab15d2a8 to your computer and use it in GitHub Desktop.
Save treyd/ed7d0b4718744c9642194251ab15d2a8 to your computer and use it in GitHub Desktop.
How to gather dependency rpms for a package or other rpm
#ensure the yum cache is clear first
yum install yum-plugin-downloadonly
yum install --downloadonly <your-package-or-your-rpm>
find /var/cache/yum -iname '*.rpm'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment