6.10. Grep-3.12

#### Linux From Scratch - Version r13.0-174-systemd

### Chapter 6. Cross Compiling Temporary Tools

- Prev

  Gawk-5.4.1

- Next

  Gzip-1.14

- Up
- Home

# 6.10. Grep-3.12

The Grep package contains programs for searching through the contents of files.

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

## 6.10.1. Installation of Grep

Prepare Grep for compilation:

    ./configure --prefix=/usr   \
                --host=$LFS_TGT \
                --build=$(./build-aux/config.guess)

Compile the package:

    make

Install the package:

    make DESTDIR=$LFS install

Details on this package are located in Section 8.38.2, “Contents of Grep.”

- Prev

  Gawk-5.4.1

- Next

  Gzip-1.14

- Up
- Home