findutils.xml 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  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 \
  16. --localstatedir=/var/lib/misc</userinput></screen>
  17. <para>The localstatedir directive above changes the location of the locate
  18. database to be in /var/lib/misc, which is FHS-compliant.</para>
  19. <para>Compile the package:</para>
  20. <screen><userinput>make</userinput></screen>
  21. <para>To have the results tested, issue:
  22. <userinput>make check</userinput>.</para>
  23. <para>And install the package:</para>
  24. <screen><userinput>make install</userinput></screen>
  25. </sect2>
  26. &aa-findutils-shortdesc;
  27. &aa-findutils-desc;
  28. </sect1>