Currently, many of the software found are in tar. xz format. xz is a lossless data compression file format using the lzma compression algorithm. Same as gzip and Bzip2, multiple files can be compressed, but more than one target file cannot be compressed into the same file. On the contrary, xz is usually used as a compression format of the archive file itself, for example, an archive created using tar or cpiounix programs. Xz is used in GNU coreutils (version 7.1 or later. Xz is included in fedora (since fedora 12), arch Linux, FreeBSD, slackware Linux, crux, and funtoo as a compression package. Xz utils is the next-generation lzma utils of lzma utils. During compression, the time consumed by utiutils is twice that of Bzip2. during compression, the time consumed by xz utils is half that of lzma utils. during compression, the size of files generated by xz utils is half that of Bzip2, during compression, the size of the files generated by xz utils is slightly larger than that of lzma utils. during decompression, the time consumed by xz utils is 1/3 of that of Bzip2. during decompression, xz utils is slightly faster than lzma utils, during decompression, the time consumed by xz utils is only twice as long as that of gzip. During compression, xz utils is used *. file generation ratio * In xz format *. the lzma format is slightly larger, the test sample is small, and the results of Multiple tests are different. It cannot be determined that xz utils is used *. xz and *. lzma format compression and decompression time who is dominant. So far, the lzma utils compression rate is still the largest, and the utils Decompression Time is dominant. The implementation of a xz file format is available on the Internet. Since version 1.22, GNU Tar uses this software to transparently support the xz file format (just as it handles gzip or Bzip2 formats ). As a large number of software enters the public domain (such as liblzma), The 4.999.9beta version of the program is released under the terms of GNU lgpl and gnu gpl. 7-zip supports the xz file format in Beta 9.04. First download xz-5.0.3.tar.bz2 decompression tool to the http://download.chinaunix.net/download/0014000/13078.shtml page, then compile and install [[email protected] arrix] # tar-XF xz-5.0.3.tar [[email protected] arrix] # cd xz-5.0.3 [[email protected] arrix] #. /configure [[email protected] arrix] # Make [[email protected] arrix] # make install can also be installed using the yum source in fedora, [email protected] arrix] # Yum search xz [[email protected] arrix] # Yum install xz. i686 Sometimes there is no need to reinstall the system, and the system will use commands directly. In this way, you can use the xz command to decompress the tar. xz format file, [[email protected] arrix] # xz-D linux-3.1-rc4.tar.xz [[email protected] arrix] # tar-XF linux-3.1-rc4.tar
How to decompress centos7 tar. xz format files