[Yum] yum info option

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

 



On 12 Jul 2002, seth vidal wrote:

> Hey,
>  Would anyone  find a "yum info [package]" option useful?
> 
> it would more or less list what an rpm -qi does for all packages listed
> on the command line.

Yes, and it would be nice to have a 

  yum grep "string to match"

as well.  So that if I want to see all the packages that pertain to
wireless networking, I could do

  yum grep "wireless"

and get a list of all packages with "wireless" in their description, so
that I could then do

  yum info wireless-tools
  yum info hotplug

and see if either of these is what I'm looking for.

One can almost do this now with "grep /var/cache/yum/server/headers/*,
but of course this gets more complicated with multiple repositories and
doesn't return anything formatted.  For that matter, one can also do
"less /var/cache/yum/server/headers/package.hdr" and get what yum info
would do, with the same reservations about repositories and formatting.

   rgb

Robert G. Brown	                       http://www.phy.duke.edu/~rgb/
Duke University Dept. of Physics, Box 90305
Durham, N.C. 27708-0305
Phone: 1-919-660-2567  Fax: 919-660-2525     email:rgb@xxxxxxxxxxxx





[Index of Archives]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux