%general-entities; ]> Gzip-&gzip-version; Gzip <para>The Gzip package contains programs for compressing and decompressing files.</para> </sect2> &env-target; <sect2 role="installation"> <title>Installation of Gzip The following command renames the internal implementation of futimens to gl_futimens as newer versions of Glibc provide an incompatible version: for file in $(grep -lr futimens *); do cp -v ${file}{,.orig} sed -e "s/futimens/gl_&/" ${file}.orig > ${file} done Prepare Gzip for compilation: ./configure --build=${CLFS_HOST} --host=${CLFS_TARGET} \ --prefix=/usr --bindir=/bin Compile the package: make Install the package: make DESTDIR=${CLFS} install Now we will move some of utilities to /usr/bin to meet FHS compliance: mv ${CLFS}/bin/z{egrep,cmp,diff,fgrep,force,grep,less,more,new} \ ${CLFS}/usr/bin Contents of Gzip Installed programs gunzip, gzexe, gzip, uncompress, 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