GO语言教程1:Linux--debian/ubuntu下Go语言的安装

Go语言系列教程:https://blog.csdn.net/zhangpeterx/article/details/89040274

可以直接使用apt进行安装:

apt install golang-go

如果你想要使用最新的Go 1.12,那么运行如下命令:

sudo add-apt-repository ppa:longsleep/golang-backports
sudo apt-get update
sudo apt-get install golang-go

大约需要200M的空间。

安装完成后查看版本:

go version

猜你喜欢

转载自blog.csdn.net/zhangpeterx/article/details/89040539