Skip to content

Commit e143764

Browse files
Refactor Go installation instructions for clarity and completeness
1 parent 71bf055 commit e143764

1 file changed

Lines changed: 17 additions & 17 deletions

File tree

  • content/learning-paths/servers-and-cloud-computing/golang-on-azure

content/learning-paths/servers-and-cloud-computing/golang-on-azure/deploy.md

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -6,66 +6,66 @@ weight: 4
66
layout: learningpathall
77
---
88

9-
109
## Install Golang on Ubuntu Pro 24.04 LTS (Arm64)
11-
This section guides you through installing the latest Go toolchain on Ubuntu Pro 24.04 LTS (Arm64), configuring the environment, and verifying the setup for benchmarking workloads on Azure Cobalt 100 VMs.
1210

13-
1. Download the Golang archive
11+
This section shows how to install the Go toolchain on Ubuntu Pro 24.04 LTS (Arm64), configure your environment, and verify the setup for benchmarking on Azure Cobalt 100 VMs.
1412

15-
Use the following command to download the latest Go release for Linux Arm64 directly from the official Go distribution site:
13+
## Download the Go archive
1614

15+
Use the following command to download the Arm64 build from the official Go distribution (update the version as needed):
1716
```console
1817
wget https://go.dev/dl/go1.25.0.linux-arm64.tar.gz
1918
```
19+
2020
{{% notice Note %}}
21-
There are many enhancements added to Golang version 1.18, that have resulted in up to a 20% increase in performance for Golang workloads on Arm-based servers. Please see [this blog](https://aws.amazon.com/blogs/compute/making-your-go-workloads-up-to-20-faster-with-go-1-18-and-aws-graviton/) for the details.
21+
There are many enhancements added to Golang version 1.18, that have resulted in up to a 20% increase in performance for Golang workloads on Arm-based servers. For further information, see the AWS blog [Making your go workloads up to 20% faster with Golang 1.18 and AWS Graviton](https://aws.amazon.com/blogs/compute/making-your-go-workloads-up-to-20-faster-with-go-1-18-and-aws-graviton/).
2222

2323
The [Arm Ecosystem Dashboard](https://developer.arm.com/ecosystem-dashboard/) also recommends Golang version 1.18 as the minimum recommended on the Arm platforms.
2424
{{% /notice %}}
2525

26-
2. Extract the archive
26+
## Extract the archive to `/usr/local`
2727

2828
Unpack the downloaded archive into `/usr/local`, which is the conventional directory for installing system-wide software on Linux. This ensures the Go toolchain is available for all users and integrates cleanly with the system’s environment.
2929

3030
```console
3131
sudo tar -C /usr/local -xzf ./go1.25.0.linux-arm64.tar.gz
3232
```
3333

34-
3. Add Go to your system PATH
34+
## Add Go to your shell `PATH`
3535

36-
To make the Go toolchain accessible from any directory, add its binary location to your shell’s PATH environment variable. Updating your `.bashrc` file ensures this change persists across sessions:
36+
To make the Go toolchain accessible from any directory, add its binary location to your shell’s `PATH` environment variable. Updating your `.bashrc` file ensures this change persists across sessions:
3737

3838
```console
3939
echo 'export PATH="$PATH:/usr/local/go/bin"' >> ~/.bashrc
4040
```
4141

42-
4. Apply the PATH changes immediately
42+
## Apply the changes immediately
4343

4444
After updating .bashrc, reload it so your current shell session picks up the new environment variables without requiring you to log out and back in:
4545

4646
```console
4747
source ~/.bashrc
4848
```
4949

50-
5. Verify Go installation
51-
52-
Check if Go is installed correctly and confirm the version:
50+
## Verify the installation
5351

52+
Confirm the installed version:
5453
```console
5554
go version
5655
```
5756

58-
You should see output similar to:
59-
57+
Expected output:
6058
```output
6159
go version go1.25.0 linux/arm64
6260
```
63-
6. Check Go environment settings
61+
## Check Go environment settings
62+
6463

6564
Use the following command to display Go’s environment variables and confirm that key paths (such as GOROOT and GOPATH) are correctly set:
6665

66+
6767
```console
68-
go env
68+
go env GOROOT GOPATH GOARCH GOOS
6969
```
7070

7171
You should see output similar to:
@@ -118,4 +118,4 @@ GOVERSION='go1.25.0'
118118
GOWORK=''
119119
PKG_CONFIG='pkg-config'
120120
```
121-
At this point, the Go installation on Ubuntu Pro 24.04 LTS (Arm64) VM is complete. You are now ready to proceed with Go application development, benchmarking, or performance tuning on Azure Cobalt 100 VMs.
121+
The Go installation on Ubuntu Pro 24.04 LTS (Arm64) VM is now complete and you are ready to proceed with Go application development, benchmarking, or performance tuning on Azure Cobalt 100 VMs.

0 commit comments

Comments
 (0)