From 8e157c7e7bb69f9e35b4ed538ea5536a5cc39225 Mon Sep 17 00:00:00 2001 From: Felix Pojtinger Date: Sat, 8 Feb 2020 11:57:52 +0100 Subject: [PATCH] `apt-get` has been deprecated for a long time now, `apt` is it's replacement. --- Ubuntu.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Ubuntu.md b/Ubuntu.md index d487577a..d994b1ef 100644 --- a/Ubuntu.md +++ b/Ubuntu.md @@ -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.**