tar.gz and tar.xz both are compressed tar-files, but with different compression methods. tar.gz is compressed with the gzip compression utility, tar.xz with the xz utility. For the user there is no difference when extracting those files, both behave exactly the same.linux
两种文件都是压缩了的tar文件,只是压缩算法不一样。 tar.gz使用的是gzip压缩工具,tar.xz使用的是xz工具。对于使用者来讲,两者的解压没有区别。算法
解压命令举例,能够解压压缩包到指定的文件夹。工具
tar -xvf test123.tar.xz -C ./Extracted/test123ip
参考资料get
============it