This is a created article in which the information may have evolved or changed.
1. Download the Go installer package for the platform from Http://www.golangtc.com/download, I choose go1.5.1.linux-amd64.tar.gz
2. Copy the installation package to the/usr/local/directory
sudo cp go1.5.1.linux-amd64.tar.gz/usr/local
3. Go to the/usr/local/directory and unzip the file go1.5.1.linux-amd64.tar.gz
sudo tar xf go1.5.1.linux-amd64.tar.gz
</pre>4. Added at the end of the/etc/profile file: <p></p><p></p><pre name= "code" class= "HTML" > #go Configurationexport goroot=/usr/local/go //go installation directory export GOARCH=AMD64// System CPU Architecture Export Goos=linux // Operating system type Export GOPATH=/HOME/LHW/WWW
Then save and exit and restart your computer.
Installing Gosublime
Copyright NOTICE: This article for Bo Master original article, without Bo Master permission not reproduced.