3.9. Grep-3.12

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

Package Information

Grep Dependencies

Required

Gawk-5.4.0

3.9.1. Installation of Grep

Prepare Grep for compilation:

Now Configure the Package, issue:

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

To Compile the Package, issue:

make

Now Install the Package, issue:

make DESTDIR=$LFS install

3.9.2. Contents of Grep

Installed programs: PROGRAMS
Installed libraries: LIBRARIES
Installed directories: DIRECTORIES