updatedb

Create or update the database used by locate. It is usually run daily by cron. More information: <https://manned.org/updatedb>.

Debian Debian
RUN apt-get update && \ apt-get install -y mlocate
Ubuntu
RUN apt-get update && \ apt-get install -y mlocate
Alpine
RUN apk add mlocate
Arch Arch Linux
RUN pacman -S --noconfirm mlocate
image/svg+xml Kali Linux
RUN apt-get update && \ apt-get install -y mlocate
CentOS
RUN yum install -y mlocate
Fedora
RUN dnf install -y mlocate
Raspbian
RUN apt-get update && \ apt-get install -y mlocate
click the source code to copy install updatedb on any operating system with command-not-found.com