The installation is quit as easy as they describe it on the Installing Go page. At the point when it comes to Mercurial installation the page states „works on most systems“. Well true but after you have done this:
sudo apt-get install python-setuptools
I also tried to install the sources in /user/local/go and the binaries in /user/local/bin which somehow failed. So I wrote the following in my ~/.bashrc:
export GOROOT=$HOME/go export GOOS=linux export GOARCH=386 export GOBIN=$HOME/bin export PATH=$PATH:$GOBIN
NB.: Do not forget to exec bash afterwards.