download
example
wget https://storage.googleapis.com/golang/go1.8.linux-amd64.tar.gz
Decompression
tar -zxvf go1.8.linux-amd64.tar.gz
Configure global environment variables
$ sudo vim /etc/profile
add
export GOROOT=/data/go
export GOPATH=$GOROOT/bin
export PATH=$PATH:$GOPATH
Immediate effect
$ source /etc/profile
to view go version
$ go version