%general-entities; ]> gzip &gzip-version;
&gzip-url;
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>&gzip-ch6-sbu;</seg> <seg>&gzip-ch6-du;</seg> </seglistitem> </segmentedlist> </sect2> <sect2 role="installation"> <title>Installation of Gzip Prepare Gzip for compilation: ./configure --prefix=/usr Compile the package: make To test the results, issue: make check Two tests are known to fail in the LFS environment: help-version and zmore. Install the package: make install Move a program that needs to be on the root filesystem: mv -v /usr/bin/gzip /bin Contents of Gzip Installed programs gunzip, gzexe, gzip, uncompress (hard link with gunzip), zcat, zcmp, zdiff, zegrep, zfgrep, zforce, zgrep, zless, zmore, and znew Short Descriptions gunzip Decompresses gzipped files gunzip gzexe Creates self-decompressing executable files gzexe gzip Compresses the given files using Lempel-Ziv (LZ77) coding gzip uncompress Decompresses compressed files uncompress zcat Decompresses the given gzipped files to standard output zcat zcmp Runs cmp on gzipped files zcmp zdiff Runs diff on gzipped files zdiff zegrep Runs egrep on gzipped files zegrep zfgrep Runs fgrep on gzipped files zfgrep 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 zforce zgrep Runs grep on gzipped files zgrep zless Runs less on gzipped files zless zmore Runs more on gzipped files zmore znew Re-compresses files from compress format to gzip format—.Z to .gz znew