Installing Go - The Hard Way
Outline
Installing is pretty easy. In fact, it’s one of the easiest programming languages to install and maintain.
We have taken the official Go installation instructions and the official Go workspace instructions and added more details to make the process clearer.
The steps in the process are:
- Download and install the programs Go needs to work
- Download Go itself
- Install Go
- Setup a Workspace
Install guides.
Installing Go depends on which operating system your computer has. You need to follow the install guide for the operating system:
- Windows 7 and Windows 8 install guide
- Mac OS X install guide
- Raspberry Pi Raspbian install guide
- Linux install guide
Testing Your Go install
Once you have Go installed, you need to make sure that it has been installed and is functioning correctly. This process is the same for all operating systems. This is one of Go’s advantages.
The instructions are in the testing your install guide.
Set up an Editor for Go Programming
This last step is optional. If you do not already have a specific editor setup for programming then this step will make typing Go programs a little easier.
If you are using Windows, Mac OS X or Linux we suggest you use the Atom editor. If you are using a Raspberry Pi we suggest using the liteIDE which is specifically designed for Go programming. But really, the choice is yours, and a lot of good text editors are now available, so to start with, pick one you’re familiar with or like.