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

Re: yum list display some package in 2 rows



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 -


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