8.65. Gzip-1.14

#### Linux From Scratch - Version r13.0-127-systemd

### Chapter 8. Installing Basic System Software

- Prev

  GRUB-2.14

- Next

  IPRoute2-7.0.0

- Up
- Home

# 8.65. Gzip-1.14

The Gzip package contains programs for compressing and decompressing files.

Approximate build time: 0.1 SBU
Required disk space: 21 MB

## 8.65.1. Installation of Gzip

Prepare Gzip for compilation:

    ./configure --prefix=/usr

Compile the package:

    make

To test the results, issue:

    make check

Install the package:

    make install

## 8.65.2. 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
gzexe | Creates self-decompressing executable files
gzip | Compresses the given files using Lempel-Ziv (LZ77) coding
uncompress | Decompresses compressed files
zcat | Decompresses the given gzipped files to standard output
zcmp | Runs cmp on gzipped files
zdiff | Runs diff on gzipped files
zegrep | Runs egrep on gzipped files
zfgrep | Runs fgrep on gzipped files
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 | Runs grep on gzipped files
zless | Runs less on gzipped files
zmore | Runs more on gzipped files
znew | Re-compresses files from compress format to gzip format—`.Z` to `.gz`

- Prev

  GRUB-2.14

- Next

  IPRoute2-7.0.0

- Up
- Home