Skip to content

Instantly share code, notes, and snippets.

@bitkill
Created May 27, 2020 18:59
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bitkill/e6d495ed17fac6db6b765a9adbf715a7 to your computer and use it in GitHub Desktop.
Save bitkill/e6d495ed17fac6db6b765a9adbf715a7 to your computer and use it in GitHub Desktop.
[CentOS Admin]

CentOS Administration

Get all packages that need to be installed in order to have x package

repoquery --requires --resolve --recursive <package>

You can remove recursive to see direct matches

Similar command, but in relation to the current system

rpm -qa | grep <package>

Get download url for package

yumdownloader --urls <package>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment