8.55. Gawk-5.1.0

#### Linux From Scratch - Version 10.0

### Chapter 8. Installing Basic System Software

- Prev

  Diffutils-3.7

- Next

  Findutils-4.7.0

- Up
- Home

# 8.55. Gawk-5.1.0

The Gawk package contains programs for manipulating text files.

Approximate build time: 0.5 SBU
Required disk space: 43 MB

## 8.55.1. Installation of Gawk

First, ensure some unneeded files are not installed:

    sed -i 's/extras//' Makefile.in

Prepare Gawk for compilation:

    ./configure --prefix=/usr

Compile the package:

    make

To test the results, issue:

    make check

Install the package:

    make install

If desired, install the documentation:

    mkdir -v /usr/share/doc/gawk-5.1.0
    cp    -v doc/{awkforai.txt,*.{eps,pdf,jpg}} /usr/share/doc/gawk-5.1.0

## 8.55.2. Contents of Gawk

Installed programs: awk (link to gawk), gawk, and awk-5.1.0
Installed libraries: filefuncs.so, fnmatch.so, fork.so, inplace.so, intdiv.so, ordchr.so, readdir.so, readfile.so, revoutput.so, revtwoway.so, rwarray.so, and time.so (all in /usr/lib/gawk)
Installed directories: /usr/lib/gawk, /usr/libexec/awk, /usr/share/awk, and /usr/share/doc/gawk-5.1.0

### Short Descriptions

awk | A link to gawk
gawk | A program for manipulating text files; it is the GNU implementation of awk
gawk-5.1.0 | A hard link to gawk

- Prev

  Diffutils-3.7

- Next

  Findutils-4.7.0

- Up
- Home