making up for cvs export not creating empy dirs
[linux_from_scratch.git] / BOOK / chapter06 / findutils-inst.xml
blobdafebd625252fa41a410d864952792181ded6cba
1 <sect2>
2 <title>Installing Findutils</title>
4 <para>Before Findutils is installed the findutils patch file has 
5 to be unpacked.</para>
7 <para>Install Findutils by running the following commands:</para>
9 <para><screen><userinput>patch -Np1 -i ../findutils-4.1.patch &amp;&amp;
10 ./configure --prefix=/usr &amp;&amp;
11 make &amp;&amp;
12 make libexecdir=/usr/bin install</userinput></screen></para>
14 </sect2>
15 <sect2>
16 <title>FHS compliance notes</title>
18 <para>By default, the location of the updatedb database is in /usr/var.
19 If you would rather be FHS compliant, you may wish to use another
20 location.  The following commands use the database file 
21 <filename>/var/lib/misc/locatedb</filename> which is FHS compliant.</para>
23 <para><screen><userinput>patch -Np1 -i ../findutils-4.1.patch &amp;&amp;
24 ./configure --prefix=/usr &amp;&amp;
25 make localstatedir=/var/lib/misc &amp;&amp;
26 make localstatedir=/var/lib/misc libexecdir=/usr/bin install</userinput></screen></para>
28 </sect2>