SuSE Linux: Version 8.0
When you enter locate, the following error message is displayed:
bash: locate: command not found
locate
is no longer included in the standard installation of SuSE Linux 8.0.
Install the package findutils-locate with YaST2.
To do this, start the YaST2 Control Center. Go to Software,
Install/Remove Software, press "Search", and
enter locate
. A double-click on the package
marks it with an X. Confirm and the package will be installed.
You can also install the package through a terminal by
opening a console or Xterm, logging in as root
with sux -
, and entering:
yast2 -i findutils-locate
After the package is installed with YaST2, a cronjob will start every night at 00:15 to update the database. If the computer is turned off at that time, the cronjob will be launched a few minutes after boot. You may notice hard disk activity. To use locate immediately after installation, perform this update manually by running /etc/cron.daily/updatedb as root.