yum: the package manager I love to hate

suvayu ali fatkasuvayu+linux at gmail.com
Tue Sep 8 16:30:24 UTC 2009


2009/9/8 Jake Peavy <djstunks at gmail.com>:
> On Tue, Sep 8, 2009 at 12:03 PM, Bruno Wolff III <bruno at wolff.to> wrote:
>>
>> On Tue, Sep 08, 2009 at 11:56:54 -0400,
>>  Jake Peavy <djstunks at gmail.com> wrote:
>> > I'd like to buy a vowel.
>> >
>> > Can someone tell me what package xxd is in?
>>
>> If it is installed, you can do:
>> yum whatprovides `which xxd`
>
> This does not appear to be useful information.  If I had it installed I
> wouldn't need to install it??
>
> Or are you saying I need to put the complete path for xxd as the argument
> for whatprovides?  How am I supposed to know where the RPM I don't have
> would install it?  oh, yum.
>
>>
>> Reading version lock configuration
>> 2:vim-common-7.2.148-1.fc11.x86_64 : The common files needed by any
>> version of
>>                                   : the VIM editor
>> Repo        : fedora
>> Matched from:
>> Filename    : /usr/bin/xxd
>>
>>
>>
>> 2:vim-common-7.2.148-1.fc11.x86_64 : The common files needed by any
>> version of
>>                                   : the VIM editor
>> Repo        : installed
>> Matched from:
>> Other       : Provides-match: /usr/bin/xxd
>
> aha, vim-common....  done.  thanks.
>
> --
> -jp
>
> It makes me mad when I go to all the trouble of having Marta cook up about a
> hundred drumsticks, then the guy at the Marineland says, "You can't throw
> chicken to the dolphins. They eat fish." Sure they eat fish, if that's all
> you give them. Man, wise up.
>

In that case use this,
yum whatprovides *bin/xxd

The `*bin/' will limit the search to executables.

-- 
Suvayu

Open source is the future. It sets us free.




More information about the fedora-list mailing list