6.46. Installing Gzip-1.3.5

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

6.46.1. 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

6.46.2.

6.46.3. Gzip Installation Dependencies

Gzip depends on: Bash, Binutils, Coreutils, Diffutils, GCC, Glibc, Grep, Make, Sed.

6.46.4.

6.46.5. 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

Hosting by: Hurra Communications Ltd.
Generated: 2007-01-26 17:57:39