美文网首页
ubuntu 安装 Golang

ubuntu 安装 Golang

作者: 我的名字叫浩仔 | 来源:发表于2017-04-09 14:26 被阅读293次

安装GVM(当然也可选择其他方式)

bash < <(curl -s -S -L https://raw.githubusercontent.com/moovweb/gvm/master/binscripts/gvm-installer)

输入gvm

root@ubuntu:/home/xg/AntlinkerCampus# gvm
Could not find binutils
linux: apt-get install binutils
Could not find bison
linux: apt-get install bison
Could not find gcc
linux: apt-get install gcc
Could not find make
linux: apt-get install make
ERROR: Missing requirements.

根据提示安装吧。
安装完成。

gvm install go1.8
gvm use go1.8 --default

扑街:

  • ERROR: Couldn't download Go source. Check the logs /root/.gvm/logs/go-download.log

Cloning into '/root/.gvm/archive/go'...
fatal: unable to access 'https://go.googlesource.com/go/': Failed to connect to go.googlesource.com port 443: Connection timed out

写在最后:需要代理……

相关文章

网友评论

      本文标题:ubuntu 安装 Golang

      本文链接:https://www.haomeiwen.com/subject/wnkdattx.html