Update for Go 1.18

Simon Eisenmann 2022-03-16 12:22:55 +01:00
parent af2ce082dc
commit 0ee656490b

@ -4,7 +4,7 @@
There are some other options for Debian based systems like Ubuntu. These packages were not created by the Go project, and we don't support them, but they may be useful for you.
If you're using Ubuntu 18.04 LTS or 20.04 LTS on amd64, arm64 or armhf, then you can use the [longsleep/golang-backports PPA](https://launchpad.net/~longsleep/+archive/ubuntu/golang-backports) and update to Go 1.17.
If you're using Ubuntu 18.04 LTS or 20.04 LTS on amd64, arm64 or armhf, then you can use the [longsleep/golang-backports PPA](https://launchpad.net/~longsleep/+archive/ubuntu/golang-backports) and update to Go 1.18.
```
sudo add-apt-repository ppa:longsleep/golang-backports
@ -12,7 +12,7 @@ sudo apt update
sudo apt install golang-go
```
> **Note that `golang-go` installs latest Go as default Go. If you do not want that, install `golang-1.17` instead and use the binaries from `/usr/lib/go-1.17/bin`.**
> **Note that `golang-go` installs latest Go as default Go. If you do not want that, install `golang-1.18` instead and use the binaries from `/usr/lib/go-1.18/bin`.**
Using [snaps](https://snapcraft.io/go) also works quite well: