Installing Golang
- Obtain the source package.
1 2 3
cd /opt/ wget https://dl.google.com/go/go1.14.1.linux-arm64.tar.gz tar -C /usr/local/ -xf go1.14.1.linux-arm64.tar.gz
- Configure the environment variables.
1export PATH=$PATH:/usr/local/go/bin
- Configure the GOPROXY.
1 2
go env -w GO111MODULE=on go env -w GOPROXY=https://goproxy.io,direct
- Check that Go has been installed.
1go version
Run the go env command to view the Golang configuration information.

Parent topic: Configuring the Compilation Environment