先给出官网地址https://golang.org/, 传送
****Step-One:获取go的二进制包****
wget https://storage.googleapis.com/golang/go1.6.2.linux-386.tar.gz
****Step-Two:解压包****
tar -C /usr/local -xzf go1.6.2.linux-386.tar.gz
****Step-Three:配置环境变量****
#GO
export PATH=$PATH:/usr/local/go/bin
#export GOROOT=$HOME/go
#export PATH=$PATH:$GOROOT/bin
#GO project
export GOPATH=$HOME/tutorial/Coding/alic
****价值源于技术,贡献源于分享****
网友评论