内容简介: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版本
本站部分资源来源于网络,本站转载出于传递更多信息之目的,版权归原作者或者来源机构所有,如转载稿涉及版权问题,请联系我们。
Usability for the Web
Tom Brinck、Darren Gergle、Scott D. Wood / Morgan Kaufmann / 2001-10-15 / USD 65.95
Every stage in the design of a new web site is an opportunity to meet or miss deadlines and budgetary goals. Every stage is an opportunity to boost or undercut the site's usability. Thi......一起来看看 《Usability for the Web》 这本书的介绍吧!