ubuntu12.04下ppa安装go,gvm安装go

http://stackoverflow.com/questions/17480044/how-to-install-the-current-version-of-go-in-ubuntu

 

一.先安装https://github.com/moovweb/gvm

sudo apt-get install mercurial

还是官网教程靠谱点。

1.下载tar.gz

2.解压到user/local/go

sudo tar -C /usr/local -xzf go$VERSION.$OS-$ARCH.tar.gz

3.edit bash.rc

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

 

你可能感兴趣的:(ubuntu12.04下ppa安装go,gvm安装go)