apt-file - search for files within Debian packages (command-line interface)

Property Value
Distribution Debian 8 (Jessie)
Repository Debian Main amd64
Package name apt-file
Package version 2.5.4
Package architecture all
Package type deb
Installed size 65 B
Download size 29.25 KB
Official Mirror ftp.br.debian.org
apt-file is a command line tool for searching files contained in packages
for the APT packaging system. You can search in which package a file is
included or list the contents of a package without installing or fetching it.


Package Version Architecture Repository
apt-file_2.5.4_all.deb 2.5.4 all Debian Main
apt-file - - -


Name Value
curl -
libapt-pkg-perl -
libconfig-file-perl -
libfile-temp-perl -
liblist-moreutils-perl -
libregexp-assemble-perl -
perl -


Type URL
Binary Package apt-file_2.5.4_all.deb
Source Package apt-file

Install Howto

  1. Update the package index:
    # sudo apt-get update
  2. Install apt-file deb package:
    # sudo apt-get install apt-file




2014-10-22 - Niels Thykier <niels@thykier.net>
apt-file (2.5.4) unstable; urgency=medium
* Apply patch from Cyril Brulebois to support searching for
files in "udeb" packages.  This requires "debian-installer"
entries in the sources.list and are represented by the pseudo
"udeb-<arch>" architecture (e.g. "udeb-amd64").
(Closes: #766295)
2014-10-06 - Thijs Kinkhorst <thijs@debian.org>
apt-file (2.5.3) unstable; urgency=medium
* No longer install rapt-file. The backend service this tool uses
has unfortunately ceased to exist. (Closes: #729283)
* Checked for policy 3.9.6, no changes.
2014-07-09 - Niels Thykier <niels@thykier.net>
apt-file ( unstable; urgency=medium
* Apply patch from Pierre-Elliott B├ęcue to fix a
regression caused by the fix for #706284.
(Closes: #754312)
2014-06-22 - Niels Thykier <niels@thykier.net>
apt-file ( unstable; urgency=medium
* Avoid confusing error message caused by interpreting
a signal number as an "errno".  Thanks to Julien Cristau
for spotting this.  (Closes: #731056)
* Use the name of a signal rather than its number, when
subprocesses are kiled by such.
* Correct the Vcs-* URL's in d/control.  Thanks to Alberto
Fuentes for reporting this.  (Closes: #734714)
* Bump Standards-Versions to 3.9.5 - no changes required.
2014-06-19 - Niels Thykier <niels@thykier.net>
apt-file ( unstable; urgency=medium
* Gracefully handle spaces inside "option"-list in the
APT sources.list.  (Closes: #706284)
2013-05-05 - Niels Thykier <niels@thykier.net>
apt-file (2.5.2) unstable; urgency=low
[ Stefan Fritsch ]
* Properly detect failed attempt to apply patches. Closes: #687221
[ Niels Thykier ]
* New maintainer.  (Closes: #703366)
Kudos to Stefan Fritsch for his work on apt-file.
* When using "-f" and no files are given, default to stdin.
(Closes: #703594)
* Bump Standards-Versions to 3.9.4 - no changes required.
* Use the canonical URIs for the Vcs-* fields.
2012-06-03 - Thijs Kinkhorst <thijs@debian.org>
apt-file (2.5.1) unstable; urgency=low
[ Thijs Kinkhorst ]
* Fix searching for patterns that start with a '-'. This still requires
specifying '--' before the pattern (closes: #631438, LP: #801336)
* Unset env variables that may influence the behaviour of grep
(closes: #617183).
* Japanese translation of update-notifier text by Hideki Yamane
(closes: #641199).
* Improve man page layout and help output text. Thanks Jari Aalto for
the patch! (Closes: #651695)
* rapt-file: replace dpkg-architecture call with dpkg --architecture,
obsoleting the depends-heavy recommendation on dpkg-dev. Thanks
helix84 (Closes: #671225).
* Checked for policy 3.9.3, no changes needed. Add explicit python
recommendation, even though we transitively recommended it via
python-apt already, to satisfy Lintian.
* Add rapt-file manual page (Closes: #613005).
[ Enrico Zini ]
* rapt-file: Updated distribution names, now it works on wheezy.
(Closes: #663592)
* rapt-file: deal with missing /etc/apt/sources.list. (Closes: #636564)
2011-07-24 - Thijs Kinkhorst <thijs@debian.org>
apt-file (2.5.0) unstable; urgency=low
[ Paul Wise ]
* rapt-file: Drop python-apt wrapper shell script, detect the lack of a
python apt module in the rapt-file python code (Closes: #619414).
* mention rapt-file in the package description (Closes: #623632)
[ Thijs Kinkhorst ]
* apt-file: Include compontent in Contents file search paths so we
use ftp-master's new Contents files locations. This may break
compatibility with older suites that do not have this configuration
(Closes: #624734).
* rapt-file: Ignore files not ending in .list in sources.list.d
(Closes: #607861).
* rapt-file: Recommend dpkg-dev because we use dpkg-architecture
(Closes: #613006).
* Correct scp invocation in apt-file.conf (Closes: #624290).
* Small packaging cleanups.

See Also

Package Description
apt-forktracer_0.4_all.deb a utility for tracking non-official package versions
apt-listbugs_0.1.16_all.deb tool which lists critical bugs before each APT installation
apt-listchanges_2.85.13+nmu1_all.deb package change history notification tool
apt-listdifferences_1.20141011_all.deb source differences notification tool
apt-mirror_0.5.1-1_all.deb APT sources mirroring tool
apt-move_4.2.27-3_amd64.deb Maintain Debian packages in a package pool
apt-offline-gui_1.5.1_all.deb offline APT package manager - GUI
apt-offline_1.5.1_all.deb offline APT package manager
apt-p2p_0.1.8_all.deb apt helper for peer-to-peer downloads of Debian packages
apt-rdepends_1.3.0-3_all.deb Recursively lists package dependencies
apt-show-source_0.10_all.deb Shows source-package information
apt-show-versions_0.22.4_all.deb lists available package versions with distribution
apt-src_0.25.1-0.2_all.deb manage Debian source packages
apt-transport-https_1. https download transport for APT
apt-transport-spacewalk_1.0.6-4.1_all.deb APT transport for communicating with Spacewalk servers