Skip to content

Instantly share code, notes, and snippets.

@saxenap
Created April 21, 2018 14:22
Show Gist options
  • Save saxenap/e9716c14c8f0d049fd4b4e38b26c757f to your computer and use it in GitHub Desktop.
Save saxenap/e9716c14c8f0d049fd4b4e38b26c757f to your computer and use it in GitHub Desktop.
# https://unix.stackexchange.com/questions/220503/how-to-install-dependencies-of-an-rpm-package-without-installing-the-package-its
yum deplist php71 | awk '/provider:/ {print $2}' | sort -u | xargs yum -y install
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment