Grep-2.5.1
Prev | Chapter 6. Installing basic system software | Next

## Grep-2.5.1

The Grep package contains programs for searching through files.

    Approximate build time:  0.1 SBU
    Required disk space:     5.8 MB

Grep installation depends on: Bash, Binutils, Coreutils, Diffutils, GCC, Gettext, Glibc, Make, Sed, Texinfo.

### Installation of Grep

Prepare Grep for compilation:

    ./configure --prefix=/usr --bindir=/bin --with-included-regex

Compile the package:

    make

To test the results, issue: `make check`.

Now install the package:

    make install

### Contents of Grep

Installed programs: egrep (link to grep), fgrep (link to grep) and grep

### Short descriptions

egrep prints lines matching an extended regular expression.

fgrep prints lines matching a list of fixed strings.

grep prints lines matching a basic regular expression.

Prev | Up | Next
E2fsprogs-1.35 | Home | Grub-0.94