A.3. Compilation and installation

Let's suppose you downloaded the archive xlocate-0.65.tar.gz in /tmp. In order to compile and install XLocate on your system, type the following:


% cd /tmp
% tar -xvzf xlocate-0.65.tar.gz
% cd xlocate-0.65
% ./configure
% make
% su -c 'make install'

XLocate uses qmake in the configure process. Should you run into problems please report them to the author.

You might want to use cron or at to automatically update the databases used by XLocate (of course not for read-only media like CDROMs). See the slocate doc or check with the debug option of XLocate to build the proper command lines to be given to cron or at.