How can I know to which package a command belongs ?

Kevin Wilson wkevils at gmail.com
Fri Oct 25 11:33:12 UTC 2013


Thanks,
You mean probably:
 apt-cache show net-tools



On Fri, Oct 25, 2013 at 2:21 PM, Colin Law <clanlaw at googlemail.com> wrote:
> On 25 October 2013 12:18, Kevin Wilson <wkevils at gmail.com> wrote:
>> Hi,
>> Thanks Colin and Marius, both work.
>> I have another question if I may:
>> Is there a way to get information about some package (like  its website)?
>>
>> I know from fedora that when running rpm -qid net-tools, for example,
>> there is a screen with a lot of information, including the URL of the
>> package website
>
> apt-cache show ifconfig
>
> Colin
>
>>
>> Regards,
>> Kevin
>>
>> On Fri, Oct 25, 2013 at 1:49 PM, Marius Gedminas <marius at pov.lt> wrote:
>>> On Fri, Oct 25, 2013 at 12:50:55PM +0300, Kevin Wilson wrote:
>>>> For example:
>>>>
>>>> How can I know to which package the command ifconfig belongs ?
>>>
>>> dpkg -S $(which ifconfig)
>>>
>>> Cheers!
>>> Marius Gedminas
>>> --
>>> 31337 is a prime number, go figure...
>>>
>>> --
>>> ubuntu-users mailing list
>>> ubuntu-users at lists.ubuntu.com
>>> Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
>>>
>>
>> --
>> ubuntu-users mailing list
>> ubuntu-users at lists.ubuntu.com
>> Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
>
> --
> ubuntu-users mailing list
> ubuntu-users at lists.ubuntu.com
> Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users




More information about the ubuntu-users mailing list