locate uses an index you need to update using updatedb before it is able to find anything.
updatedb may run periodically because of a cron job, but the index is probably missing right after installing it manually.
locate uses an index you need to update using updatedb before it is able to find anything.
updatedb may run periodically because of a cron job, but the index is probably missing right after installing it manually.