Linux安装go1.16.2

  sre

article.fd.t_s500x2000g5M000301ChMkJ1iuoRaIavY1AAF4EbqVovIAAaIuwObx9YAAXgp506.jpg

wget https://dl.google.com/go/go1.16.2.linux-amd64.tar.gz
tar -C /usr/local -xzf go1.16.2.linux-amd64.tar.gz

/etc/profile追加:

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

查看版本

source /etc/profile
go version

LEAVE A COMMENT

Captcha Code