blob: 4bc9d25e9a05a8620605e50bf63f25dc99d7a520 [file] [log] [blame] [view]
Andrew Gerrand5bc444d2014-12-10 11:35:11 +11001## Install package ` golang `
2
3The ` golang ` Debian package may have already made its way into your Ubuntu distribution. Try this:
4
5```
6 sudo apt-get install golang
7```
8
9## If that didn't work
10
11If you have an arm, i386, or amd64, with the Ubuntu Lucid, Maverick,
12Natty, Oneiric, or Precise release, you can easily install Go 1 right
13now as a package by running:
14
15```
16 sudo add-apt-repository ppa:gophers/go
17 sudo apt-get update
18 sudo apt-get install golang-stable
19```
20
21(If you don't have ` add-apt-repository `, run "` sudo apt-get install python-software-properties `".)
22
23The ` golang-stable ` package includes everything necessary for developing
24with Go. There are also ` golang-tip ` and ` golang-weekly ` packages in the
25same repository, and these are up-to-date, except ` golang-weekly ` isn't
26really interesting at the moment since golang-stable is more recent.