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

Re: rpm "list package names only"



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



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