Search This Blog


RPM Package Querying

I'll start this off with giving some information as to how to see what requirements there are to install a particular package.

This can be done using the -q (query) and -R (requires) options

For example, a common utility to install to monitor disk IO which requires a fairly updated kernel can be queried using
rpm -qR iotop
kernel >= 2.6.18-199
python(abi) = 2.4
rpmlib(CompressedFileNames) <= 3.0.4-1
rpmlib(PayloadFilesHavePrefix) <= 4.0-1
We can see that this is a bit strange because I actually have iotop installed from yum but only have kernel version
uname -r


No comments:

Post a Comment