|This article may rely excessively on sources too closely associated with the subject, preventing the article from being verifiable and neutral. (October 2013)|
|Original author(s)||Antonio Diaz|
|Stable release||1.15 / 1 October 2013|
|Preview release||1.6-pre1 / 7 October 2013|
|Operating system||Unix-like, Windows|
|License||GPL (Free software)|
|Internet media type||
|Magic number||0x4C, 0x5A, 0x49, 0x50|
|Developed by||Antonio Diaz|
|Type of format||Data compression|
lzip is a free, command-line tool for the compression of data; it employs the Lempel–Ziv–Markov chain algorithm (LZMA) with a user interface that is familiar to users of usual Unix compression tools, such as gzip and bzip2.
Like gzip and bzip2, concatenation is supported to compress multiple files, but the convention is to bundle a file that is an archive itself, such as those created by the tar or cpio Unix programs. Lzip can split the output for the creation of multivolume archives.
lzip is capable of creating archives with independently decompressible data sections called a "multimember archive" (as well as split output for the creation of multivolume archives). For example, if the underlying file is a tar archive, this can allow extracting any undamaged files, even if other parts of the archive are damaged.
As for the file format, special emphasis has been put on enabling integrity checks by means of an integrated 32-bit checksum for each compressed stream; this is used in combination with the lziprecover program to detect and reconstruct damaged data.
The recovery tool can merge multiple copies of an archive where each copy may have damage in a different part of the file.
7-Zip was released in 2000; a tool employing LZMA first became available on Unix-like operating systems in 2004 when a port of the command line version of 7-Zip (p7zip) was released. In the same year, the LZMA SDK became available, which included the program called “lzma_alone”; less than a year later, Lasse Collin released LZMA Utils, which at first only consisted of a set of wrapper scripts implementing a gzip-like interface to lzma_alone. In 2008, Antonio Diaz released lzip, which uses a proper container format with checksums and magic numbers instead of the raw LZMA data stream, providing a complete Unix-style solution for using LZMA. Nevertheless, LZMA Utils was extended to have similar features and then renamed to XZ Utils.
The Linux distribution Dragora GNU/Linux employs lzip for its software packages.
The lzip suite of programs is directly competing with XZ Utils.
- Antonio Diaz Diaz (2011-12-20). "Lzip Manual: Introduction". "Lzip can produce multimember files and safely recover, with lziprecover, the undamaged members in case of file damage. Lzip can also split the compressed output in volumes of a given size, even when reading from standard input. This allows the direct creation of multivolume compressed tar archives."
- Antonio Diaz Diaz (2011-12-20). "Lzip Manual: Introduction". "As a self-check for your protection, lzip stores in the member trailer the 32-bit CRC of the original data and the size of the original data, to make sure that the decompressed version of the data is identical to the original."
- Brian Lindholm (Mai 2009), "New Options in the World of File Compression" (in English), Linux Gazette (162), http://linuxgazette.net/162/lindholm.html. Retrieved 2011-01-07