yum list display some package in 2 rows

Panu Matilainen pmatilai at laiskiainen.org
Tue Feb 3 13:03:23 UTC 2009


On Sat, 31 Jan 2009, Ambrogio wrote:

> Hi all,
>
> I use yum list in a script to have everytime I need a list of package
> available.
>
> Some packages, that have long names, are displayed in 2 rows, so scripts
> are more hard to be coded.
>
> There is an option to have a more simple list of packages, less readable
> by umans, but more readable by computer?

Try repoquery from yum-utils. "repoquery --pkgnarrow=available -a" will 
give you a bare "rpm -qa" style list of available packages, if necessary 
you can tweak the output to whatever you like with --qf.

 	- Panu -




More information about the fedora-list mailing list