The Hyperpessimist

The grandest failure.

Go for Raspbian

Update: I updated the builds, binaries for the Go 1.1 final release are available.

I am a perfectionist. Therefore, after reading the instructions on how to install Go I was kinda annoyed: the Go release that is currently in Raspbian is 1.0.2 which is missing the improvements from Go 1.1. So I decided to create an APT repo with more current packages.

You have to run these two commands to add my repository and key to your system and then the other two commands to update and install the Go compiler.

1
2
3
4
5
wget https://xivilization.net/~marek/raspbian/xivilization-raspbian.gpg.key -O - | sudo apt-key add -
sudo wget https://xivilization.net/~marek/raspbian/xivilization-raspbian.list -O /etc/apt/sources.list.d/xivilization-raspbian.list

sudo aptitude update
sudo aptitude install golang

No compiling required, no Mercurial, no messing with $PATH, you have a go binary right in your path. Happy hacking.

This is my first “proper” repository, which means it looks kinda like a proper Debian archive is supposed to look like and is signed, so you can trust these packages to come from me. It also offers source packages, so if you want to build your Go yourself you can do that as well. The repository was built with reprepro and while I am not yet completely familiar with the tool it seems to generate a valid APT repository.

Keep in mind that these packages are backports from Debian experimental and not affiliated with Debian, Raspbian and Go, just provided by me for your convenience.