Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

Do you know of any URLs for PPAs of Google's Go Language?

share|improve this question
Do not just use the title to ask your question, put it in the body also. –  Weboide Jul 30 '10 at 20:40
Does anybody know of binary packages (.deb) of gccgo 4.7 or later for Ubuntu Lucid? –  pts Apr 9 '12 at 17:58

3 Answers 3

up vote 9 down vote accepted

Here's a PPA for Go. It worked for me, just now, and is maintained with golang versions for 10.04-12.04.

Substitute golang-weekly or golang-tip if you want more up to date snapshots.


EDIT: unfortunately the Gophers archive is now discontinued (see the PPA description and http://blog.labix.org/2013/06/15/in-flight-deb-packages-of-go), now replaced by a custom binary that can be used to generate Go deb packages from source.

However, the golang package currently in Trusty is relatively recent (1.2.1 at the time of this writing). If you are still on 12.04, you might want to use this backports PPA:

which I maintain trying to keep up with stable updates in official Ubuntu repositories.

share|improve this answer
I've installed this PPA and I seem to have all the relevant packages installed (stable version). But where are the executables? I'm trying the usual ones - 6g and 6l are not in the path. –  egarcia Mar 19 '12 at 19:02
No support for 14.04... :-( –  Ionică Bizău May 2 '14 at 15:09

I've not been able to find a PPA, but the gccgo developer has posted .deb packages on his sourceforge site.

Individuals have been working on packaging upstream Go in Debian, see the WNPP bug for more info. You might be able to build a deb from the hg repo as folloows:

hg clone http://hg.debian.org/hg/collab-maint/golang/
cd golang
debuild -us -uc

I'm not terribly familiar with using hg to build debian packages, and keep in mind this is development packaging you're working with.

share|improve this answer
abort: HTTP Error 404: Not Found –  Ionică Bizău May 2 '14 at 15:08

gccgo has official .deb packages in Debian experimental now.

This should be all you need to compile go code into an executable.

More info and links here:

As latest Ubuntu is usually a pull from experimental, then it should certainly be in 11.04 Natty Narwhal.

If you want roll you own .deb for a previous Ubuntu version, then comment from @lfaraone will get you access to debianized selection of google's own source.

If you want to pull the source direct from Google then there is a recent article by @mirwing telling you how to do that.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.