findutils.xml 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. <sect1 id="ch06-findutils">
  2. <title>Installing Findutils-&findutils-version;</title>
  3. <?dbhtml filename="findutils.html" dir="chapter06"?>
  4. <screen>Estimated build time: &findutils-time;
  5. Estimated required disk space: &findutils-compsize;</screen>
  6. &aa-findutils-shortdesc;
  7. &aa-findutils-dep;
  8. <sect2><title>&nbsp;</title><para>&nbsp;</para></sect2>
  9. <sect2>
  10. <title>Installing Findutils</title>
  11. <para>Prepare Findutils for compilation:</para>
  12. <screen><userinput>./configure --prefix=/usr --libexecdir=/usr/lib/locate</userinput></screen>
  13. <para>By default, the location of the updatedb database is in
  14. <filename>/usr/var</filename>. To make the location of
  15. <filename>/var/lib/misc/locatedb</filename> file FHS compliant, pass the
  16. <emphasis>--localstatedir=/var/lib/misc</emphasis> option to
  17. <userinput>configure</userinput>.</para>
  18. <para>Compile the package:</para>
  19. <screen><userinput>make</userinput></screen>
  20. <para>This package has a test suite available which can perform a number of
  21. checks to ensure it built correctly. Should you choose to run it, the
  22. following command will do so:</para>
  23. <screen><userinput>make check</userinput></screen>
  24. <para>And install the package:</para>
  25. <screen><userinput>make install</userinput></screen>
  26. </sect2>
  27. </sect1>