Is there any way to retrieve a dependency tree from yum?

Per the RHEL5 manual pages: “repoquery is a program for querying information from YUM repositories similarly to rpm queries.” For your specific case of postgis: # repoquery –requires –recursive –resolve postgis postgresql-libs-0:8.1.23-6.el5_8.i386 geos-0:2.2.3-3.el5.i386 glibc-0:2.5-107.el5_9.5.i686 proj-0:4.5.0-3.el5.i386 You can drop the “.i386” and “.i686” off of the package names if your system is 64-bit. The output from … Read more