You could either remove old version or use multiple go version...

$sudo apt-get remove golang-go

install with snap:
Check snap go version

$snap info go 
name: go
summary: Go programming language compiler, linker, stdlib
publisher: Michael Hudson-Doyle (mwhudson)
contact: michael.hudson@ubuntu.com
license: BSD-3-Clause
description: |
This snap provides an assembler, compiler, linker, and compiled libraries for the Go programming
language.
snap-id: Md1HBASHzP4i0bniScAjXGnOII9cEK6e
channels:
stable: 1.12.9 2019-08-19 (4301) 92MB classic
candidate: ↑
beta: ↑
edge: devel-03f6365 2019-09-13 (4457) 92MB classic
1.13/stable: 1.13 2019-09-03 (4409) 92MB classic
1.13/candidate: ↑
1.13/beta: ↑
1.13/edge: ↑
1.12/stable: 1.12.9 2019-08-19 (4301) 92MB classic
1.12/candidate: ↑
1.12/beta: ↑
1.12/edge: ↑

Choose version 1.13

$ snap install --channel=1.13/stable go

Or use apt-get with PPA:

sudo add-apt-repository ppa:longsleep/golang-backports
sudo apt-get update
sudo apt-get install golang-go
Currently unrated
  • Share

Comments

There are currently no comments

New Comment

* Please fill all required form field, thanks!