xz

From Infogalactic: the planetary knowledge core
Jump to: navigation, search
xz
Filename extension .xz
Internet media type application/x-xz
Uniform Type Identifier (UTI) org.tukaani.xz-archive
Magic number 0xFD, '7', 'z', 'X', 'Z', 0x00
Developed by The Tukaani Project
Latest release
1.0.4
(27 August 2009; 14 years ago (2009-08-27))
Open format? Yes
Website tukaani.org/xz/format.html
XZ Utils
Developer(s) The Tukaani Project
Stable release 5.2.2 / 29 September 2015; 8 years ago (2015-09-29)[1]
License Public domain with some portions under LGPL
Website tukaani.org/xz/

xz is a lossless data compression program and file format which incorporates the LZMA/LZMA2 compression algorithms.

Since it shares the same compression formats, one can think of xz as similar to the 7-Zip program known mostly on Windows. xz has its own file format rather than the .7z format used by 7-Zip; notably, .7z lacks support for Unix-like file system metadata.[2]

Design

xz compresses/decompresses single files as input, and does not bundle multiple files into a single archive. It is therefore common to compress a file that is itself an archive, such as those created by the tar or cpio Unix programs.[2]

History

Although the original 7-Zip program, which implements LZMA2 compression, is able to produce small files at the cost of speed, it also created its own unique archive format which was made primarily for Windows and did not support Unix functionality.[2]

Implementation

An implementation of the xz file format is freely available online as XZ Utils. It is licensed under the terms of the GNU LGPL and GNU GPL, with the bulk of the software (e.g., liblzma) in the public domain.[3] Starting from 5.2, the command-line program xz supports multi-threaded operations which were only available in a fork called pxz previously. Version 1.22 of GNU tar supports using this software to handle xz files transparently.[4][5] FreeBSD tar has supported xz transparently since r191190 (released on April 17, 2009).

7-Zip has supported xz since 2009's version 9.04 beta (stable since 2010's 9.20) and WinRAR since version 5.[6]

Uses

xz has gained notability for compressing packages in the GNU coreutils project,[7] Debian family of systems deb (file format), openSUSE,[8] Fedora,[9] Arch Linux,[10] Slackware,[11] FreeBSD,[12] Gentoo,[13] GNOME,[14] and TeX Live,[15] as well as being an option to compress a compiled Linux kernel.[16] In March 2013, kernel.org announced the use of xz as the default compressed file format for distributing kernel archive files.[17]

See also

References

  1. Lua error in package.lua at line 80: module 'strict' not found.
  2. 2.0 2.1 2.2 Lua error in package.lua at line 80: module 'strict' not found..
  3. XZ Utils Web site
  4. GNU tar Web site: References
  5. Changelog for Tar 1.22
  6. Lua error in package.lua at line 80: module 'strict' not found..
  7. Lua error in package.lua at line 80: module 'strict' not found. (see version 7.1 and newer files ending in .tar.xz).
  8. Lua error in package.lua at line 80: module 'strict' not found..
  9. Lua error in package.lua at line 80: module 'strict' not found..
  10. Lua error in package.lua at line 80: module 'strict' not found..
  11. Lua error in package.lua at line 80: module 'strict' not found..
  12. Lua error in package.lua at line 80: module 'strict' not found..
  13. Lua error in package.lua at line 80: module 'strict' not found..
  14. Lua error in package.lua at line 80: module 'strict' not found..
  15. Lua error in package.lua at line 80: module 'strict' not found..
  16. Lua error in package.lua at line 80: module 'strict' not found..
  17. Lua error in package.lua at line 80: module 'strict' not found.