Re: get package name from file name
Wolodja Wentland wrote:
> On Thu, Jul 07, 2011 at 10:22 +0100, Joao Ferreira Gmail wrote:
>> how can I tell which package installs a given file ?
>> something like:
>>
>> # find-package-from-file /usr/lib/libxml2.so.2
>> libxml2
>
> As always there are multiple to do this :)
>
> * dpkg -S /path/to/file
> * apt-file search /path/to/file
> * dlocate -S /path/to/file
another way is
wajig whichpkg /path/to/file
raju
--
Kamaraju S Kusumanchi
http://malayamaarutham.blogspot.com/
Reply to: