Running sudo apt-get install golang-stable
, I get Go version go1.0.3
. Is there any way to install go1.1.1
?
[October 2015]
Answer because the current accepted answersudo apt-get install golang
isn't uptodate and if you don't want to install GVM
follow these steps.
sudo tar -C /usr/local -xzf go$VERSION.$OS-$ARCH.tar.gz
go
to your path export PATH=$PATH:/usr/local/go/bin
go version
to check the current version installedIf you get a go version xgcc (Ubuntu 4.9.1-0ubuntu1) 4.9.1 linux/amd64
then you did something wrong, so check out this post: Go is printing xgcc version but not go installed version