Search

The Online Encyclopedia and Dictionary

 
     
 

Encyclopedia

Dictionary

Quotes

 

Gzip


gzip is short for GNU zip, a GNU free software replacement for the Unix compress program. Gzip was created by Jean-loup Gailly and Mark Adler, and first publicly released October 31, 1992 (version 0.1). Version 1.0 followed in February 1993.

Gzip is based on the deflate algorithm, which is a combination of LZ77 and Huffman coding. "Deflate" was developed in response to patents that covered LZW and other compression algorithms and limited the usability of 'compress' and other popular archivers.

Gzip should not be confused with ZIP, with which it is not compatible. Gzip does not archive files, it only compresses them, which is why it is often seen in conjunction with a separate archiving tool (most popularly tar).

In order to make it easier to develop software that uses compression, the zlib library was created. It supports the gzip file format and "deflate" compression. The library is widely used, because of its small size, efficiency and versatility. Both gzip and zlib were written by Jean-Loup Gailly and Mark Adler. Since the late-1990s there has been some movement from gzip to bzip2 which produces considerably smaller files under many circumstances but is also considerably slower.

The zlib compressed data format, the "deflate" algorithm and the Gzip file format were standardized respectively as RFC 1950, RFC 1951 and RFC 1952.

The usual file extension for gzipped files is .gz. Unix software is often distributed as files ending with .tar.gz or .tgz, called tarballs. They are files first packaged with tar and then compressed with gzip. They can be decompressed with gzip -d file.tar.gz or unpacked with tar xzf file.tar.gz. Nowadays more and more software is also distributed as .tar.bz2 archives because of the advantages of bzip2 compression.

AdvanceCOMP implements a deflate implementation which allows to recompress .gz files to make them even smaller than gzip is capable of.

See also

External links

Last updated: 06-02-2005 00:55:20
The contents of this article are licensed from Wikipedia.org under the GNU Free Documentation License. How to see transparent copy