Using rpm :- # rpm
-qpR <rpm>
libc.so.6()(64bit)
libc.so.6(GLIBC_2.14)(64bit)
>> It means
libc.so is required library and the provider package is glibc
.
libc.so.6(GLIBC_2.2.5)(64bit)
libc.so.6(GLIBC_2.3)(64bit)
libc.so.6(GLIBC_2.3.4)(64bit)
libc.so.6(GLIBC_2.4)(64bit)
libcrypto.so.10()(64bit)
libcrypto.so.10(OPENSSL_1.0.1_EC)(64bit) -- Here in same way
openssl package is provider for libcrypt.so.
libcrypto.so.10(libcrypto.so.10)(64bit)
[root@test]# rpm -qa
| grep glibc
glibc-common-2.17-196.el7.x86_64
glibc-2.17-196.el7.x86_64
glibc-2.17-196.el7.i686
[root@test]# rpm -qa
| grep openssl
openssl-libs-1.0.2k-8.el7.x86_64
openssl-1.0.2k-8.el7.x86_64
xmlsec1-openssl-1.2.20-7.el7_4.x86_64
[root@test]#
using Yum :- yum deplist
<package>
yum requires root privileges , but this will help to understand
the rpm query command .
[root@test]# yum deplist
kernel-tools-libs-3.10.0-693.2.2.el7.x86_64
package: kernel-tools-libs.x86_64 3.10.0-693.2.2.el7
dependency:
libc.so.6(GLIBC_2.14)(64bit)
provider: glibc.x86_64 2.17-196.el7
dependency:
rtld(GNU_HASH)
provider: glibc.x86_64 2.17-196.el7
provider: glibc.i686 2.17-196.el7
[root@test]#
No comments:
Post a Comment