3 ms·
$ 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 -xz
by 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.