Debian安装Golang 1.13.3

3

Debian安装golang 1.13.3

安装

# 下载
wget https://dl.google.com/go/go1.13.3.linux-amd64.tar.gz
# 解压
tar -C /usr/local -xzf go1.13.3.linux-amd64.tar.gz

配置

修改.bashrc文件

export GO111MODULE=on
export GOPROXY=https://goproxy.cn
export GOPATH="/root/go"
export GOBIN="$GOPATH/bin"
export PATH=$PATH:$GOBIN:/usr/local/go/bin
source .bashrc

验证

go env
Last modification:October 23rd, 2019 at 05:01 pm
搞技术/肝文章不易,恳请随意打赏 OwO

Leave a Comment