Created
August 12, 2015 22:31
-
-
Save nl5887/97ccc243c6e0dc0df563 to your computer and use it in GitHub Desktop.
install go
This file contains hidden or 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
| cd /usr/local/ | |
| curl https://storage.googleapis.com/golang/go1.4.2.linux-amd64.tar.gz | tar zxf - | |
| echo "export GOROOT=/usr/local/go" >> /etc/profile.d/go.sh | |
| echo "export PATH=\$PATH:\$GOROOT/bin" >> /etc/profile.d/go.sh | |
| chmod +x /etc/profile.d/go.sh |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment