This is a creation in Article, where the information may have evolved or changed. Reference Http://www.golangcn.com/doc/install
Install go to/usr/local
$sudo tar-c/usr/local-xzf go1.1.1.linux-386.tar.gz
Add the following line in the file $HOME/.BASHRC
Export path= $PATH:/usr/local/go/bin
Execute the following line
$source. BASHRC
Below the split line is the official statement, but set up a problem, I still follow the above two steps set
===================================
Add the following line in the file $HOME/.profile
Export path= $PATH:/usr/local/go/bin
Execute the following line
$source. Profile
====================================
Verify
Go version
Installing Liteide
Download https://code.google.com/p/golangide/
$bzip 2-d liteidex19.linux-386.tar.bz2
$tar-XVF Liteidex19.linux-386.tar
Go to the Bin directory to start directly liteide
toolbar to choose your own system platform, mine is linux32
Edit the corresponding configuration file, mine is linux32.env
View through menu-option-liteenv, open linux32.env
Modify the Goroot directory as the installation directory, and the other rows do not change
Goroot=/usr/local/go
Restart Liteide
In the main interface with the shortcut CTRL +, (note that the CTRL key and the comma key) display the execution box, enter Go version, prompts the correct installation is complete
View from menu-Manage Gopath set up project catalog
New Project
Open the window with the file-new menu to create a new project and start programming