Go version 1.5 on the Raspberry Pi

An unofficial ARM tarball for the Pi

There is no ARM binary among the official downloads, so if you want Go version 1.5 on the Raspberry Pi, you need to build it from source.

Unlike before, though, you also need Go version 1.4 installed before you can attempt compilation, since there is no C in Go anymore.

Because installing 1.4 from source is already slow enough, the prospect of having to essentially the same thing twice on a new Pi led me to post this unofficial tarball for posterity.

It was built in /usr/local/go so that's where you have to unpack it.

The complete steps look like this:

$ sudo mv go.1.5.tar.bz2 /usr/local
$ sudo tar jxf go.1.5.tar.bz2
$ sudo chown -R root:staff /usr/local/go
$ sudo rm go.1.5.tar.bz2

Confirm it was installed correctly, like this:

$ cd
$ go version
go version go1.5 linux/arm

You might also want to build and run the "hello, world" program to be sure.

Happy Hacking!