Install and configure GO 1.2.1 in CentOS 6.5
Step 1: Stay online, command # wget http://go.googlecode.com/files/go1.2.linux-amd64.tar.gz
The download here is 64-bit. wget is downloaded to the current directory by default, for example.
Step 2: directly unzip the command in the directory # tar-C/usr/local-xzfgo1.2.linux-amd64.tar.gz
Step 3: edit the system environment variable file # vim/etc/profile
Open/etc/profile and add the following two lines at the end
Export GOROOT =/usr/local/go
Export PATH = $ GOROOT/bin: $ PATH
Save and exit.
Step 4: Compile the/etc/profile file to make it take effect. Command # source/etc/profile
Step 5: Check whether the configuration is successful. Command # go version
Step 6: Enter the command # go to start the go Journey
Install Go Language Pack in Ubuntu
Go language programming (HD) full-version ebook
Go language and beauty-surpassing "Hello World"
Why do I like the Go language?