CentOS tar.gz tar.xz tar.bz2. Tar.lz File Decompression Method __centos

Source: Internet
Author: User

The most common source package downloaded from the network is the. tar.gz tar.bz2 package, and a part of the. tar.xz. Tar.lz package.

Some people say. Tar.xz is the king of the compression rate, but from the bottom of the picture. Tar.lz has a higher compression rate:

. tar.gz. tar.bz2 to decompress is simple:
. tar.gz format uncompressed to TAR-ZXVF xx.tar.gz
. tar.bz2 format uncompressed to TAR-JXVF xx.tar.bz2

. Tar.xz. Tar.lz is a little more complicated:
. Tar.xz Decompression Method:
Xz-d MPFR-3.1.2.TAR.XZ
will produce a Mpfr-3.1.2.tar file, and then execute
TAR-XVF Mpfr-3.1.2.tar

. Tar.lz Decompression Method:
The format needs to be uncompressed using lzip or Lunzip, and CentOS 6.5 does not install this program by default.

[Root@localhost opt]# lzip
-bash:lzip:command not found
[root@localhost opt]# lunzip]-bash:lunzip
: Command not Found

Syntax: lzip-d file.lz
More please refer to: http://www.nongnu.org/lzip/manual/lzip_manual.html#Examples

Download:
http://www.nongnu.org/lzip/
http://download.savannah.gnu.org/releases/lzip/

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.