AptFile

Differences between revisions 1 and 2
Revision 1 as of 2006-05-15 10:08:36
Size: 879
Editor: dsl-202-52-55-156
Comment: Initial save
Revision 2 as of 2006-05-15 10:09:42
Size: 854
Editor: dsl-202-52-55-156
Comment:
Deletions are marked like this. Additions are marked like this.
Line 1: Line 1:
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 in /etc/apt/sources.list. Apt-file uses the same database as AutoApt, and need to be updated separately to your normal apt-get package lists. To update the AptFile/AutoApt database run: 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 need to be updated separately to your normal apt-get package lists. To update the AptFile/AutoApt database run:

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 need 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 seach <filename>

Replace <filename> above with the file name you wish to seach 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 [http://www.debian.org/doc/manuals/apt-howto/index.en.html Apt Howto].

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