# Go

## About this Install Guide

| Reading time:          | 10 min             |
|------------------------|--------------------|
| Last updated:          | 4 Aug 2026         |
| Ecosystem dashboard:    | [View](https://developer.arm.com/ecosystem-dashboard/linux?package=golang)  |

| Author:                | Jason Andrews, Arm [GitHub](https://github.com/jasonrandrews) [LinkedIn](https://linkedin.com/in/jason-andrews-7b05a8) |
|------------------------|--------------------|
| Official docs:         | [View](https://go.dev/doc/) |
| Tags:                  | [Go](https://learn.arm.com/tag/go)     |

This guide shows you how to install and use the tool with the most common configuration. For advanced options and complete reference information, see the official documentation. Some install guides also include optional next steps to help you explore related workflows or integrations.

[Go](https://go.dev/) is an open source programming language that’s available for a variety of operating systems and Linux distributions.

There are multiple ways to install Go. In this guide, you’ll learn how to install Go for Ubuntu on Arm.

## Before you begin

Confirm you are using an Arm machine by running:

```bash
uname -m
```

The output is similar to:

```bash
__output__ aarch64
```

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

## Download and install Go

The easiest way to install Go for Ubuntu on Arm is to download a release, extract it, and set up your `PATH` environment variable. To download and install Go, follow these steps:

<div>
**Note**: The following commands use Go version 1.26.5. The same commands work with other versions. Replace the file used in these steps with the file for your version of choice. To find the latest version of Go, see [All releases](https://go.dev/dl/).
</div>

1. Download a Go release:
   ```bash
   wget https://go.dev/dl/go1.26.5.linux-arm64.tar.gz
   ```

2. Extract the release to `/usr/local/go`:
   ```bash
   sudo tar -C /usr/local -xzf ./go1.26.5.linux-arm64.tar.gz
   ```

3. Add the path to `go` in your `.bashrc` file:
   ```bash
   echo 'export PATH="$PATH:/usr/local/go/bin"' >> ~/.bashrc
   source ~/.bashrc
   ```

## Verify Go installation

Confirm `go` is installed by printing the version:

```bash
go version
```

The output is similar to:

```bash
__output__ go version go1.26.5 linux/arm64
```

## Next steps

You are now ready to use the Go programming language on your Arm machine running Ubuntu. You can explore Learning Paths for working with Go on Arm, such as [Deploy Golang on Azure Cobalt 100 on Arm](https://learn.arm.com/learning-paths/servers-and-cloud-computing/golang-on-azure/) and [Benchmark Go performance with Sweet and Benchstat](https://learn.arm.com/learning-paths/servers-and-cloud-computing/go-benchmarking-with-sweet/).
