Last active
July 17, 2024 18:55
-
-
Save Adron/4e1e7d0f71da7c415f455d5930ea94c9 to your computer and use it in GitHub Desktop.
Installing golang via apt-get
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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. |
Latest version is 1.10
, not 1.6.2
.
Latest version is 1.16
now boys, read the official wiki, there's a installation guide
This is better option in my view: https://github.com/stefanmaric/g
This is better option in my view: https://github.com/stefanmaric/g
In my opinion this is better, https://asdf-vm.com with https://github.com/kennyp/asdf-golang
Yes. Agree. Keep it. Good source of info! Thanks.
Cant you just use this:
sudo apt install nala
sudo nala install golang
This OP I wrote is pretty dated at this point @g1gabyteDEV. So YMMV and I don't even do it this way anymore. 👍
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Are these method necessary now?
why can't I cant just update and do
With this I get the lastest version
1.6.2