Fork me on GitHub
解压tar.gz文件报错gzip: stdin: not in gzip format解决方法

解压tar.gz文件报错gzip: stdin: not in gzip format解决方法

在解压tar.gz文件的时候报错

1
2
3
4
5
[Sun@localhost Downloads]$ tar -zxvf clion-141.351.4.tar.gz
 
gzip: stdin: not in gzip format
tar: Child returned status 1
tar: Error is not recoverable: exiting now

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

1
[Sun@localhost Downloads]$ tar -xvf clion-141.351.4.tar.gz

这样就可以了

posted on 2016-05-04 17:27  HackerVirus  阅读(6746)  评论(0)    收藏  举报