About this Install Guide

This guide is intended to get you up and running with this tool quickly with the most common settings. For a thorough review of all options, refer to the official documentation.

Go is an open source programming language.

Before you begin

Go is available for a variety of operating systems and Linux distributions and has multiple ways to install it.

This article provides a quick solution to install Go for Ubuntu on Arm.

Confirm you are using an Arm machine by running:

    

        
        
            uname -m
        
    

The output should be:

    

        
        aarch64

        
    

If you see a different result, you are not using an Arm computer running 64-bit Linux.

Download and install

The easiest way to install Go for Ubuntu on Arm is to download a release, extract it, and setup your PATH environment variable.

Download a Go release:

    

        
        
            wget https://go.dev/dl/go1.20.5.linux-arm64.tar.gz
        
    

Extract the release to /usr/local/go:

    

        
        
            sudo tar -C /usr/local -xzf ./go1.20.5.linux-arm64.tar.gz
        
    

Add the path to go in your .bashrc file.

    

        
        
            echo 'export PATH="$PATH:/usr/local/go/bin"' >> ~/.bashrc
source ~/.bashrc
        
    

Confirm go is installed by printing the version:

    

        
        
            go version
        
    

The output should print the version:

    

        
        go version go1.20.5 linux/arm64

        
    

You are ready to use the Go programming language on your Arm machine running Ubuntu.


Feedback

How would you rate the overall quality of this tool quick-install guide?