2004-01-12 23:23:50 +00:00
|
|
|
<sect1 id="ch06-findutils" xreflabel="Findutils">
|
2001-07-23 19:23:43 +01:00
|
|
|
<title>Installing Findutils-&findutils-version;</title>
|
2001-09-26 01:24:04 +01:00
|
|
|
<?dbhtml filename="findutils.html" dir="chapter06"?>
|
2001-01-24 00:31:17 +00:00
|
|
|
|
2004-01-12 23:23:50 +00:00
|
|
|
<para>The Findutils package contains programs to find files. The finding is
|
|
|
|
done either by doing a live recursive search through a directory tree, or by
|
|
|
|
consulting a previously set up database.</para>
|
|
|
|
|
2001-07-22 20:45:10 +01:00
|
|
|
<screen>Estimated build time: &findutils-time;
|
2001-08-10 21:29:04 +01:00
|
|
|
Estimated required disk space: &findutils-compsize;</screen>
|
2001-07-17 19:51:18 +01:00
|
|
|
|
2004-01-12 23:23:50 +00:00
|
|
|
&aa-findutils-down;
|
2003-11-15 16:07:18 +00:00
|
|
|
&aa-findutils-dep;
|
2003-11-01 22:31:50 +00:00
|
|
|
|
|
|
|
<sect2><title> </title><para> </para></sect2>
|
|
|
|
|
|
|
|
<sect2>
|
|
|
|
<title>Installing Findutils</title>
|
|
|
|
|
|
|
|
<para>Prepare Findutils for compilation:</para>
|
|
|
|
|
2003-11-15 00:58:05 +00:00
|
|
|
<screen><userinput>./configure --prefix=/usr --libexecdir=/usr/lib/locate</userinput></screen>
|
2003-11-01 22:31:50 +00:00
|
|
|
|
|
|
|
<para>By default, the location of the updatedb database is in
|
|
|
|
<filename>/usr/var</filename>. To make the location of
|
|
|
|
<filename>/var/lib/misc/locatedb</filename> file FHS compliant, pass the
|
|
|
|
<emphasis>--localstatedir=/var/lib/misc</emphasis> option to
|
|
|
|
<userinput>configure</userinput>.</para>
|
|
|
|
|
|
|
|
<para>Compile the package:</para>
|
|
|
|
|
|
|
|
<screen><userinput>make</userinput></screen>
|
|
|
|
|
|
|
|
<para>This package has a test suite available which can perform a number of
|
|
|
|
checks to ensure it built correctly. Should you choose to run it, the
|
|
|
|
following command will do so:</para>
|
|
|
|
|
|
|
|
<screen><userinput>make check</userinput></screen>
|
|
|
|
|
|
|
|
<para>And install the package:</para>
|
|
|
|
|
|
|
|
<screen><userinput>make install</userinput></screen>
|
|
|
|
|
|
|
|
</sect2>
|
2001-01-24 00:31:17 +00:00
|
|
|
|
2004-01-12 23:23:50 +00:00
|
|
|
&aa-findutils-shortdesc;
|
|
|
|
&aa-findutils-desc;
|
|
|
|
|
2001-01-24 00:31:17 +00:00
|
|
|
</sect1>
|
|
|
|
|