cd /home
wget https://dl.google.com/go/go1.17.linux-amd64.tar.gz
tar -zxvf go1.17.linux-amd64.tar.gz
echo 'export PATH=$PATH:/home/go/bin' >> /etc/profile
source /etc/profile
sleep 2s
go version
Linux安装golang
最新推荐文章于 2024-08-02 21:04:19 发布