Created
October 30, 2017 16:45
-
-
Save huobazi/d37ffa614baae60a315f07baf781f19e to your computer and use it in GitHub Desktop.
Install 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
# install golang | |
GOREL=go1.7.3.linux-amd64.tar.gz | |
wget https://storage.googleapis.com/golang/$GOREL | |
tar xfz $GOREL | |
mv go /usr/local/go | |
rm -f $GOREL | |
PATH=$PATH:/usr/local/go/bin | |
echo 'PATH=$PATH:/usr/local/go/bin' >> ~/.bashrc |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment