Skip to content

Instantly share code, notes, and snippets.

@viniciusCamargo
Created August 20, 2020 15:19
Show Gist options
  • Save viniciusCamargo/947ffc660aa0a3773ea9ab2d952b08b1 to your computer and use it in GitHub Desktop.
Save viniciusCamargo/947ffc660aa0a3773ea9ab2d952b08b1 to your computer and use it in GitHub Desktop.
go quick install - ubuntu
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