How to install go 1.2 on Ubuntu 12.04 LTS

Download archive tar.gz from here

sudo tar -C /usr/local -xzf go1.2.1.linux-amd64.tar.gz

export PATH=$PATH:/usr/local/go/bin

export GOROOT=/usr/local/go

go version 

`go version go1.2.1 linux/amd64`
    原文作者:PMPSSPMP
    原文地址: https://segmentfault.com/a/1190000000486267
    本文转自网络文章,转载此文章仅为分享知识,如有侵权,请联系博主进行删除。
点赞