yum installed name only?

David dgboles at gmail.com
Sat May 4 20:52:58 UTC 2013


On 5/4/2013 4:26 PM, Reindl Harald wrote:
> 
> Am 04.05.2013 22:22, schrieb David:
>> 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 ?
>>>>> 
>>> 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
> 
> what did you not understand in "NAME only"?
> 
> rpm -qa --queryformat "%{name}\n"
> 
> as i answered hours ago, but hey someone decided to moderate my
> messages again because i am not that nice guy always and this
> idiotic list is misconfigured because on others you are notfied
> that your message received at least the server
> 


I did not reply to you. But ignoring your smart a$$ reply. I can see
why you are being moderated.

I have been using an 'rpm based' Linux since 1996 or so. To the best
of my knowledge what you want has never be able to do.

I, personally, have added an alias to my .bashrc and named it rpmq
that calls this feature.  example rpmq ConsoleKit.

I'm sorry I offered to help. I promise to never try again.

Have a great day.
-- 

  David


More information about the users mailing list