How to install go on Linux

Download Linux version from

https://golang.org/dl/

Remove old installation

sudo rm -r /usr/local/go/

Move to /usr/local/

sudo mv go /usr/local
sudo chown root:root -R /usr/local/go/

Structure of directories

http://golang.org/doc/code.html

GVM

To install several versions use gvm (similar to rvm)

https://github.com/moovweb/gvm