The usual IT babble
RPM: Query a specific rpm-file for information
Since I end up googling it each time I need this, it’s about time I write it down … If you want to query a specific RPM for information (Requires/Information/…) you’ll need to use the –package/-p option.
-p <file> — Query a Specific RPM Package File
Up to now, every means of specifying a package to an RPM query focused on packages that had already been installed. While it’s certainly very useful to be able to dredge up information about packages that are already on your system, what about packages that haven’t yet been installed? The -p option can do that for you.
So, if I wanted to show the Requires of my vmware-tools-kmp:
rpm -qR -p vmware-tools-kmp-default-3.5.0_184236_2.6.16.60_0.21-0.5.i586.rpm
| Print article | This entry was posted by Christian on Wednesday, 28th October, 2009 at 19:12, and is filed under Life. Follow any responses to this post through RSS 2.0. Both comments and pings are currently closed. |
Comments are closed.