内容简介:apt-get 卸载此版本重新安装
apt-get install golang-go
这样安装版本可能过低。
go version
查看版本为 1.6.2
。
apt-get 卸载此版本重新安装
重新安装
-
-
下载
wget https://studygolang.com/dl/golang/go1.11.linux-amd64.tar.gz
-
-
-
解压缩
tar -zxvf go1.11.linux-amd64.tar.gz -C /usr/lib
-
-
-
设置添加环境变量
vi /etc/profile在最后面添加如下配置
-
export GOPATH=/opt/gopath export GOROOT=/usr/lib/go export GOARCH=386 export GOOS=linux export GOTOOLS=$GOROOT/pkg/tool export PATH=$PATH:$GOROOT/bin:$GOPATH/bin
-
-
执行
source /etc/profile
-
-
-
查看版本
go version
结果
go version go1.11 linux/amd64
-
以上所述就是小编给大家介绍的《ubuntu apt-get 安装 golang 版本过低问题》,希望对大家有所帮助,如果大家有任何疑问请给我留言,小编会及时回复大家的。在此也非常感谢大家对 码农网 的支持!
猜你喜欢:- centos安装高版本git
- windows 安装 GRPC go版本
- kubernetes 1.12.0版本,源码编译安装
- Windows下的多版本node安装
- Ubuntu16.04安装最新版本golang
- (插播)Proxmox VE安装RouterOS CHR版本
本站部分资源来源于网络,本站转载出于传递更多信息之目的,版权归原作者或者来源机构所有,如转载稿涉及版权问题,请联系我们。
Rework
Jason Fried、David Heinemeier Hansson / Crown Business / 2010-3-9 / USD 22.00
"Jason Fried and David Hansson follow their own advice in REWORK, laying bare the surprising philosophies at the core of 37signals' success and inspiring us to put them into practice. There's no jarg......一起来看看 《Rework》 这本书的介绍吧!