Created
February 10, 2017 09:43
-
-
Save aliuygur/2d2b71f54e6e5fb03ecd211744661431 to your computer and use it in GitHub Desktop.
go installation
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
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