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