Linux 安装go环境

By | 2021-06-18

How to Install Go

Download the tarball


2.Verify the tarball.

sha256sum go1.13.linux-amd64.tar.gz

68a2297eb099d1a76097905a2ce334e3155004ec08cdea85f24527be3c48e856 go1.13.linux-amd64.tar.gz

3.Adjust the Path Variable.

Now we need to tell our system where to find the Go executable binaries by adjusting the $PATH environment variable.

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

Save the file, and load the new PATH environment variable into the current shell session with the following command:

source ~/.bash_profile

Update Go version

git clone
cd update-golang
sudo ./