在UBUNTU中解压TGZ格式的文档出现一下错误:
gzip: stdin: decompression OK, trailing garbage ignored
tar: Child returned status 2
tar: Error is not recoverable: exiting now
公司一个高手解决方法如下:
The source code package is delivered in .tgz format. The command "tar xvfz <package_name.tgz" does not work, but this will:
- Unzip the .tgz files into .tar. I use 7zip on Windows to do it. To do it in Ubuntu:
gzip -d file.tgz
- Extracr the tar file:
tar xvf file.tar