findutils.xml 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. <sect1 id="ch06-findutils" xreflabel="Findutils">
  2. <title>Installing Findutils-&findutils-version;</title>
  3. <?dbhtml filename="findutils.html" dir="chapter06"?>
  4. <para>The Findutils package contains programs to find files. The finding is
  5. done either by doing a live recursive search through a directory tree, or by
  6. consulting a previously set up database.</para>
  7. <screen>Estimated build time: &findutils-time;
  8. Estimated required disk space: &findutils-compsize;</screen>
  9. &aa-findutils-down;
  10. &aa-findutils-dep;
  11. <sect2><title>&nbsp;</title><para>&nbsp;</para></sect2>
  12. <sect2>
  13. <title>Installation of Findutils</title>
  14. <para>Prepare Findutils for compilation:</para>
  15. <screen><userinput>./configure --prefix=/usr --libexecdir=/usr/lib/locate</userinput></screen>
  16. <para>The default location for the <emphasis>locate</emphasis> database is
  17. <filename>/usr/var</filename>. To make the location of this database
  18. FHS-compliant, add <emphasis>--localstatedir=/var/lib/misc</emphasis>
  19. to the above configure options.</para>
  20. <para>Compile the package:</para>
  21. <screen><userinput>make</userinput></screen>
  22. <para>This package has a test suite available which can perform a number of
  23. checks to ensure it built correctly. Should you choose to run it, the
  24. following command will do so:</para>
  25. <screen><userinput>make check</userinput></screen>
  26. <para>And install the package:</para>
  27. <screen><userinput>make install</userinput></screen>
  28. </sect2>
  29. &aa-findutils-shortdesc;
  30. &aa-findutils-desc;
  31. </sect1>