Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Installing golang via apt-get
sudo add-apt-repository ppa:ubuntu-lxc/lxd-stable
sudo apt-get update
sudo apt-get -y upgrade
sudo apt-get install golang
# Usually this is good to install golang, but alas the apt-get repo is usually out of sync with the latest.
@kenk667

This comment has been minimized.

Copy link

@kenk667 kenk667 commented Feb 9, 2018

latest is sudo add-apt-repository ppa:ubuntu-lxc/stable

@imfht

This comment has been minimized.

Copy link

@imfht imfht commented May 21, 2018

@d78ui98

This comment has been minimized.

Copy link

@d78ui98 d78ui98 commented Sep 13, 2018

Are these method necessary now?
why can't I cant just update and do

sudo apt install golang-go

With this I get the lastest version 1.6.2

@Syakyr

This comment has been minimized.

Copy link

@Syakyr Syakyr commented Oct 8, 2018

Latest version is 1.10, not 1.6.2.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment