mirror of
https://git.linuxfromscratch.org/lfs.git
synced 2025-01-19 13:37:39 +00:00
69276a949a
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@3188 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
50 lines
1.4 KiB
XML
50 lines
1.4 KiB
XML
<sect1 id="ch06-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> </title><para> </para></sect2>
|
|
|
|
<sect2>
|
|
<title>Installation of Findutils</title>
|
|
|
|
<para>Prepare Findutils for compilation:</para>
|
|
|
|
<screen><userinput>./configure --prefix=/usr --libexecdir=/usr/lib/locate</userinput></screen>
|
|
|
|
<para>The default location for the <emphasis>locate</emphasis> database is
|
|
<filename>/usr/var</filename>. To make the location of this database
|
|
FHS-compliant, add <emphasis>--localstatedir=/var/lib/misc</emphasis>
|
|
to the above configure options.</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>
|
|
|
|
&aa-findutils-shortdesc;
|
|
&aa-findutils-desc;
|
|
|
|
</sect1>
|
|
|