Linux解压tar.gz文件时提示gzip:stdin:not错误

版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/qq_24309787/article/details/83781951

在linux系统中利用tar命令解压tar.gz类型文件时报错

执行的命令是   tar -zxvf apache-hive-2.3.2-bin.tar.gz

报错:

gzip: stdin: not in gzip format

tar: Child returned status 1

tar: Error is not recoverable: exiting now

原因是这个压缩包没有用gzip格式压缩,所以不用加z指令

执行命令   tar -xvf clion-141.351.4.tar.gz

就不会报错啦

猜你喜欢

转载自blog.csdn.net/qq_24309787/article/details/83781951