Estimated build time: 1 minute Estimated required disk space: 1 MB |
Install Gzip by running the following commands:
./configure --prefix=/usr && cp gzexe.in gzexe.in.backup && sed 's%"BINDIR"%/bin%' gzexe.in.backup > gzexe.in && make && make install && cd /usr/bin && mv gzip /bin && rm gunzip zcat && cd /bin && ln -sf gzip gunzip && ln -sf gzip zcat && ln -sf gunzip uncompress |
gunzip (link to gzip), gzexe, gzip, uncompress (link to gunzip), zcat (link to gzip), zcmp, zdiff, zforce, zgrep, zmore and znew
gunzip and uncompress decompress files which are compressed with gzip.
gzexe allows you to compress executables in place and have them automatically uncompress and execute when they are run (at a penalty in performance).
gzip reduces the size of the named files using Lempel-Ziv coding (LZ77).
zcat uncompresses either a list of files on the command line or its standard input and writes the uncompressed data on standard output
zcmp invokes the cmp program on compressed files.
zdiff invokes the diff program on compressed files.
zforce forces a .gz extension on all gzip files so that gzip will not compress them twice. This can be useful for files with names truncated after a file transfer.
zgrep invokes the grep program on compressed files.
zmore is a filter which allows examination of compressed or plain text files one screen at a time on a soft-copy terminal (similar to the more program).
znew re-compresses files from .Z (compress) format to .gz (gzip) format.
Gzip-1.2.4a needs the following to be installed:
bash: sh
binutils: as, ld, nm
fileutils: chmod, cp, ln, mv, rm
gcc: cc
grep: grep
make: make
sed: sed
textutils: cat, tr