Locate Is Missing from SuSE Linux 8.0

Support knowledgebase (mlasars_no_locate)
Applies to

SuSE Linux: Version 8.0

Symptom

When you enter locate, the following error message is displayed:

bash: locate: command not found

Cause

locate is no longer included in the standard installation of SuSE Linux 8.0.

Solution

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.


See also:
o Known Problems and Special Features in SuSE Linux 8.0
o Hard disk runs spontaneously

Keywords: LOCATE, UPDATEDB

SDB-mlasars_no_locate, Copyright SuSE Linux AG, Nürnberg, Germany - Version: 17. Apr 2002
SuSE Linux AG - Last generated: 07. Jun 2002 by glazzar (sdb_gen 1.40.0)