Lzip Explained

lzip
Logo Size:150px
Developer:Antonio Diaz Diaz
Programming Language:C++ or C
Operating System:Unix-like, Windows, Android
Genre:Data compression
License:GPLv2+ (Free software)
lzip
Extension:.lz
Mime:application/lzip
Owner:Antonio Diaz Diaz
Magic:0x4C, 0x5A, 0x49, 0x50
Genre:Data compression
Open:Yes

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.

The file that is produced by lzip is usually given .lz as its filename extension, and the data is described by the media type application/lzip.

The lzip suite of programs was written in C++ and C by Antonio Diaz Diaz and is being distributed as free software under the terms of version 2 or later of the GNU General Public License (GPL).

History

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 Diaz released lzip, which uses a 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.

Features

File integrity

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).[1] 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;[2] this is used in combination with the lziprecover program to detect and reconstruct damaged data. This recovery tool can merge multiple copies of an archive where each copy may have damage in a different part of the file.[1]

Parallelism

lzip has two parallel interfaces provided in the default distribution.[3]

Adoption

Availability

In popular Linux distributions, lzip can usually be installed from official package repositories.[4] [5] [6]

Cygwin offers lzip as a maintained optional package (Archive category of its setup installer), and its GNU tar utility program has support for .lz archives (with --lzip option for creation). MinGW-w64 distributes lzip through a maintained package in MSYS2 (pacman -S lzip).

Support

Application

See also

External links

Notes and References

  1. Web site: Lzip Manual: Introduction . Antonio Diaz Diaz . 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. . 2011-12-20.
  2. Web site: Lzip Manual: Introduction . Antonio Diaz Diaz . 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. . 2011-12-20.
  3. Web site: The lzip format . www.nongnu.org.
  4. Web site: Debian -- Package Search Results -- lzip. packages.debian.org.
  5. Web site: Fedora Package Database -- lzip . 2011-01-08 . dead . https://web.archive.org/web/20110717001033/https://admin.fedoraproject.org/pkgdb/acls/name/lzip . 2011-07-17 .
  6. Web site: Search. software.opensuse.org.
  7. Web site: List of Automake options (automake). www.gnu.org.
  8. Web site: GNU tar 1.32: 8.1.1 Creating and Reading Compressed Archives. www.gnu.org.
  9. Web site: IANA — Time Zone Database. www.iana.org.
  10. Web site: Index of /gnu/linux-libre/4.x/4.12-gnu. ftp.gnu.org.
  11. Web site: Dumps | [ParlTrack]]. parltrack.org.
  12. Web site: NASA PDS. pds.nasa.gov.