This is a creation in Article, where the information may have evolved or changed.
The go language is the second open source programming language released by Google 2009. The go language is optimized for programming multi-processor system applications, with go-compiled programs that are comparable to C or C + + code, and are more secure and support parallel processes.
Or my own computer, I installed the Ubuntu 12.04 version of the, directly introduced the installation bar! Actually building the environment is very simple!
sudo apt-get install bison ed gawk gcc Libc6-dev make//install the C language Extension pack
sudo apt-get install python-setuptools python-dev build-essential//install mercurial dependent sudo easy_install mercurial // Installing mercurial
Get the Go Language pack
HG Clone-r Release Https://go.googlecode.com/hg/go
Compiling and installing Golang
CD Go/src./all.bash
Ubuntu here is actually installed successfully, to configure path, is our Windows environment variables
Installed Go for linux/386 in/home/widuu/source/goinstalled commands in/home/widuu/source/go/bin*** the need to Add/hom E/widuu/source/go/bin to your PATH.
Export path= $PATH: $HOME/go/bin //contains the directory address of the bin inside the go language.
Then we'll get a file and try it.
sudo vim hello.gopackage mainimport "FMT" Func Main () { fmt. Printf ("Hello, micro network \ n")}go build Hello.go./hello
Output Hello, micro network
Reprint Please specify: Micro network emoji language (Golang) environment Construction –ubuntu