Skip to content

Commit 8487cbf

Browse files
authored
Merge pull request #3175 from anupras-mohapatra-arm/go
Documentation updates for Go install guide
2 parents f6b65d9 + 860e01e commit 8487cbf

1 file changed

Lines changed: 17 additions & 16 deletions

File tree

  • content/install-guides

content/install-guides/go.md

Lines changed: 17 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,13 @@
22
additional_search_terms:
33
- linux
44
- cloud
5-
6-
75
layout: installtoolsall
86
minutes_to_complete: 10
97
author: Jason Andrews
108
multi_install: false
119
multitool_install_part: false
1210
official_docs: https://go.dev/doc/
11+
description: Install the Go programming language on Arm Linux (aarch64) and verify the installation by printing the installed version.
1312
ecosystem_dashboard: https://developer.arm.com/ecosystem-dashboard/linux?package=golang
1413
test_images:
1514
- ubuntu:latest
@@ -19,63 +18,65 @@ tool_install: true
1918
weight: 1
2019
---
2120

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

24-
## What should I do before installing Go?
23+
There are multiple ways to install Go. In this guide, you'll learn how to install Go for Ubuntu on Arm.
2524

26-
Go is available for a variety of operating systems and Linux distributions and has multiple ways to install it.
27-
28-
This article provides a quick solution to install Go for Ubuntu on Arm.
25+
## Before you begin
2926

3027
Confirm you are using an Arm machine by running:
3128

3229
```bash
3330
uname -m
3431
```
3532

36-
The output should be:
33+
The output is similar to:
3734

3835
```output
3936
aarch64
4037
```
4138

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

44-
## How do I download and install Go?
41+
## Download and install Go
42+
43+
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:
4544

46-
The easiest way to install Go for Ubuntu on Arm is to download a release, extract it, and setup your `PATH` environment variable.
45+
{{% notice Note %}}
46+
The following steps use `go1.24.5`. To download the latest version of Go, replace `go1.24.5` with the identifier for the latest version. To find the latest version of Go, see [All releases](https://go.dev/dl/).
47+
{{% /notice %}}
4748

48-
Download a Go release:
49+
1. Download a Go release:
4950

5051
```bash { target="ubuntu:latest" }
5152
wget https://go.dev/dl/go1.24.5.linux-arm64.tar.gz
5253
```
5354

54-
Extract the release to `/usr/local/go`:
55+
2. Extract the release to `/usr/local/go`:
5556

5657
```bash { target="ubuntu:latest" }
5758
sudo tar -C /usr/local -xzf ./go1.24.5.linux-arm64.tar.gz
5859
```
5960

60-
Add the path to `go` in your `.bashrc` file.
61+
3. Add the path to `go` in your `.bashrc` file:
6162

6263
```bash { target="ubuntu:latest" }
6364
echo 'export PATH="$PATH:/usr/local/go/bin"' >> ~/.bashrc
6465
source ~/.bashrc
6566
```
6667

67-
## How do I verify Go is working?
68+
## Verify Go installation
6869

6970
Confirm `go` is installed by printing the version:
7071

7172
```bash { target="ubuntu:latest" env_source="~/.bashrc" }
7273
go version
7374
```
7475

75-
The output should print the version:
76+
The output is similar to:
7677

7778
```output
7879
go version go1.24.5 linux/arm64
7980
```
8081

81-
You are ready to use the Go programming language on your Arm machine running Ubuntu.
82+
You are now ready to use the Go programming language on your Arm machine running Ubuntu.

0 commit comments

Comments
 (0)