Re: get package name from file name

2011-07-07 Thread William Hopkins
On 07/07/11 at 09:43pm, Wolodja Wentland wrote: > On Thu, Jul 07, 2011 at 13:39 +0100, kuLa wrote: > > On 07/07/11 13:17, Wolodja Wentland wrote: > > > As always there are multiple to do this :) > > > > > > * dpkg -S /path/to/file > > > * apt-file search /path/to/file > > > * dlocate -

Re: get package name from file name

2011-07-07 Thread Kamaraju S Kusumanchi
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 /

Re: get package name from file name

2011-07-07 Thread Wolodja Wentland
On Thu, Jul 07, 2011 at 13:39 +0100, kuLa wrote: > On 07/07/11 13:17, Wolodja Wentland wrote: > > As always there are multiple to do this :) > > > > * dpkg -S /path/to/file > > * apt-file search /path/to/file > > * dlocate -S /path/to/file > > > > I prefer to use either apt-file or dl

Re: get package name from file name

2011-07-07 Thread Camaleón
On Thu, 07 Jul 2011 10:37:57 +0100, Joao Ferreira Gmail wrote: > On Thu, 2011-07-07 at 10:24 +0100, kuLa wrote: >> dpkg -S /usr/lib/libxml2.so.2 > > cool. thx And for packages that are not installed in your system you can use the online query ("package contents") which avoids the needing of ins

Re: get package name from file name

2011-07-07 Thread lee
Joao Ferreira Gmail writes: > how can I tell which package installs a given file ? apt-file search "given file" -- html messages are obsolete -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Arch

Re: get package name from file name

2011-07-07 Thread kuLa
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 07/07/11 13:17, Wolodja Wentland wrote: > As always there are multiple to do this :) > > * dpkg -S /path/to/file > * apt-file search /path/to/file > * dlocate -S /path/to/file > > I prefer to use either apt-file or dlocate. The former

Re: get package name from file name

2011-07-07 Thread Wolodja Wentland
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

Re: get package name from file name

2011-07-07 Thread Joao Ferreira Gmail
On Thu, 2011-07-07 at 10:24 +0100, kuLa wrote: > dpkg -S /usr/lib/libxml2.so.2 cool. thx Joao -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/1310031477.2380.3.ca..

Re: get package name from file name

2011-07-07 Thread kuLa
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 07/07/11 10:22, Joao Ferreira Gmail wrote: > Hello, > > how can I tell which package installs a given file ? > > something like: > > # find-package-from-file /usr/lib/libxml2.so.2 > libxml2 hi, dpkg is your friend :-) dpkg -S /usr/lib/libxml2.s