How do i show the dependancies for a redhat software package?



  • Man page for yum.

           deplist
                  Produces a list of all dependencies and  what  packages  provide
                  those  dependencies  for the given packages. As of 3.2.30 it now
                  just shows the latest version of each package that matches (this
                  can  be changed by using --showduplicates) and it only shows the
                  newest providers (which can be changed by using --verbose).
    

    Show dependancies for glibc.x86_64 2.17-260.el7_6.3

    $ yum deplist glibc.x86_64 2.17-260.el7_6.3 
    Loaded plugins: fastestmirror, langpacks
    Loading mirror speeds from cached hostfile
    ...
    ...
    ...
    package: glibc.x86_64 2.17-260.el7_6.3
      dependency: basesystem
       provider: basesystem.noarch 10.0-7.el7.centos
      dependency: glibc-common = 2.17-260.el7_6.3
       provider: glibc-common.x86_64 2.17-260.el7_6.3
      dependency: libfreebl3.so()(64bit)
       provider: nss-softokn-freebl.x86_64 3.36.0-5.el7_5
      dependency: libfreebl3.so(NSSRAWHASH_3.12.3)(64bit)
       provider: nss-softokn-freebl.x86_64 3.36.0-5.el7_5
      dependency: libgcc
       provider: libgcc.x86_64 4.8.5-36.el7
       provider: libgcc.i686 4.8.5-36.el7
    

 

© Lightnetics 2019