findutils.xml 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. <sect1 id="ch-system-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>&buildtime; &findutils-time;
  8. &diskspace; &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>To have the results tested, issue:
  23. <userinput>make check</userinput>.</para>
  24. <para>And install the package:</para>
  25. <screen><userinput>make install</userinput></screen>
  26. </sect2>
  27. &aa-findutils-shortdesc;
  28. &aa-findutils-desc;
  29. </sect1>