Free Hosting Online for WorkStations

< Previous | Contents | Next >

6.57.1. Installation of Gawk

First, ensure some unneeded files are not installed:


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

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

Prepare Gawk for compilation:


./configure --prefix=/usr

./configure --prefix=/usr

Compile the package:


make

make

To test the results, issue:


make check

make check

Install the package:


make install

make install

If desired, install the documentation:


mkdir -v /usr/share/doc/gawk-5.0.1

mkdir -v /usr/share/doc/gawk-5.0.1


cp

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

cp


Top OS Cloud Computing at OnWorks: