Linux From Scratch: Version 5.0-pre3
Prev | Chapter 6. Installing basic system software | Next

# Installing Grep-2.5.1

    Estimated build time:           0.1 SBU
    Estimated required disk space:  5.8 MB

## Contents of Grep

(Last checked against version 2.5.1.)

Grep is a program used to print lines from a file matching a specified pattern.

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

##

## Grep Installation Dependencies

(Last checked against version 2.4.2.)

Bash: sh
Binutils: as, ld
Coreutils: basename, cat, chmod, echo, expr, hostname, install,
ls, mkdir, mv, rm, sleep, tr, uname
Diffutils: cmp
Gawk: gawk
GCC: cc, cc1, collect2, cpp, gcc
Gettext: msgfmt, xgettext
Glibc: getconf
Grep: egrep, fgrep, grep
M4: m4
Make: make
Sed: sed
Texinfo: install-info, makeinfo

##

## Installation of Grep

Prepare Grep for compilation:

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

Compile the package:

    make

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:

    make check

And install the package:

    make install

Prev | Home | Next
Installing E2fsprogs-1.34 | Up | Installing Grub-0.93