lfs/chapter06/findutils-inst.xml

31 lines
1006 B
XML
Raw Normal View History

<sect2><title>&nbsp;</title><para>&nbsp;</para></sect2>
<sect2>
<title>Installing Findutils</title>
<para>Prepare Findutils for compilation:</para>
<para><screen><userinput>./configure --prefix=/usr --libexecdir=/usr/bin</userinput></screen></para>
<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>
<para><screen><userinput>make</userinput></screen></para>
<para>This package has a testsuite 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>
<para><screen><userinput>make check</userinput></screen></para>
<para>And install the package:</para>
<para><screen><userinput>make install</userinput></screen></para>
</sect2>