4.jpg

#https://blog.golang.org/go1.17
mv /usr/local/go /usr/local/go_bak
wget -c https://dl.google.com/go/go1.17.linux-amd64.tar.gz -O - | sudo tar -xz -C /usr/local
#echo "export PATH=$PATH:/usr/local/go/bin" >> ~/.bashrc 
source ~/.bashrc
go version

发表评论

您的电子邮箱地址不会被公开。 必填项已用*标注

Captcha Code