linux tar 解压出错

Posted 东篱

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了linux tar 解压出错相关的知识,希望对你有一定的参考价值。

今天用tar -xzvf php-7.2.3.tar.gz 解压php的tar包时报错

[[email protected]_72_37_centos ~]# tar -xzvf php-7.2.3.tar.gz

gzip: stdin: not in gzip format
tar: Child returned status 1
tar: Error is not recoverable: exiting now

解压时试试使用 tar -xvf 参数可能有奇效。

还是不行可能是文件错误,仔细检查文件。

 

以上是关于linux tar 解压出错的主要内容,如果未能解决你的问题,请参考以下文章