Ideas for yum
Tony Nelson
tonynelson at georgeanelson.com
Mon May 7 13:25:05 UTC 2007
At 9:19 AM -0300 5/7/07, Martin Marques wrote:
>Rahul Sundaram wrote:
...
>>> 2) Search gives to much information: One line with a brief description
>>> is enough. And it repeats it self: If the same package is in core,
>>> updates and freshrpms I get it three times.
>>
>> Yum list | grep <package> tends to work better if you are searching for
>> the package name instead of the metadata.
>
>Using grep? Shouldn't it be hard coded in yum? Just a thought.
Use globbing per man yum.
Find exact package name:
yum list package
Find packages starting with:
yum list package\*
Find packages containing:
yum list \*package\*
Quotes also work to protect the globs from the shell:
yum list "*package*"
--
____________________________________________________________________
TonyN.:' <mailto:tonynelson at georgeanelson.com>
' <http://www.georgeanelson.com/>
More information about the users
mailing list