grep.xml 1.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. <sect1 id="ch-system-grep" xreflabel="Grep">
  2. <title>Installing Grep-&grep-version;</title>
  3. <?dbhtml filename="grep.html" dir="chapter06"?>
  4. <para>The Grep package contains programs for searching through files.</para>
  5. <screen>&buildtime; &grep-time;
  6. &diskspace; &grep-compsize;</screen>
  7. &aa-grep-down;
  8. &aa-grep-dep;
  9. <sect2><title>&nbsp;</title><para>&nbsp;</para></sect2>
  10. <sect2>
  11. <title>Installation of Grep</title>
  12. <para>Prepare Grep for compilation:</para>
  13. <screen><userinput>./configure --prefix=/usr --bindir=/bin --with-included-regex</userinput></screen>
  14. <para>Compile the package:</para>
  15. <screen><userinput>make</userinput></screen>
  16. <para>This package has a test suite available which can perform a number of
  17. checks to ensure it built correctly. Should you choose to run it, the
  18. following command will do so:</para>
  19. <screen><userinput>make check</userinput></screen>
  20. <para>And install the package:</para>
  21. <screen><userinput>make install</userinput></screen>
  22. </sect2>
  23. &aa-grep-shortdesc;
  24. &aa-grep-desc;
  25. </sect1>