mlocate - quickly find files on the filesystem based on their name

Property Value
Distribution Ubuntu 16.04 LTS (Xenial Xerus)
Repository Ubuntu Main amd64
Package filename mlocate_0.26-1ubuntu2_amd64.deb
Package name mlocate
Package version 0.26
Package release 1ubuntu2
Package architecture amd64
Package type deb
Category utils
License -
Maintainer Ubuntu Developers <>
Download size 44.33 KB
Installed size 228.00 KB
mlocate is a new implementation of locate, a tool to find files
anywhere in the filesystem based on their name, using a fixed pattern
or a regular expression. Unlike other tools like find(1), locate uses
a previously created database to perform the search, allowing queries
to execute much faster. This database is updated periodically from
Several implementations of locate exist: the original implementation
from GNU's findutils, slocate, and mlocate. The advantages of mlocate
* it indexes all the filesystem, but results of a search will only
include files that the user running locate has access to. It does
this by updating the database as root, but making it unreadable for
normal users, who can only access it via the locate binary. slocate
does this as well, but not the original locate.
* instead of re-reading all the contents of all directories each time
the database is updated, mlocate keeps timestamp information in its
database and can know if the contents of a directory changed without
reading them again. This makes updates much faster and less demanding
on the hard drive. This feature is only found in mlocate.
Installing mlocate will change the /usr/bin/locate binary to point to
mlocate via the alternatives mechanism. After installation, you may
wish to run /etc/cron.daily/mlocate by hand to create the database,
otherwise mlocate won't work until that script is run from cron itself
(since mlocate does not use the same database file as standard locate).
Also, you may wish to remove the "locate" package in order not to have
two different database files updated regularly on your system.


Package Version Architecture Repository
mlocate_0.26-1ubuntu2_i386.deb 0.26 i386 Ubuntu Main
mlocate - - -


Name Value
adduser -
libc6 >= 2.14


Name Value
findutils <= 4.2.31-1
slocate <= 3.1-1.1


Type URL
Binary Package mlocate_0.26-1ubuntu2_amd64.deb
Source Package mlocate

Install Howto

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




2014-11-18 - Didier Roche <>
mlocate (0.26-1ubuntu2) vivid; urgency=medium
* debian/updatedb.conf:
- add /var/lib/schroot to PRUNEPATHS list to avoid indexing local
schroot like build systems.
2013-06-20 - Colin Watson <>
mlocate (0.26-1ubuntu1) saucy; urgency=low
* Resynchronise with Debian (locking fix closes LP: #731632).  Remaining
- Add ecryptfs, fusesmb, and devtmpfs to PRUNEFS.
- Add /home/.ecryptfs to PRUNEPATHS.
2013-06-13 - Tollef Fog Heen <>
mlocate (0.26-1) unstable; urgency=low
* New upstream release.  Closes: #669368
- Stops using PATH_MAX.  Closes: #610209
* The filesystem type for Lustre is lustre, not lustre_lite.  Update
updatedb.conf accordingly.  Closes: #660781
* Fix up locking in cron.daily.  Closes: #611096
* rm -rf /var/lib/mlocate on purge, don't just take out single files.
Closes: #542616
2013-02-08 - Colin Watson <>
mlocate (0.25-0ubuntu2) raring; urgency=low
* Update config.guess and config.sub from autotools-dev 20120608.1.
2012-07-27 - Logan Rosen <>
mlocate (0.25-0ubuntu1) quantal; urgency=low
* New upstream release.
2011-08-17 - Colin Watson <>
mlocate (0.23.1-1ubuntu2) oneiric; urgency=low
* Add /home/.ecryptfs to PRUNEPATHS (LP: #827841).
2010-10-12 - Colin Watson <>
mlocate (0.23.1-1ubuntu1) natty; urgency=low
* Resynchronise with Debian.  Remaining changes:
- Add ecryptfs, fusesmb, and devtmpfs to PRUNEFS.
2010-09-25 - Tollef Fog Heen <>
mlocate (0.23.1-1) unstable; urgency=low
* New upstream release
- Updated translations
- Don't prune no-op bind mounts (mounting a directory over itself)
* Remove Thomas Jollans from Uploaders. Closes: #573428
* Add curlftpfs to default exclude list.  Closes: #585746
* Stop removing the mlocate group on purge.  Closes: #561469
2010-03-24 - Colin Watson <>
mlocate (0.22.2-1ubuntu1) lucid; urgency=low
* Add ecryptfs to PRUNEFS (LP: #372631).
* Add fusesmb to PRUNEFS (LP: #222504).
* Add devtmpfs to PRUNEFS; tmpfs was already there, so this should cover
/dev (LP: #355404).
2009-11-03 - Tollef Fog Heen <>
mlocate (0.22.2-1) unstable; urgency=low
* New upstream version
- Updated translations
- Fix format docs
- Ignore --require-visibility in locate if the database is not owned
by group mlocate or it is readable by others (#7).
- Refuse to open unprivileged databases in directories only accessible
by group mlocate.

See Also

Package Description
mobile-broadband-provider-info_20140317-1_all.deb database of mobile broadband service providers
modemmanager-dev_1.4.12-1ubuntu1_amd64.deb D-Bus service for managing modems - development files
modemmanager-doc_1.4.12-1ubuntu1_all.deb D-Bus service for managing modems - documentation files
modemmanager_1.4.12-1ubuntu1_amd64.deb D-Bus service for managing modems
mokutil_0.3.0-0ubuntu3_amd64.deb tools for manipulating machine owner keys
monitoring-plugins-basic_2.1.2-2ubuntu2_amd64.deb Plugins for nagios compatible monitoring systems (basic)
monitoring-plugins-common_2.1.2-2ubuntu2_amd64.deb Common files for plugins for nagios compatible monitoring
monitoring-plugins-standard_2.1.2-2ubuntu2_amd64.deb Plugins for nagios compatible monitoring systems (standard)
monitoring-plugins_2.1.2-2ubuntu2_all.deb Plugins for nagios compatible monitoring systems (metapackage)
mono-4.0-gac_4.2.1.102+dfsg2-7ubuntu4_all.deb Mono GAC tool (for CLI 4.0)
mono-csharp-shell_4.2.1.102+dfsg2-7ubuntu4_all.deb interactive C# shell
mono-devel_4.2.1.102+dfsg2-7ubuntu4_all.deb Mono development tools
mono-gac_4.2.1.102+dfsg2-7ubuntu4_all.deb Mono GAC tool
mono-mcs_4.2.1.102+dfsg2-7ubuntu4_all.deb Mono C# 2.0 / 3.0 / 4.0 / 5.0 compiler for CLI 2.0 / 4.0 / 4.5
mono-runtime-boehm_4.2.1.102+dfsg2-7ubuntu4_amd64.deb Mono runtime - Boehm