lfs/chapter06/findutils.xml
Jeremy Utley 2a264e0bc2 Make findutils FHS-compliant
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@3264 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
2004-02-28 07:11:44 +00:00

46 lines
1.2 KiB
XML

<sect1 id="ch-system-findutils" xreflabel="Findutils">
<title>Installing Findutils-&findutils-version;</title>
<?dbhtml filename="findutils.html" dir="chapter06"?>
<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>
<screen>&buildtime; &findutils-time;
&diskspace; &findutils-compsize;</screen>
&aa-findutils-down;
&aa-findutils-dep;
<sect2><title>&nbsp;</title><para>&nbsp;</para></sect2>
<sect2>
<title>Installation of Findutils</title>
<para>Prepare Findutils for compilation:</para>
<screen><userinput>./configure --prefix=/usr --libexecdir=/usr/lib/locate \
--localstatedir=/var/lib/misc</userinput></screen>
<para>The localstatedir directive above changes the location of the locate
database to be in /var/lib/misc, which is FHS-compliant.</para>
<para>Compile the package:</para>
<screen><userinput>make</userinput></screen>
<para>To have the results tested, issue:
<userinput>make check</userinput>.</para>
<para>And install the package:</para>
<screen><userinput>make install</userinput></screen>
</sect2>
&aa-findutils-shortdesc;
&aa-findutils-desc;
</sect1>