1 <sect1 id="ch-system-findutils" xreflabel="Findutils">
2 <title>Installing Findutils-&findutils-version;</title>
3 <?dbhtml filename="findutils.html" dir="chapter06"?>
5 <para>The Findutils package contains programs to find files. The finding is
6 done either by doing a live recursive search through a directory tree, or by
7 consulting a previously set up database.</para>
9 <screen>&buildtime; &findutils-time;
10 &diskspace; &findutils-compsize;</screen>
15 <sect2><title> </title><para> </para></sect2>
18 <title>Installation of Findutils</title>
20 <para>Prepare Findutils for compilation:</para>
22 <screen><userinput>./configure --prefix=/usr --libexecdir=/usr/lib/locate</userinput></screen>
24 <para>The default location for the <emphasis>locate</emphasis> database is
25 <filename>/usr/var</filename>. To make the location of this database
26 FHS-compliant, add <emphasis>--localstatedir=/var/lib/misc</emphasis>
27 to the above configure options.</para>
29 <para>Compile the package:</para>
31 <screen><userinput>make</userinput></screen>
33 <para>This package has a test suite available which can perform a number of
34 checks to ensure it built correctly. Should you choose to run it, the
35 following command will do so:</para>
37 <screen><userinput>make check</userinput></screen>
39 <para>And install the package:</para>
41 <screen><userinput>make install</userinput></screen>
45 &aa-findutils-shortdesc;