linux tar 解压出错

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

[root@VM_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 参数可能有奇效。

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

 

posted @ 2018-03-08 14:23  弍月关  阅读(3327)  评论(0编辑  收藏  举报