Skip to content

Issue with installing golang on wsl2 - (gzip: stdin: not in gzip format) #6021

Discussion options

You must be logged in to vote

Because you are downloading it incorrectly. You need to use -O instead of -o as parameter.
wget https://golang.org/dl/go1.15.2.linux-amd64.tar.gz -O go1.15.2.linux-amd64.tar.gz

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Answer selected by therealkenc
Comment options

You must be logged in to vote
1 reply
@Biswa96
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
4 participants
Converted from issue

This discussion was converted from issue #6021 on October 05, 2020 17:51.