Last active
December 15, 2017 05:26
-
-
Save cmdallas/b3d7e3d3374a115fed95ae7173bdf0e8 to your computer and use it in GitHub Desktop.
Golang installation
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
yum update | |
yum upgrade | |
wget https://storage.googleapis.com/golang/go1.9.2.linux-amd64.tar.gz | |
tar -xvf go1.9.2.linux-amd64.tar.gz | |
sudo mv go /usr/local | |
rm go1.9.2.linux-amd64.tar.gz | |
export GOROOT=/usr/local/go | |
export GOPATH=$HOME/go | |
export PATH=$GOPATH/bin:$GOROOT/bin:$PATH | |
go version | |
go env |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment