Re: rpm "list package names only"

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

 



On Thu, 2005-11-03 at 13:13 +1300, Morgan Read wrote:
> Hi,
> 
> I want a list of installed packages by package name only (i.e. no version,
> release, .rpm, etc.)
> 
> How do I do it?

It's documented in the manpage - use the "--qf" option to format the
results as you want them.

Eg.

  rpm -qa --qf "%{NAME}\n"

> 
> Simple I know, but...
> 
> I want to be able to generate two lists of rpms installed to diff so I know
> what package changes have occurred between one install and another.

Don't you want to know about differences in version too?

Cheers, Ben



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

  Powered by Linux