yum installed name only?

David dgboles at gmail.com
Sat May 4 20:22:50 UTC 2013


On 5/4/2013 4:17 PM, Frank Murphy wrote:
> On Sat, 4 May 2013 13:42:35 -0400
> Rahul Sundaram <metherid at gmail.com> wrote:
> 
> 
>>> yum list installed ?
>>>
>>
>> Yes
>>
>> Rahul
> 
> 
> But, how can it be shortened to NAME only?
> ConsoleKit.x86_64...  0.4.5-3.fc18...     installed
> Haven't found an ideal grep option as yet.
> 
> 


Does this do what you want?

rpm -qa | grep <put file name here>

per you example:

rpm -qa | grep ConsoleKit

-- 

  David


More information about the users mailing list