mirror of
https://github.com/golang/go.git
synced 2025-05-05 23:53:05 +00:00
Partly reverting changes, please keep things as simple as possible.
parent
ebf9e50491
commit
001b11f762
@ -7,11 +7,9 @@ There are some other options for Debian based systems like Ubuntu. These package
|
|||||||
If you're using Ubuntu 18.04 LTS or 20.04 LTS on amd64, arm64, armhf or i386, then you can use the [longsleep/golang-backports PPA](https://launchpad.net/~longsleep/+archive/ubuntu/golang-backports) and update to Go 1.16.
|
If you're using Ubuntu 18.04 LTS or 20.04 LTS on amd64, arm64, armhf or i386, then you can use the [longsleep/golang-backports PPA](https://launchpad.net/~longsleep/+archive/ubuntu/golang-backports) and update to Go 1.16.
|
||||||
|
|
||||||
```
|
```
|
||||||
sudo apt-get install software-properties-common gpg
|
$ sudo add-apt-repository ppa:longsleep/golang-backports
|
||||||
sudo add-apt-repository ppa:longsleep/golang-backports
|
$ sudo apt update
|
||||||
sudo apt-get update
|
$ sudo apt install golang-go
|
||||||
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 52B59B1571A79DBC054901C0F6BC817356A3D45E
|
|
||||||
sudo apt-get install golang-go
|
|
||||||
```
|
```
|
||||||
|
|
||||||
> **Note that `golang-go` installs latest Go as default Go. If you do not want that, install `golang-1.16` instead and use the binaries from `/usr/lib/go-1.16/bin`.**
|
> **Note that `golang-go` installs latest Go as default Go. If you do not want that, install `golang-1.16` instead and use the binaries from `/usr/lib/go-1.16/bin`.**
|
||||||
@ -29,7 +27,6 @@ $ sudo apt install golang-1.11-go
|
|||||||
Using [snaps](https://snapcraft.io/go) also works quite well:
|
Using [snaps](https://snapcraft.io/go) also works quite well:
|
||||||
|
|
||||||
```
|
```
|
||||||
$ sudo apt-get install snapd
|
|
||||||
$ 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