Skip to content

Instantly share code, notes, and snippets.

@aliuygur
Created February 10, 2017 09:43
Show Gist options
  • Save aliuygur/2d2b71f54e6e5fb03ecd211744661431 to your computer and use it in GitHub Desktop.
Save aliuygur/2d2b71f54e6e5fb03ecd211744661431 to your computer and use it in GitHub Desktop.
go installation
GO_VERSION=1.7.1
OS=linux
ARCH=amd64
curl -O https://storage.googleapis.com/golang/go${GO_VERSION}.${OS}-${ARCH}.tar.gz
sudo tar -C /usr/local -xzf go$GO_VERSION.$OS-$ARCH.tar.gz
# Put go on the PATH, keep the usual installation dir
sudo ln -s /usr/local/go/bin/go /usr/bin/go
rm go$GO_VERSION.$OS-$ARCH.tar.gz
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment