Home
Categories
WIKI
Topic
User
LANGUAGE:
中文
English
Deepin默认Golang版本太低了
deepin Talks
1736
views ·
9
replies ·
To
floor
Go
华寅
deepin
2019-03-20 22:03
Author
最高才1.10,现在最新都到1.12了,不考虑更新一下版本?
Reply
Like 0
Favorite
View the author
All Replies
fate822
deepin
2019-03-20 22:12
#1
版本 70.0.3538.77(正式版本) (64 位)
Reply
Like 0
View the author
华寅
deepin
2019-03-20 22:18
#2
https://bbs.deepin.org/post/175765
版本 70.0.3538.77(正式版本) (64 位)
你这个是什么版本?
Reply
Like 0
View the author
justforlxz
deepin
2019-03-20 22:22
#3
不是就一个二进制文件吗,去官网下载啊
Reply
Like 0
View the author
successfully
deepin
2019-03-20 22:44
#4
会fq的:
https://golang.org
不会fq:
https://golang.google.cn
地址给你了自己下载
Reply
Like 0
View the author
tmacy
deepin
2019-03-21 00:47
#5
git clone -b v1.12
https://github.com/golang/go
编译方法:系统安装golang,然后在 src目录中执行./all.bash
拷贝bin中的go gofmt到你的/usr/local/bin中就ok了
记得卸载系统的golang
Reply
Like 0
View the author
di3663
deepin
2019-03-23 03:40
#6
mirrors.ustc.edu.cn 有的
Reply
Like 0
View the author
di3663
deepin
2019-03-23 03:42
#7
翻个jb墙
git clone https://github.com/golang/crypto $GOPATH/src/golang.org/x/crypto/
git clone https://github.com/golang/tools $GOPATH/src/golang.org/x/tools
git clone https://github.com/golang/sys $GOPATH/src/golang.org/x/sys/
git clone https://github.com/golang/net $GOPATH/src/golang.org/x/net/
git clone https://github.com/golang/image $GOPATH/src/golang.org/x/image/
git clone https://github.com/golang/text $GOPATH/src/golang.org/x/text/
git clone https://github.com/golang/lint $GOPATH/src/golang.org/x/lint
git clone https://github.com/golang/mobile $GOPATH/src/golang.org/x/mobile
git clone https://github.com/golang/exp $GOPATH/src/golang.org/x/exp
Reply
Like 0
View the author
snyh1010
deepin
2019-03-23 04:21
#8
你们不清蒸
系统安装docker,然后把这个放到一个脚本里面,比如/usr/bin/mygo
docker run --rm -v "$PWD":/usr/src/myapp -w /usr/src/myapp golang go build -v
Copy the Code
想要什么版本就什么版本,对系统也没有任何影响。
Reply
Like 0
View the author
梦幻大陆
deepin
2019-03-23 06:17
#9
到官网:
https://golang.google.cn/dl/
下载对应版本,然后解压到 /opt/
接着在 ~/.bashrc 中加入:
export PATH=$PATH:/opt/go/bin
export GOROOT=/opt/go
Copy the Code
Reply
Like 0
View the author
Please
sign
in first
Featured Collection
Change
[Tutorial] deepin25 WSL Offline Installation Guide
UOS AI 2.8 Released! Three New Intelligent Agents & Major Evolution
Solid Q&A | deepin 25 Common Questions – The Immutable System Edition
New Thread
Popular Events
More