3 ms·
To install simply download the tarball, extract it to /usr/local/ and add /usr/local/go/bin to your $PATH. If you want to install it to a different location (I
by insertnickname 11y ago
To install simply download the tarball, extract it to /usr/local/ and add /usr/local/go/bin to your $PATH. If you want to install it to a different location (I like to keep it in my home directory), you just to set $GOROOT to that path and set your $PATH accordingly. To update, just remove the old go dir and extract the new tarball in the same place. I'm ok with it.
- gbersac 11y agoSimply is never that simply. There is always something that happen to suck in IT. You think you have done everything right and sometime, you just made a little misinterpretation that screw everything and you can lose a lot of time figuring out what. That being said, I had no problem installing go on my ubuntu, despite the fact that I consider that the installation process sucks.
- insertnickname 11y ago$ wget https://storage.googleapis.com/golang/go1.4.2.linux-amd64.tar.gz https://storage.googleapis.com/golang/go1.4.2.linux-amd64.ta... $ tar -C /usr/local -xzf go1.4.2.linux-amd64.tar.gz $ echo "PATH=$PATH:/usr/local/go/bin" >> /etc/profile That's it, it is that simple. All you have to do now is set your $GOPATH, and you would need to do that even if you had installed Go through a package.