go - 安装go-lang ,使用gvm
访问量: 1901
参考: https://github.com/astaxie/build-web-application-with-golang/blob/master/zh/01.1.md
1. $ bash < <(curl -s -S -L https://raw.githubusercontent.com/moovweb/gvm/master/binscripts/gvm-installer)
2. $ gvm install go ...我等了好久都不行。 谢谢国家的网络。
$ sudo add-apt-repository ppa:gophers/archive
$ sudo apt-get update (如果这一步出错,就把有问题的 url 从 /etc/apt/sources.list 中删掉)
$ sudo apt-get install golang-1.9-go
就可以了。