lzip

From Wikipedia, the free encyclopedia

Template:Short description Template:Third-party

Page Module:Infobox/styles.css has no content.

lzip
[[Programmer|DeveloperTemplate:Pluralize from text]]Antonio Diaz Diaz
Initial release2008; 18 years ago (2008)
Template:Infobox software/simple
Written inC++ or C
EnginePage Template:Plainlist/styles.css has no content.Template:EditAtWikidata
Operating systemUnix-like, Windows, Android
TypeData compression
LicenseGPLv2+ (Free software)
Websitewww.nongnu.org/lzip/
RepositoryPage Template:Plainlist/styles.css has no content.

Script error: No such module "Check for conflicting parameters". Page Module:Infobox/styles.css has no content.

lzip
Filename extensionTemplate:Monodiv
Internet media typeTemplate:Monodiv
Magic number0x4C, 0x5A, 0x49, 0x50
Developed byAntonio Diaz Diaz
Type of formatData compression
Open format?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 for Microsoft Windows in 2000; 7-Zip's LZMA algorithm first became available on Unix-like operating systems in 2004 when the command-line version of 7-Zip (p7zip) was ported. In the same year, the LZMA SDK became available, which included the lzma_alone program. Less than a year later, Lasse Collin released LZMA Utils, 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. In 2009 LZMA Utils was renamed to XZ Utils and implemented its own xz container format with similar features.[1]

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).[2] 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;[3] 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.[2]

Parallelism

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

  • plzip compresses any file in a parallel way. Using it with tar is insufficient, since the conventional tar program needs the entire stream before a file to locate it for decompression, resulting in non-parallel extraction.
  • tarlz combines tar and lzip into a parallel archiver much like modern archivers like RAR or 7-Zip. The solid compression blocks align with tar file boundaries, so extracting a file only requires decompressing that particular member block.

Adoption

Availability

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

Support

  • The GNU Autotools support lzip. Adding dist-lzip to AM_INIT_AUTOMAKE will build lzip-ed tarballs.[8]
  • Versions 1.23 and newer of GNU tar support using lzip to handle compressed files transparently.[9]
  • GNOME's archiving tool, Archive Manager, supports lzip files.

Application

See also

Lua error in mw.title.lua at line 404: bad argument #2 to 'title.new' (unrecognized namespace name 'Portal').

References

Page Template:Reflist/styles.css has no content.

  1. ^ Page Module:Citation/CS1/styles.css has no content.Brian Lindholm (May 2009), "New Options in the World of File Compression", Linux Gazette (in Deutsch), no. 162, retrieved 2011-01-07
  2. ^ a b Page Module:Citation/CS1/styles.css has no content.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.
  3. ^ Page Module:Citation/CS1/styles.css has no content.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.
  4. ^ Page Module:Citation/CS1/styles.css has no content."The lzip format". www.nongnu.org.
  5. ^ Page Module:Citation/CS1/styles.css has no content."Debian -- Package Search Results -- lzip". packages.debian.org.
  6. ^ Page Module:Citation/CS1/styles.css has no content."Fedora Package Database -- lzip". Archived from the original on 2011-07-17. Retrieved 2011-01-08.
  7. ^ Page Module:Citation/CS1/styles.css has no content."Search". software.opensuse.org.
  8. ^ Page Module:Citation/CS1/styles.css has no content."List of Automake options (automake)". www.gnu.org.
  9. ^ Page Module:Citation/CS1/styles.css has no content."GNU tar 1.32: 8.1.1 Creating and Reading Compressed Archives". www.gnu.org.
  10. ^ Page Module:Citation/CS1/styles.css has no content."Dragora 3.0-alpha2 released".
  11. ^ Page Module:Citation/CS1/styles.css has no content."IANA — Time Zone Database". www.iana.org.
  12. ^ Page Module:Citation/CS1/styles.css has no content."Index of /gnu/linux-libre/4.x/4.12-gnu". ftp.gnu.org.
  13. ^ Page Module:Citation/CS1/styles.css has no content."NASA PDS". pds.nasa.gov.

Lua error in package.lua at line 80: module 'Module:Navbox/configuration' not found.