Linux安装go1.15.5

  sre


下载

wget https://golang.org/dl/go1.15.5.linux-amd64.tar.gz
tar -C /usr/local -xzf go1.15.5.linux-amd64.tar.gz

/etc/profile追加:

export PATH=$PATH:/usr/local/go/bin

查看版本

source /etc/profile
go version

LEAVE A COMMENT

Captcha Code