Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save kurtis318/c641b1bc14a5fb5ada995fe2ca2b0921 to your computer and use it in GitHub Desktop.
Save kurtis318/c641b1bc14a5fb5ada995fe2ca2b0921 to your computer and use it in GitHub Desktop.
Finding all dependencies of an rpm package

Issue:

How does one determine all dependencies of an rpm package?

Solution:

REF: https://access.redhat.com/solutions/3373081

# repoquery -R --resolve --recursive bash
pcre-0:8.32-15.el7.x86_64
glibc-0:2.17-157.el7_3.4.i686
bash-0:4.2.46-28.el7.x86_64
libselinux-0:2.2.2-6.el7.x86_64
basesystem-0:10.0-7.el7.noarch
tzdata-0:2015f-1.el7.noarch
pcre-0:8.32-12.el7.i686
libstdc++-0:4.8.3-9.el7.x86_64
libgcc-0:4.8.5-4.el7.x86_64
nss-softokn-freebl-0:3.16.2.3-1.el7_0.x86_64
setup-0:2.8.71-5.el7.noarch
ncurses-base-0:5.9-14.20130511.el7_4.noarch
glibc-0:2.17-106.el7_2.4.x86_64
filesystem-0:3.2-20.el7.x86_64
redhat-release-server-0:7.0-1.el7.x86_64
libsepol-0:2.5-6.el7.x86_64
ncurses-libs-0:5.9-13.20130511.el7.x86_64
libgcc-0:4.8.2-16.2.el7_0.i686
glibc-common-0:2.17-106.el7_2.1.x86_64
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment