Skip to content

Commit ad76a62

Browse files
authored
Update deploy.md
1 parent 4ade8c9 commit ad76a62

1 file changed

Lines changed: 15 additions & 15 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: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -8,67 +8,67 @@ layout: learningpathall
88

99

1010
## Install Golang on Ubuntu Pro 24.04 LTS (Arm64)
11-
This section covers installing the latest Golang version on **Ubuntu Pro 24.04 LTS Arm64**, configuring the environment, and verifying the setup.
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.
1212

1313
1. Download the Golang archive
1414

15-
This command downloads the official Golang package for Linux Arm64 from the Golang website.
15+
Use the following command to download the latest Go release for Linux Arm64 directly from the official Go distribution site:
1616

1717
```console
1818
wget https://go.dev/dl/go1.25.0.linux-arm64.tar.gz
1919
```
2020
{{% notice Note %}}
21-
There are many enhancements added to Golang version 1.18, that has resulted in up to a 20% increase in performance for Golang workloads on Arm-based servers. Please see [this reference content](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. 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.
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 into `/usr/local`
26+
2. Extract the archive
2727

28-
This unpacks the Golang files into the system directory /usr/local, which is a standard place for system-wide software.
28+
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 Golang to your system PATH
34+
3. Add Go to your system PATH
3535

36-
This updates your .bashrc file so your shell can recognize the Golang command from anywhere.
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

4242
4. Apply the PATH changes immediately
4343

44-
This reloads your .bashrc so you don’t need to log out and log back in for the changes to take effect.
44+
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 Golang installation
50+
5. Verify Go installation
5151

52-
This checks if Golang is installed correctly and shows the installed version.
52+
Check if Go is installed correctly and confirm the version:
5353

5454
```console
5555
go version
5656
```
5757

58-
You should see an output similar to:
58+
You should see output similar to:
5959

6060
```output
6161
go version go1.25.0 linux/arm64
6262
```
63-
6. Check Golang environment settings
63+
6. Check Go environment settings
6464

65-
This displays Golang’s environment variables (like GOROOT and GOPATH) to ensure they point to the correct installation.
65+
Use the following command to display Go’s environment variables and confirm that key paths (such as GOROOT and GOPATH) are correctly set:
6666

6767
```console
6868
go env
6969
```
7070

71-
You should see an output similar to:
71+
You should see output similar to:
7272

7373
```output
7474
AR='ar'
@@ -118,4 +118,4 @@ GOVERSION='go1.25.0'
118118
GOWORK=''
119119
PKG_CONFIG='pkg-config'
120120
```
121-
Golang installation on Ubuntu Pro 24.04 LTS Arm64 is complete. You can now proceed with Golang development or baseline testing.
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.

0 commit comments

Comments
 (0)