Linux From Scratch: Version 5.0-pre1
Prev | Appendix A. Package descriptions and dependencies | Next

# Gzip

For installation instructions see the Section called Installing Gzip-1.3.5 in Chapter 6.

## Official Download Location

Gzip (1.3.5):
ftp://alpha.gnu.org/gnu/gzip/

## Contents of Gzip

(Last checked against version 1.2.4a.)

The gzip package contains programs to compress and decompress files using the Lempel-Ziv coding (LZ77).

Gzip installs the following:

### Program Files

gunzip (link to gzip), gzexe, gzip, uncompress (link to gunzip), zcat (link to gzip), zcmp, zdiff, zforce, zgrep, zmore and znew

##

## Descriptions

(Last checked against version 1.2.4a.)

### Program file descriptions

#### gunzip, uncompress

gunzip and uncompress decompress files which are compressed with gzip.

#### gzexe

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

gzip reduces the size of the named files using Lempel-Ziv coding (LZ77).

#### zcat

zcat uncompresses, and writes to standard output, either a list of files on the command line or a file being read from standard input.

#### zcmp

zcmp invokes the cmp program on compressed files.

#### zdiff

zdiff invokes the diff program on compressed files.

#### zforce

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

zgrep invokes the grep program on compressed files.

#### zmore

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

znew re-compresses files from .Z (compress) format to .gz (gzip) format.

##

## Gzip Installation Dependencies

(Last checked against version 1.2.4a.)

Bash: sh
Binutils: as, ld, nm
Coreutils: cat, chmod, cp, hostname, install, ln, mv, rm, tr
GCC: cc1, collect2, cpp, cpp0, gcc
Grep: egrep, grep
Make: make
Sed: sed

Prev | Home | Next
Grub | Up | Inetutils