Please follow the Guide step by strp
Chose your own Go version
1.Delete the old Go
which go
sudo rm -rf /usr/local/go
2.Download the .tar.gz locally go1.xx.x.linux-amd64.tar.gz。
3.tar the download ZIP.
tar -xzf go1.24.5.linux-amd64.tar.gz
4.export the Go path to the file
echo "export PATH=$PWD/go/bin:\$PATH" >> ~/.bashrc
source ~/.bashrc
5.Verify the go version
go version
903

被折叠的 条评论
为什么被折叠?



