apt-get has been deprecated for a long time now, apt is it's replacement.

Felix Pojtinger 2020-02-08 11:57:52 +01:00
parent fd56b2347d
commit 8e157c7e7b

@ -6,8 +6,8 @@ If you're using Ubuntu 16.04 LTS, 18.04 LTS or 19.04 on amd64, arm64, armhf or i
```
sudo add-apt-repository ppa:longsleep/golang-backports
sudo apt-get update
sudo apt-get install golang-go
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.13` instead and use the binaries from `/usr/lib/go-1.13/bin`.**
@ -16,8 +16,8 @@ If that's too new for you, try:
```
$ sudo add-apt-repository ppa:gophers/archive
$ sudo apt-get update
$ sudo apt-get install golang-1.11-go
$ sudo apt update
$ 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.**