How to extract filename.tar.gz file

后端 未结 8 2140
半阙折子戏
半阙折子戏 2020-12-12 12:47

I want to extract an archive named filename.tar.gz.

Using tar -xzvf filename.tar.gz doesn\'t extract the file. it is gives this error:

8条回答
  •  旧巷少年郎
    2020-12-12 13:13

    Internally tar xcvf will call the binary gzip from the PATH environment variable to decompress the files in the tar archive. Sometimes third party tools use a custom gzip binary which is not compatible with the tar binary. It is a good idea to check the gzip binary in your PATH with which gzip and make sure that a correct gzip binary is called.

提交回复
热议问题