Another alternative to installing Go is to use a simple Bash script. It will download and install Go language under of your own user account.
Note that a system-wide installation might be better for some things (for example, better protected from accidental modifications etc.), but this was a bit simpler to setup.
For this example, we are using:
mkdir -p ~/git/GitHub/canhacd ~/git/GitHub/canha
git clone https://github.com/canha/golang-tools-install-script
cd golang-tools-install-script/bash goinstall.sh --64Script downloads the version specified in the Bash script
(at the moment 1.9.2) and installs it to ~/.go directory.
cat ~/.bashrcsource ~/.bashrcgo helpThat should show a quick help for the go command.