Linux 解压xz格式文件及安装xz 1、安装xz命令 # yum install epel-release -y # yum install xz -y 2、将xz文件解压为tar文件 # xz -d test.tar.xz 3、将tar文件解压 # tar xf test.tar