tar (child): xz: Cannot exec: No such file or directory

版权声明:转载请注明出处,谢谢。 https://blog.csdn.net/butterfly5211314/article/details/83900987

在安装git时,git是.xz类型的文件,执行

tar -xJf git-2.3.9.tar.xz

报错: tar (child): xz: Cannot exec: No such file or directory。

原来是缺少xz程序的支持,安装一个就好:

yum install -y xz

然后再执行解压就可以了。

欢迎补充指正!

猜你喜欢

转载自blog.csdn.net/butterfly5211314/article/details/83900987