%general-entities; ]> Gzip-&gzip-version; Gzip <para>The Gzip package contains programs for compressing and decompressing files.</para> <segmentedlist> <segtitle>&buildtime;</segtitle> <segtitle>&diskspace;</segtitle> <seglistitem><seg>0.1 SBU</seg><seg>2.6 MB</seg></seglistitem> </segmentedlist> <segmentedlist> <segtitle>Gzip installation depends on</segtitle> <seglistitem><seg>Bash, Binutils, Coreutils, Diffutils, GCC, Glibc, Grep, Make, Sed</seg></seglistitem> </segmentedlist> </sect2> <sect2 role="installation"> <title>Installation of Gzip Prepare Gzip for compilation: ./configure --prefix=/usr The gzexe script has the location of the gzip binary hard-wired into it. Because we later change the location of the binary, the following command ensures that the new location gets placed into the script: sed -i 's%"BINDIR"%/bin%' gzexe.in Compile the package: make Install the package: make install 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 Contents of Gzip 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 Short descriptions gunzip gunzip decompresses gzipped files. gzexe gzexe is used to create self-uncompressing executable files. gzip gzip compresses the given files, using Lempel-Ziv (LZ77) coding. zcat zcat uncompresses the given gzipped files to standard output. zcmp zcmp runs cmp on gzipped files. zdiff zdiff runs diff on gzipped files. zegrep zegrep runs egrep on gzipped files. zfgrep zfgrep runs fgrep on gzipped files. zforce zforce forces a .gz extension on all given files that are gzipped files, so that gzip will not compress them again. This can be useful when file names were truncated during a file transfer. zgrep zgrep runs grep on gzipped files. zless zless runs less on gzipped files. zmore zmore runs more on gzipped files. znew znew re-compresses files from compress format to gzip format -- .Z to .gz.