AptFile

Differences between revisions 4 and 5
Revision 4 as of 2006-05-15 13:18:56
Size: 856
Editor: CPE-69-23-69-75
Comment: search typo
Revision 5 as of 2008-08-06 16:20:38
Size: 858
Editor: localhost
Comment: converted to 1.6 markup
Deletions are marked like this. Additions are marked like this.
Line 23: Line 23:
For more information check out AutoApt and the [http://www.debian.org/doc/manuals/apt-howto/index.en.html Apt Howto]. For more information check out AutoApt and the [[http://www.debian.org/doc/manuals/apt-howto/index.en.html|Apt Howto]].

Apt-file is able to tell you which package a given file belongs to, this includes both installed and not yet installed packages available to your system. Apt-file uses the same database as AutoApt and needs to be updated separately to your normal apt-get package lists. To update the AptFile/AutoApt database run:

sudo apt-file update

To find what package a given file belongs to, you can do:

apt-file search <filename>

Replace <filename> above with the file name you wish to search for, example "/usr/bin/batch".

You can also list the files in a given package:

apt-file list <packagename>

Replace <packagename> with the name of the package you wish to list the contents of.

For more information check out AutoApt and the Apt Howto.

AptFile (last edited 2008-08-06 16:20:38 by localhost)