mirror of
https://github.com/golang/go.git
synced 2025-05-05 23:53:05 +00:00
Minor markdown consistency
parent
e9f22012a5
commit
7e469784c9
@ -11,23 +11,20 @@ sudo add-apt-repository ppa:longsleep/golang-backports
|
|||||||
sudo apt update
|
sudo apt update
|
||||||
sudo apt install golang-go
|
sudo apt install golang-go
|
||||||
```
|
```
|
||||||
|
|
||||||
> **Note that `golang-go` installs latest Go as default Go. If you do not want that, install `golang-1.14` instead and use the binaries from `/usr/lib/go-1.14/bin`.**
|
> **Note that `golang-go` installs latest Go as default Go. If you do not want that, install `golang-1.14` instead and use the binaries from `/usr/lib/go-1.14/bin`.**
|
||||||
|
|
||||||
If that's too new for you, try: (ubuntu 19.04 max, 19.10 not supported)
|
If that's too new for you, try: (Ubuntu 19.04 max, 19.10 not supported)
|
||||||
|
|
||||||
```
|
```
|
||||||
$ sudo add-apt-repository ppa:gophers/archive
|
$ sudo add-apt-repository ppa:gophers/archive
|
||||||
$ sudo apt update
|
$ sudo apt update
|
||||||
$ sudo apt install golang-1.11-go
|
$ sudo apt install golang-1.11-go
|
||||||
```
|
```
|
||||||
|
|
||||||
> **Note that `golang-1.11-go` puts binaries in `/usr/lib/go-1.11/bin`. If you want them on your PATH, you need to make that change yourself.**
|
> **Note that `golang-1.11-go` puts binaries in `/usr/lib/go-1.11/bin`. If you want them on your PATH, you need to make that change yourself.**
|
||||||
|
|
||||||
Using [snaps](https://snapcraft.io/go) also works quite well:
|
Using [snaps](https://snapcraft.io/go) also works quite well:
|
||||||
|
|
||||||
```
|
```
|
||||||
# This will give you the latest version of go
|
|
||||||
$ sudo snap install --classic go
|
$ sudo snap install --classic go
|
||||||
```
|
```
|
||||||
> A restart may or may not be required for the command to be recognized depending on your system.
|
> A restart may or may not be required for the command to be recognized depending on your system.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user