Ubuntu does come with a version of go (installable through apt install go) but it won’t be as up-to-date as downloading it directly. And I know many gophers like using the latest version.
To begin with we’ll start by downloading the latest version and once downloaded we extract it into a folder we can work with. (You can find the latest version here).
wget https://dl.google.com/go/go1.12.4.linux-amd64.tar.gz sudo tar -C /usr/local -xvf go1.