grep.xml 1.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. <sect1 id="ch06-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 \
  14. &nbsp;&nbsp;&nbsp;&nbsp;--with-included-regex</userinput></screen>
  15. <para>Compile the package:</para>
  16. <screen><userinput>make</userinput></screen>
  17. <para>This package has a test suite available which can perform a number of
  18. checks to ensure it built correctly. Should you choose to run it, the
  19. following command will do so:</para>
  20. <screen><userinput>make check</userinput></screen>
  21. <para>And install the package:</para>
  22. <screen><userinput>make install</userinput></screen>
  23. </sect2>
  24. &aa-grep-shortdesc;
  25. &aa-grep-desc;
  26. </sect1>