Installing GO 1.5 on Ubuntu 15.04

Just a quick post on installing go 1.5 on Ubuntu 15.04. Here is the link to the GO downloads page https://golang.org/dl/.

$ cd /usr/local/go

$ wget https://storage.googleapis.com/golang/go1.5.linux-amd64.tar.gz

$ tar xvzf go1.5.linux-amd64.tar.gz

$ export GOROOT=/usr/local/go

$ export PATH=$PATH:$GOROOT/bin

$ echo 'GOROOT=/usr/local/go' >> ~/.bashrc

$ echo ‘export PATH=$PATH:$GOROOT/bin’ >> ~/.bashrc

You should now have a working GO, lets check it,

$ go version

You will get something like ‘go version go1.5 linux/amd64’.