解压gz的包报错gzip: stdin: not in gzip format

报错情况如下:[code]# tar -zxvf jdk-8u131-linux-x64.tar.gz gzip: stdin: not in gzip format tar: Child returned status 1 tar: Error is not recoverable: exiting now[/code]请问这是为什么?
已邀请:

空心菜 - 心向阳光,茁壮成长

因为你解压的这个包,并没有利用gzip的压缩方式打出来的,所以你只需要执行:tar xf  fileName 即可。
 

要回复问题请先登录注册