Tar.xz How to extract: Linux and Windows tar.xz Decompression command Introduction

Source: Internet
Author: User

How do I decompress and compress tar.xz files under Linux? (This article is compiled by www.169it.com)

To unzip the Tar.xz file under Linux

12 # xz -d ***.tar.xz  //先解压xz # tar -xvf  ***.tar //再解压tar

TAR.XZ Compression package is also packaged and then compressed, the outside is the XZ compression method, the inner layer is the tar packaging method.

Steps to create a TAR.XZ file under Linux

12 # tar cvf xxx.tar xxx  // 这样创建xxx.tar文件先, # xz -z xxx.tar        //将 xxx.tar压缩成为 xxx.tar.xz

How to extract tar.xz files under Windows?

Download the latest version of the 7-zip software to unzip the Tar.xz file.

XZ is a compression tool that most Linux default comes with, and the XZ Decompression command format is as follows:

123456789101112131415161718 Usage: xz [OPTION]... [FILE]...  Compress or decompress FILEs inthe .xz format.   -z, --compress      force compression   -d, --decompress    force decompression   -t, --testtest compressed fileintegrity   -l, --list          list information about .xz files   -k, --keep          keep (don‘t delete) input files   -f, --force         force overwrite of output file and (de)compress links   -c, --stdout        write to standard output and don‘t delete input files   -0 ... -9           compression preset; default is 6; take compressor *and*                       decompressor memory usage into account before using 7-9!   -e, --extreme       try to improve compression ratio by using moreCPU time;                       does not affect decompressor memory requirements   -q, --quiet         suppress warnings; specify twice to suppress errors too   -v, --verbose       be verbose; specify twice foreven moreverbose   -h, --help          display this short help and exit  -H, --long-help     display the long help (lists also the advanced options)   -V, --version       display the version number and exit

XZ compressed file method or command

xz-z files to compress

If you want to keep the compressed file plus the parameter-K, if you want to set the compression rate add parameter-0 to-9 to adjust the compression rate. If not set, the default compression level is 6.

If you do not follow the XZ tool, you first need to download and install the XZ tool:

 XZ Download

XZ Installation steps:

12345   1、tar-jxvf xz-4.999.9beta.tar.bz2   2、cd xz-4.999.9beta   3、./configure --prefix=/   4、make  5、makeinstall

7-zip Introduction

7-zip Software is a completely free compression decompression software based on the GNU Minor Public License Agreement (Lesser General publicly License). 7-zip is a free, open source decompression software that has a powerful setup feature that is ideal for backup and describes how to do it. A 7-zip with no graphical interface will be used, and the operation is done through the command line. One of the benefits of this is that the entire software program has only one file, which is suitable for carrying on the USB stick and easy to operate.

7-zip Latest Version:

2014 latest 7-zip 9.20 stable edition download

Main characteristics of 7-zip

The 7z format using the LZMA and LZMA2 algorithms has a very high compression ratio

Supported formats:

Compression/decompression: 7z, XZ, BZIP2, GZIP, TAR, ZIP and WIM.

Uncompressed only: ARJ, CAB, CHM, CPIO, Cramfs, DEB, DMG, FAT, HFS, ISO, LZH, LZMA, MBR, MSI, NSIS, NTFS, RAR, RPM, SquashFS, UDF, VHD, WIM, XAR, Z.

For ZIP and GZIP formats, the 7-zip can provide a compression ratio that is higher than the PKZIP and WinZip 2-10%.

Provides a more complete AES-256 encryption algorithm for 7z and ZIP.

The 7z format supports the creation of self-releasing compressed packages.

Windows Explorer Integration.

Powerful file Manager.

The command-line version that gives more power.

Support for FAR Manager plug-ins.

Supported in 79 languages.

7-zip supports direct decompression of TAR.XZ compressed files under Windows.

    • 169IT Station articles in addition to the original, are reproduced, collated or collected from the network. Welcome any kind of reprint, reprint please indicate the source.
      Reprint Please specify: The article is reproduced from: [169it-latest and most comprehensive it information]
      This article title: Tar.xz How to Decompress: Linux and Windows tar.xz Decompression command Introduction

Excerpt from: http://www.169it.com/article/9024845268002546255.html

Tar.xz How to extract: Linux and Windows tar.xz Decompression command Introduction

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.