$ wget https://golang.org/dl/go1.17.1.linux-amd64.tar.gz
$ sudo tar -xvf go1.16.4.linux-amd64.tar.gz
$ sudo mv go /usr/local
nano ~/.bashrc or ~/.profile
$ export GOROOT=/usr/local/go
$ export GOPATH=$HOME/go
$ export PATH=$PATH:$GOPATH/bin:$GOROOT/bin
$ mkdir $HOME bin pkg src
$ source ~/.bashrc
$ go version
$ export GO111MODULE=off
$ go env