# Refer to https://golang.org/dl/
wget https://storage.googleapis.com/golang/go1.6.linux-amd64.tar.gz
tar xzvf ./go1.6.linux-amd64.tar.gz
mv go /usr/local/
Last active
March 26, 2016 15:55
-
-
Save tobegit3hub/8a5cc01c6dbb09923d78 to your computer and use it in GitHub Desktop.
add-apt-repository -y ppa:evarlast/golang1.5
apt-get update -y
apt-get install -y golang
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
export GOPATH=$HOME/go | |
export PATH=$PATH:$GOPATH/bin | |
export PATH=$PATH:"/usr/local/go/bin/" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment