Matt Holt | af843d3 | 2015-06-11 13:37:21 -0600 | [diff] [blame] | 1 | ## Install package `golang` |
Andrew Gerrand | 5bc444d | 2014-12-10 11:35:11 +1100 | [diff] [blame] | 2 | |
Matt Holt | af843d3 | 2015-06-11 13:37:21 -0600 | [diff] [blame] | 3 | The `golang` Debian package may have already made its way into your Ubuntu distribution. Try this: |
Andrew Gerrand | 5bc444d | 2014-12-10 11:35:11 +1100 | [diff] [blame] | 4 | |
| 5 | ``` |
Matt Holt | af843d3 | 2015-06-11 13:37:21 -0600 | [diff] [blame] | 6 | $ sudo apt-get install golang |
Andrew Gerrand | 5bc444d | 2014-12-10 11:35:11 +1100 | [diff] [blame] | 7 | ``` |
| 8 | |
Matt Holt | af843d3 | 2015-06-11 13:37:21 -0600 | [diff] [blame] | 9 | That is all you need to get `go` working on your system. (You can use `go env GOROOT` to be sure where the Go files are, if you're curious.) Don't forget to create your GOPATH. |
| 10 | |
COLABORATI | c674ec4 | 2015-04-22 13:05:21 +0200 | [diff] [blame] | 11 | |
Andrew Gerrand | 5bc444d | 2014-12-10 11:35:11 +1100 | [diff] [blame] | 12 | ## If that didn't work |
| 13 | |
Matt Holt | af843d3 | 2015-06-11 13:37:21 -0600 | [diff] [blame] | 14 | See http://blog.labix.org/2013/06/15/in-flight-deb-packages-of-go |
wrsg | d606dbe | 2015-03-16 23:01:17 +0000 | [diff] [blame] | 15 | |