Created
May 23, 2022 18:39
-
-
Save yuraloginoff/44910c751b50fa511bc245f78918dc35 to your computer and use it in GitHub Desktop.
Go install Ubunto
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#https://go.dev/doc/install | |
curl -OL https://go.dev/dl/go1.18.2.linux-amd64.tar.gz | |
rm -rf /usr/local/go && tar -C /usr/local -xzf go1.18.2.linux-amd64.tar.gz | |
export PATH="${PATH}:/usr/local/go/bin" | |
export PATH="$PATH:$(go env GOPATH)/bin" | |
export GOPATH="$(go env GOPATH)" | |
go version |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment