lfs/chapter06/findutils-inst.xml
Mark Hymers 9ab8435289 [Bug 174] Add FHS notes to findutils
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@1346 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
2001-11-26 16:28:09 +00:00

29 lines
968 B
XML

<sect2>
<title>Installing Findutils</title>
<para>Before Findutils is installed the findutils patch file has
to be unpacked.</para>
<para>Install Findutils by running the following commands:</para>
<para><screen><userinput>patch -Np1 -i ../findutils-4.1.patch &amp;&amp;
./configure --prefix=/usr &amp;&amp;
make &amp;&amp;
make libexecdir=/usr/bin install</userinput></screen></para>
</sect2>
<sect2>
<title>FHS compliance notes</title>
<para>By default, the location of the updatedb database is in /usr/var.
If you would rather be FHS compliant, you may wish to use another
location. The following commands use the database file
<filename>/var/lib/misc/locatedb</filename> which is FHS compliant.</para>
<para><screen><userinput>patch -Np1 -i ../findutils-4.1.patch &amp;&amp;
./configure --prefix=/usr &amp;&amp;
make localstatedir=/var/lib/misc &amp;&amp;
make localstatedir=/var/lib/misc libexecdir=/usr/bin install</userinput></screen></para>
</sect2>