Skip to content

Instantly share code, notes, and snippets.

@csantanapr
Last active February 10, 2022 15:24
Show Gist options
  • Save csantanapr/cda306b22c250080cf4a027f92b4d3e8 to your computer and use it in GitHub Desktop.
Save csantanapr/cda306b22c250080cf4a027f92b4d3e8 to your computer and use it in GitHub Desktop.
Linux Recipes
curl -LO https://go.dev/dl/go1.17.6.linux-amd64.tar.gz
sudo rm -rf /usr/local/go && sudo tar -C /usr/local -xzf go1.17.6.linux-amd64.tar.gz
echo 'export PATH=$PATH:$HOME/go/bin:/usr/local/go/bin' >> $HOME/.profile
echo 'export GOPATH=$HOME/go' >> $HOME/.profile
source $HOME/.profile
go version
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment