You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: content/learning-paths/servers-and-cloud-computing/golang-on-azure/deploy.md
+15-15Lines changed: 15 additions & 15 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -8,67 +8,67 @@ layout: learningpathall
8
8
9
9
10
10
## 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.
12
12
13
13
1. Download the Golang archive
14
14
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:
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.
22
22
23
23
The [Arm Ecosystem Dashboard](https://developer.arm.com/ecosystem-dashboard/) also recommends Golang version 1.18 as the minimum recommended on the Arm platforms.
24
24
{{% /notice %}}
25
25
26
-
2. Extract the archive into `/usr/local`
26
+
2. Extract the archive
27
27
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.
29
29
30
30
```console
31
31
sudo tar -C /usr/local -xzf ./go1.25.0.linux-arm64.tar.gz
32
32
```
33
33
34
-
3. Add Golang to your system PATH
34
+
3. Add Go to your system PATH
35
35
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:
This reloads your .bashrcso 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:
45
45
46
46
```console
47
47
source ~/.bashrc
48
48
```
49
49
50
-
5. Verify Golang installation
50
+
5. Verify Go installation
51
51
52
-
This checks if Golang is installed correctly and shows the installed version.
52
+
Check if Go is installed correctly and confirm the version:
53
53
54
54
```console
55
55
go version
56
56
```
57
57
58
-
You should see an output similar to:
58
+
You should see output similar to:
59
59
60
60
```output
61
61
go version go1.25.0 linux/arm64
62
62
```
63
-
6. Check Golang environment settings
63
+
6. Check Go environment settings
64
64
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:
66
66
67
67
```console
68
68
go env
69
69
```
70
70
71
-
You should see an output similar to:
71
+
You should see output similar to:
72
72
73
73
```output
74
74
AR='ar'
@@ -118,4 +118,4 @@ GOVERSION='go1.25.0'
118
118
GOWORK=''
119
119
PKG_CONFIG='pkg-config'
120
120
```
121
-
Golang installation on Ubuntu Pro 24.04 LTS Arm64is complete. You can now proceed with Golang developmentor 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