dlocate - fast alternative to dpkg -L and dpkg -S

Property Value
Distribution Ubuntu 18.04 LTS (Bionic Beaver)
Repository Ubuntu Universe amd64
Package name dlocate
Package version 1.07+nmu1
Package architecture all
Package type deb
Installed size 69 B
Download size 18.34 KB
Official Mirror archive.ubuntu.com
Uses GNU grep and text dumps of dpkg's data to greatly speed up finding out which
package a file belongs to (i.e. a very fast dpkg -S). Many other uses,
including options to view all files in a package, calculate disk space
used, view and check md5sums, list man pages, etc.


Package Version Architecture Repository
dlocate_1.07+nmu1_all.deb 1.07+nmu1 all Ubuntu Universe
dlocate - - -


Name Value
dctrl-tools -
dpkg >= 1.8.0
grep-dctrl >= 0.11
perl:any -
util-linux -


Type URL
Binary Package dlocate_1.07+nmu1_all.deb
Source Package dlocate

Install Howto

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




2017-01-22 - Andreas Beckmann <anbe@debian.org>
dlocate (1.07+nmu1) unstable; urgency=medium
* Non-maintainer upload.
* Skip cronjob if dlocate is no longer installed.  (Closes: #829473)
* Add missing build-{arch,indep} targets.
2016-06-21 - Craig Sanders <cas@taz.net.au>
dlocate (1.07) unstable; urgency=medium
* (Closes: #532061,  #407412, #532704, #563595, #567080, #614664, #733864, #788661, #567080)
2016-06-21 - Craig Sanders <cas@taz.net.au>
dlocate (1.06) unstable; urgency=medium
* added util-linux to dependencies
2016-06-20 - Craig Sanders <cas@taz.net.au>
dlocate (1.05) unstable; urgency=low
* completely rewrote option parsing, now uses getopt from util-linux
long options now use --.  Backwards-compatibility is maintained
by using getopt's `-a` option.  (Closes: #532061)
* added `-p` and `-f` as short options for `--package-only` and `--filename-only`
* improved `dlocate -k`, and sorted output.
* added support for `+` characters in package names for 'dlocate -s'
* fixed `--lsbin` to use `stat -c '%A %n'` rather than `ls -lLd`
* added support for virtual packages in `-s` (Closes: #407412)
* warnings and errors now go to stderr (Closes: #532704)
* added note about update-dlocatedb to man page (Closes: #563595, #567080)
* `dlocate -l` shows more of the package names (Closes: #614664)
* added full path to error messages mentioning the .list file (Closes: #733864)
* added --lsdir option to list directories (Closes: #788661)
* update-dlocatedb now updates `dlocate -l` info (Closes: #567080)  
* now being maintained on github https://github.com/craig-sanders/dlocate
forks and pull requests welcome.
2012-12-29 - John Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de>
dlocate (1.02+nmu3) unstable; urgency=low
* Non-maintainer upload.
* Fix handling of multiple arguments for several commands (Closes: #563881).
* Fix dlocate return codes for several commands on exit (Closes: #564293).
2012-12-28 - John Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de>
dlocate (1.02+nmu2) unstable; urgency=low
* Non-maintainer upload.
* Add missing "--" when invoking grep command (Closes: #587179).
* Fix bash completion for package names in dlocate (Closes: # 658669).
* Fix incorrect exit code 0 on failed search (Closes: #689647).
* Fix parameter passing to dlocate_option_error() in dlocate (Closes: # 690758).
2012-12-21 - John Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de>
dlocate (1.02+nmu1) unstable; urgency=low
* Non-maintainer upload.
* Fix several mistakes in manpages (Closes: #586483, #692896, #696479).
2009-06-03 - Craig Sanders <cas@taz.net.au>
dlocate (1.02) unstable; urgency=low
* fixed example in dlocate.1 man page again (Closes: #466662)
* added '-k', and '-K' commands to list kernels and related packages
* added optional support for gzip compression of /var/lib/dlocate/dlocatedb.txt
* added support output filters (--package-only, --filename-only) (Closes: #531641)
2009-06-01 - Craig Sanders <cas@taz.net.au>
dlocate (1.01) unstable; urgency=low
* added support for diversions (Closes: #304045)
* fixed copy/paste error for -P (now correctly passes -P to grep rather than -E)
* really moved the four dpkg-* man pages to section 8

See Also

Package Description
dlume_0.2.4-14_amd64.deb simple and easy to use addressbook (GTK+)
dlz-ldap-enum_1.1.0-1_amd64.deb Plug-in for bind9 that uses LDAP data to fulfill ENUM requests
dm-writeboost-dkms_2.2.8-1ubuntu2_all.deb log-structured caching for Linux
dma_0.11-1build1_amd64.deb lightweight mail transport agent
dmg2img_1.6.7-1build1_amd64.deb Tool for converting compressed dmg files to hfsplus images
dmitry_1.3a-1build1_amd64.deb Deepmagic Information Gathering Tool
dmktools_0.14.0-2_amd64.deb tools for manipulating floppy disk images in the dmk format
dms-core_1.0.8.1-1ubuntu1_amd64.deb bind9 DNS Management System, core system
dms-doc_1.0.8.1-1ubuntu1_all.deb bind9 DNS Management System, HTML documentation
dms-dr_1.0.8.1-1ubuntu1_amd64.deb bind9 DNS Management System, DR scripts and setup
dms-wsgi_1.0.8.1-1ubuntu1_amd64.deb bind9 DNS Management System, WSGI JSON http RPC backend
dms_1.0.8.1-1ubuntu1_amd64.deb bind9 DNS Management System, master server meta-package
dmtcp_2.3.1-6_amd64.deb Checkpoint/Restart functionality for Linux processes
dmtracedump_7.0.0+r33-1_amd64.deb Java method trace dump tool
dmtx-utils_0.7.4-1build2_amd64.deb Utilities for reading and writing Data Matrix 2D barcodes