Go
Last updated
Last updated
Visit the above links to to download the Go installer
Extract the archive you downloaded into /usr/local
, creating a Go tree in /usr/local/go
.
For example, run the following as root or through sudo
: (Change archive name as you need)
Important: Above step will remove a previous installation at /usr/local/go
, if any, prior to extracting. Please back up any data before proceeding.
Add /usr/local/go/bin
to the PATH
environment variable.
You can do this by adding the following line to your $HOME/.profile or /etc/profile (for a system-wide installation):
Verify that you've installed Go by opening a command prompt and typing the following command: