[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Determine Package a Program Belongs To



Juri Haberland <juri@koschikode.com> writes:

> Mike Dillinger wrote:
>> Folks,
>> 
>> Is there a way I can tell which package a program belongs to?  For
>> instance, tee is part of the coreutils package.  Is there a command I
>> can run to see what package tee is part of?
>
> Something like
>
> dpkg -S `which tee`
>
> should do the trick.

dpkg -S searches in installed packages.

See apt-files for an exhaustive database.


Léo.



Reply to: