Installing Gzip-1.3.5

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

Contents of Gzip

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

Gzip depends on: Bash, Binutils, Coreutils, Diffutils, GCC, Glibc, Grep, Make, 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 latter binary, the following command assures that the new location gets placed into the 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