Updated Ubuntu (markdown)

Prajwal Koirala 2021-04-25 08:27:41 -04:00
parent 537f9cd54a
commit 606a47d368

@ -7,11 +7,11 @@ 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 install software-properties-common gpg 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-key adv --keyserver keyserver.ubuntu.com --recv-keys F6BC817356A3D45E sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 52B59B1571A79DBC054901C0F6BC817356A3D45E
sudo apt install golang-go 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`.**