Installing Go and the Go Tools-Chain in Binary Format
This lesson serves as a guide to show how the installation of Go can be processed and verified.
Go binaries
The already compiled code that allows users to download the program on the machine without needing to compile the source code is called a binary.
You can download GO binaries here, where you choose the file appropriate for your OS and processor architecture: msi or zip for Windows, pkg for Mac OS and tar.gz for Linux and FreeBSD.
Installing Go binaries
The Go binary distributions assume they will be installed in /usr/local/go or c:\go, but it is possible to install them in a different location. During installation, the GOROOT environment variable is set by default to this root of the Go installation tree. For example, on Windows, GOROOT has the default value c:\go.
For Windows
Start the msi installer (double click) and follow the install wizard. The Go tree will install in c:\Go. Alternatively, extract the zip file (with Winzip or another popular compression tool) to c:\Go or another folder.
For FreeBSD and Linux
Extract the archive into ...