aboutsummaryrefslogtreecommitdiffstats
path: root/chapter06/grep.xml
blob: 8d5f488d8c92a07de6d595101cf2de5f42b07497 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
<sect1 id="ch-system-grep" xreflabel="Grep">
<title>Installing Grep-&grep-version;</title>
<?dbhtml filename="grep.html" dir="chapter06"?>

<para>The Grep package contains programs for searching through files.</para>

<screen>&buildtime; &grep-time;
&diskspace; &grep-compsize;</screen>

&aa-grep-down;
&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>

&aa-grep-shortdesc;
&aa-grep-desc;

</sect1>