1 <?xml version="1.0" encoding="ISO-8859-1"?>
2 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.3CR2//EN" "http://www.docbook.org/xml/4.3CR2/docbookx.dtd" [
3 <!ENTITY % grep-entities SYSTEM "../ent/grep.ent">
7 <title>Installing Grep-&grep-version;</title>
8 <?dbhtml filename="grep.html"?>
10 <screen>Estimated build time: 0.1 SBU
11 Estimated required disk space: 5.8 MB</screen>
13 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="../appendixa/grep-contents.xml"/>
17 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="../appendixa/grep-deps.xml"/>
22 <title>Installation of Grep</title>
24 <para>Prepare Grep for compilation:</para>
26 <screen><userinput>./configure --prefix=/usr --bindir=/bin \
27 --with-included-regex</userinput></screen>
29 <para>Compile the package:</para>
31 <screen><userinput>make</userinput></screen>
33 <para>This package has a test suite available which can perform a number of
34 checks to ensure it built correctly. Should you choose to run it, the
35 following command will do so:</para>
37 <screen><userinput>make check</userinput></screen>
39 <para>And install the package:</para>
41 <screen><userinput>make install</userinput></screen>