PHP群:95885625 Hbuilder+MUI群:81989597 站长QQ:634381967
    您现在的位置: 首页 > 开发编程 > 编程杂谈 > 正文

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

    作者:admin来源:网络浏览:时间:2020-11-03 13:20:56我要评论
    导读:在解压tar.gz文件的时候报错  [Sun@localhost Downloads]$ tar -zxvf clion-141.351.4.tar.gz  gzip: stdin: not in gzip...
    在解压tar.gz文件的时候报错

      [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指令

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

      这样就可以了

      解决方法二:

      1:把下载下来的文件重命名: mv apache-tomcat-6.0.26.tar.gz apache-tomcat-6.0.26.tar

      2:再执行解压命令: tar -zxvf apache-tomcat-6.0.26.tar
    转载请注明(B5教程网)原文链接:https://b5.mxunkeji.com/content-74-6410-1.html
    相关热词搜索: