I have Ubuntu 14.4.03. The default golang
version which came with it was 1.2.1. I would like to update golang
to 1.4 or higher.
After searching I found the way to do this would be to first delete current go installation and then re-install the new version.
I found the following go installation files in the following directory:
/usr/share/go
/usr/share/go/src/cmd/go
/usr/share/go/src/pkg/go
/usr/lib/go
/ur/lib/go/pkg/linux_amd64/go
/ur/lib/go/pkg/linux_amd64_race/go
/usr/bin/go
Which directory contains what? Which ones should I delete? What should be the location of new installation? It seems /usr/local is more normal. Then how come Ubuntu default is as above?
What would be the procedure to install a new version og golang?
Thanks.