1. Download go1.10.3.linux-amd64.tar.gz from https://golang.org/dl/
2. unzip the file go1.10.3.linux-amd64.tar.gz
3. Set the GOROOT and PATH
export GOROOT=/home/gary/go
export PATH=$PATH:$GOROOT/bin
4. Enable our sets
source /etc/profile
1. Download go1.10.3.linux-amd64.tar.gz from https://golang.org/dl/
2. unzip the file go1.10.3.linux-amd64.tar.gz
3. Set the GOROOT and PATH
export GOROOT=/home/gary/go
export PATH=$PATH:$GOROOT/bin
4. Enable our sets
source /etc/profile