How to figure out RPM dependencies


If you have access to YUM, YAST, APTITUDE, or other such package manager, you can generally rely on these tools to sort out dependencies for you. In a modern day linux system, you can just install a package and all the dependencies are figured out, downloaded, and installed for you.

But what if your system is disconnected from the world. What if your network is a stand-alone network with no access to repositories and external stores of packages. You might need to look at an RPM file and figure out what it needs, retrieve it by hand, and install the packages yourself.

$ rpm –query –package –requires xpad-2.14-2.fc8.ppc.rpm
or simply:
====$ rpm -qpR xpad-2.14-2.fc8.ppc.rpm====

You don’t need to be root to use the rpm query commands. But you do need root privileges to install rpms.

====$ rpm -Uvh zvbi-fonts-0.2.30-1.fc8.ppc.rpm====


Posted on April 20th, by admica in Linux.
Comments Off

Comments are closed.