Re: Skinnying up a fat install

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 7/4/05, Philip A. Prindeville <philipp@xxxxxxxxxx> 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@xxxxxxxxxx
 The ASCII ribbon campaign     ( )            ben.steeves@xxxxxxxxx
   against HTML e-mail          X                GPG ID: 0xB3EBF1D9
http://www.metacon.ca/bcs      / \     Yahoo Messenger: ben_steeves


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux