Created
August 20, 2020 15:19
-
-
Save viniciusCamargo/947ffc660aa0a3773ea9ab2d952b08b1 to your computer and use it in GitHub Desktop.
go quick install - ubuntu
This file contains hidden or 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
wget https://golang.org/dl/go1.15.linux-amd64.tar.gz | |
tar -zxvf go1.15.linux-amd64.tar.gz | |
mkdir gopath | |
cat <<'EOT' >> .profile | |
export GOROOT=$HOME/go | |
export GOPATH=$HOME/gopath | |
export PATH=$GOPATH/bin:$GOROOT/bin:$PATH | |
EOT | |
source ~/.profile |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment