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:
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.