LDP/LDP/retired/LFS/chapter06/grep.xml

39 lines
970 B
XML

<sect1 id="ch06-grep">
<title>Installing Grep-&grep-version;</title>
<?dbhtml filename="grep.html" dir="chapter06"?>
<screen>Estimated build time: &grep-time;
Estimated required disk space: &grep-compsize;</screen>
&aa-grep-shortdesc;
&aa-grep-dep;
<sect2><title>&nbsp;</title><para>&nbsp;</para></sect2>
<sect2>
<title>Installation of Grep</title>
<para>Prepare Grep for compilation:</para>
<screen><userinput>./configure --prefix=/usr --bindir=/bin \
&nbsp;&nbsp;&nbsp;&nbsp;--with-included-regex</userinput></screen>
<para>Compile the package:</para>
<screen><userinput>make</userinput></screen>
<para>This package has a test suite available which can perform a number of
checks to ensure it built correctly. Should you choose to run it, the
following command will do so:</para>
<screen><userinput>make check</userinput></screen>
<para>And install the package:</para>
<screen><userinput>make install</userinput></screen>
</sect2>
</sect1>