On Sun, Apr 27, 2008 at 08:55:41AM +0530, Kumar Appaiah wrote: > On Sat, Apr 26, 2008 at 11:07:26PM -0400, Andrew Reid wrote: > > Debian has an awesome search utility at > > <http://www.debian.org/distrib/packages>. At the bottom of the > > page, there's a "Search the contents of packages" tool, which will > > tell you what package a given file comes from. > > > > Alternatively, if you have the Debian-installed Konqueror, > > you can use "deb:<packagename>" to find packages (but not > > files in packages). > > > > You can also also use the shortcut > > "http://packages.debian.org/file:<tail>" to find packages > > containing files that end with <tail>. > > +1. Please also check out apt-file and dlocate (for installed > packages); they are invaluable in quick searching if you do not have > internet access at all times.
One more tip which was not mentioned. 'dpkg -S file-on-system' will return the package containing that file. It works only for installed packages, but is (much) faster than apt-file. Regards, Andrei -- If you can't explain it simply, you don't understand it well enough. (Albert Einstein)
signature.asc
Description: Digital signature