Since I’ve recently started dabbling with Go again, of course I had to install it on my machines that mostly run Linux Mint. One of the usual ways for me to install software through the PPAs was apparently not maintained since a couple of releases ago, but on a ubuntu forum thread I found godeb, which is a small binary command line tool that lets you install your desired version of Go!
Since godeb will create a .deb package, it will work with most, if not all, Debian distros and derivatives like Ubuntu, Linux Mint, SteamOS, Kali Linux and *buntu (as in Kubuntu, Xubuntu, Lubuntu).
After you’ve downloaded the package a simple
./godeb install 1.6
is enough to install that version of Go.
You can also list all available versions and decide which one you want / need:
% ./godeb list 1.6 1.6 1.5.3 1.5.2 1.5.1 1.5 1.4.3 1.4.2 1.4.1 1.4 1.3.3 1.3.2 1.3.1 1.3 1.2.2
Give that guy a star on github if this tool made your life easier too 😉