Installing Go from Source
Explore the full process of installing Go from its source code. Learn to set up prerequisites like Git and compilers, fetch the repository, build and test the source code, install additional Go tools, verify the installation, and update to newer Go releases. This lesson equips you to create a customized Go environment for development.
It is instructive to download and compile the full source-code of Go yourself. Complete and up to date instructions for that process are available here. We’ll provide an overview of the different steps, providing additional info and references as needed. Because the Go toolchain is written in Go, you need a (previous) Go compiler installed to build it, as explained in the last lesson. Let’s get an overview of the basic steps.
Step 1: Install git if needed
To download the Go source code or to use the go get command, you need Git. Check by typing git on a command-line. If it is not installed, download git from this ...