The new version of Go has better performance, the Ubuntu software library only to turn over the old version, through the source installation go1.2
Specific steps:
1, to the official website download go1.1.2 tarball, I download to the TEM directory
2, open terminal cd/usr/local, TAR-ZXVF go1.1.2.linux-386.tar.gz
Unzip the source file to the/usr/local directory, and if you extract it to another directory, you need to set up your own goroot
3, install GCC tool, because golang some function is to use C to write
sudo apt-get install Bison gawk gcc Libc6-dev make
4, $ cd go/src,$./all.bash
Run bash script, if run normally will get your operating system and CPU information, automatically compile the installation
5, will export path= $PATH:/usr/local/go/bin Write $home/.profile
The final Test input go version will show go1.1.2 linux/386
Complete