Show RPM dependent packages
Dependencies are often a problem when manipulating packages, such as installing, upgrading, or removing RPM packages.
So to avoid these problems, it is important to check the dependencies in advance.
To check what package a particular package depends on, run the rpm command with the "-q" option in combination with the "-R" option to display the name of the dependent package.
Dependency package of mail server postfix [root@Lion ~]# rpm -qR postfix /bin/bash /bin/sh /bin/sh /bin/sh /bin/sh /bin/sh /bin/sh /usr/sbin/alternatives /usr/sbin/alternatives /usr/sbin/groupadd /usr/sbin/useradd config(postfix) = 2:2.10.1-7.el7 libc.so.6()(64bit) libc.so.6(GLIBC_2.11)(64bit) libc.so.6(GLIBC_2.14)(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.3)(64bit) libc.so.6(GLIBC_2.3.2)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.4)(64bit) libc.so.6(GLIBC_2.7)(64bit) libcrypto.so.10()(64bit) libcrypto.so.10(OPENSSL_1.0.1_EC)(64bit) libcrypto.so.10(OPENSSL_1.0.2)(64bit) libcrypto.so.10(libcrypto.so.10)(64bit) libdb-5.3.so()(64bit) liblber-2.4.so.2()(64bit) libldap-2.4.so.2()(64bit) libm.so.6()(64bit) libmysqlclient.so.18()(64bit) libmysqlclient.so.18(libmysqlclient_18)(64bit) libnsl.so.1()(64bit) libnsl.so.1(GLIBC_2.2.5)(64bit) libpcre.so.1()(64bit) libresolv.so.2()(64bit) libresolv.so.2(GLIBC_2.2.5)(64bit) libsasl2.so.3()(64bit) libssl.so.10()(64bit) libssl.so.10(libssl.so.10)(64bit) rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PartialHardlinkSets) <= 4.0.4-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 rtld(GNU_HASH) systemd systemd systemd systemd-sysv rpmlib(PayloadIsXz) <= 5.2-1 |