linux Generated when decompressing .tar.gz files gzip: stdin: not in gzip format tar: /Child returned status 1 tar: Error is no…

Problem Description: today on Linux system through wgethttp://downloads.souceforge.net/tcl/tcl8.6.1-src.tar.gz After downloading resources from the Internet, the following error is generated through tar – zxvftcl8.6.1-src.tar.gz

gzip: stdin: not in gzip format
tar: Child returned status 1
tar: Error is not recoverable: exiting now

(PS: later, after checking, it was found that there was a spelling problem in SourceForge, but Baidu found that not only spelling errors would lead to the above problems, but if the link failed or the jump link was a simple web page, it would also affect the download, so it was necessary to record the solution process.)

Solution process:

1. After checking http://downloads.souceforge.net/tcl/tcl8.6.1-src.tar.gz The website learned that there was a problem with the link jump

2. Search tcl8.6.1-src.tar.gz to enter TCL official website

3. Copy http://downloads.sourceforge.net/tcl/tcl8.6.1-src.tar.gz The website can be used as the download link

4. Or click the above web address, automatically jump to the following page, wait for 5 seconds, and automatically jump out of the download prompt window, copy the pop-up web address:

https://nchc.dl.sourceforge.net/project/tcl/Tcl/8.6.1/tcl8.6.1-src.tar.gz It can also be used as a download link

5. After installation, unzip the. Tar.gz package tar – zxvf tcl8.6.1-src.tar.gz

6. Switch Directory: CD tcl8.6.1/unix

7../configure// execute the configure file

8. Make// compile

9. Make install// install

10. – zxvf is the tar command decompression syntax:

-X unpack. Tar file

-V display details

-F specifies the decompression file

-Z decompression

Example: $tar – zxvf dir1.tar.gz

Similar Posts: