Newsgroups: gmane.linux.debian.user Date: Mon, 12 Jul 2004 20:55:59 +0100
> Is there any way to search executable name for it package? > > For example, from efax.rc I know that it uses "paperconf" to determine > paper size. but "apt-cache search" can't find its package name...
Go to http://packages.debian.org and search on package contents there.
Oliver Elphick
> You can use dpkg -L to list the contents of an installed package...
You see, the reason I need to search is that I don't have that executable, and want to know where it comes from. :-)
I think Oliver's answer might be the only answer.
> I think Oliver's answer might be the only answer.
Nope:
# apt-get install apt-file && apt-file update $ apt-file search <filename>
Thomas Adam
A command line tool for searching packages for the APT packaging system.
Unlike apt-cache, you can search in which package a file is included or list the contents of a package without installing or fetching it.
The following extra packages will be installed: libapt-pkg-perl libconfigfile-perl The following NEW packages will be installed: apt-file libapt-pkg-perl libconfigfile-perl 0 upgraded, 3 newly installed. Need to get 95.1kB of archives.