[Yum] yum info option
Robert G. Brown
rgb at phy.duke.edu
Fri Jul 12 17:29:06 UTC 2002
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 at phy.duke.edu
More information about the Yum
mailing list