HiveBrain v1.2.0
Get Started
← Back to all entries
snippetgoCritical

How to install the current version of Go in Ubuntu Precise

Submitted by: @import:stackoverflow-api··
0
Viewed 0 times
precisehowinstallthecurrentubuntuversion

Problem

Running sudo apt-get install golang-stable, I get Go version go1.0.3. Is there any way to install go1.1.1?

Solution

[Updated (previous answer no longer applied)]

For fetching the latest version:

sudo add-apt-repository ppa:longsleep/golang-backports
sudo apt update
sudo apt install golang-go


Also see the wiki

Code Snippets

sudo add-apt-repository ppa:longsleep/golang-backports
sudo apt update
sudo apt install golang-go

Context

Stack Overflow Q#17480044, score: 182

Revisions (0)

No revisions yet.