The source package that is downloaded from the network, the most common is the. tar.gz. tar.bz2 package, and part of the. tar.xz. Tar.lz package.
Some people say that. Tar.xz is the king of compression, but from the look. Tar.lz has a higher compression rate:
. tar.gz. tar.bz2 to decompress is simple:
. tar.gz format extracted to TAR-ZXVF xx.tar.gz
. tar.bz2 format extracted to TAR-JXVF xx.tar.bz2
. Tar.xz. Tar.lz a little more complicated:
. Tar.xz method of Decompression:
Xz-d MPFR-3.1.2.TAR.XZ
Generates a Mpfr-3.1.2.tar file and then executes
TAR-XVF Mpfr-3.1.2.tar
. Tar.lz method of Decompression:
This format needs to be decompressed using Lzip or Lunzip, and CentOS 6.5 does not install this program by default.
[root@localhost opt]# lzip-bash:lzip:not found[root@localhost opt]# lunzip-bash:lunzip:not found[root@localhost opt]#
Syntax: lzip-d file.lz
For more information, 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/
Methods for extracting CentOS. tar.gz. Tar.xz. tar.bz2. tar.lz files