Skinnying up a fat install

Ben Steeves ben.steeves at gmail.com
Mon Jul 4 22:26:12 UTC 2005


On 7/4/05, Philip A. Prindeville <philipp at enteka.com> wrote:
> I'm a bit of a neophyte to RPM, though.  For instance, I couldn't
> figure out how to get the list of installed RPM's with version and
> architecture listed (yum list installed "*" will do this, but rpm --query
> --all won't).  Likewise, the only way to get the list of dependencies
> for a file that I know of is "rpm --erase --test xxx".

$ rpm -qa --queryformat "%{NAME}-%{$VERSION}-${ARCH}\n"

...if you want to see what other tags you can use:

$ rpm --querytags

...one of those tags is REQUIRES.

-- 
Ben Steeves                     _                    bcs at metacon.ca
 The ASCII ribbon campaign     ( )            ben.steeves at gmail.com
   against HTML e-mail          X                GPG ID: 0xB3EBF1D9
http://www.metacon.ca/bcs      / \     Yahoo Messenger: ben_steeves




More information about the fedora-list mailing list