findutils-inst.xml 968 B

12345678910111213141516171819202122232425262728
  1. <sect2>
  2. <title>Installing Findutils</title>
  3. <para>Before Findutils is installed the findutils patch file has
  4. to be unpacked.</para>
  5. <para>Install Findutils by running the following commands:</para>
  6. <para><screen><userinput>patch -Np1 -i ../findutils-4.1.patch &amp;&amp;
  7. ./configure --prefix=/usr &amp;&amp;
  8. make &amp;&amp;
  9. make libexecdir=/usr/bin install</userinput></screen></para>
  10. </sect2>
  11. <sect2>
  12. <title>FHS compliance notes</title>
  13. <para>By default, the location of the updatedb database is in /usr/var.
  14. If you would rather be FHS compliant, you may wish to use another
  15. location. The following commands use the database file
  16. <filename>/var/lib/misc/locatedb</filename> which is FHS compliant.</para>
  17. <para><screen><userinput>patch -Np1 -i ../findutils-4.1.patch &amp;&amp;
  18. ./configure --prefix=/usr &amp;&amp;
  19. make localstatedir=/var/lib/misc &amp;&amp;
  20. make localstatedir=/var/lib/misc libexecdir=/usr/bin install</userinput></screen></para>
  21. </sect2>