Installing Gzip-1.3.5

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

Contents of Gzip

(Last checked against version 1.3.5.)

The Gzip package contains programs to compress and decompress files using the Lempel-Ziv coding (LZ77).

Installed programs: gunzip (link to gzip), gzexe, gzip, uncompress (link to gunzip), zcat (link to gzip), zcmp, zdiff, zegrep, zfgrep, zforce, zgrep, zless, zmore and znew

Gzip Installation Dependencies

(Last checked against version 1.2.4a.)

Bash: sh
Binutils: as, ld, nm
Coreutils: cat, chmod, cp, hostname, install, ln, mv, rm, tr
GCC: cc1, collect2, cpp, gcc
Grep: egrep, grep
Make: make
Sed: sed

Installation of Gzip

Prepare Gzip for compilation:

./configure --prefix=/usr

The gzexe program has the location of the gzip binary hard-wired into it. Because we later change the location of this binary, the following command will place the new location into the gzexe binary.

cp gzexe.in{,.backup}
sed 's%"BINDIR"%/bin%' gzexe.in.backup > gzexe.in

Compile the package:

make

Install the package:

make install

And move the programs to the /bin directory:

mv /usr/bin/gzip /bin
rm /usr/bin/{gunzip,zcat}
ln -s gzip /bin/gunzip
ln -s gzip /bin/zcat
ln -s gunzip /bin/uncompress