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
@@ -150,25 +147,23 @@ Arm Compiler for Linux is available to install with the Ubuntu system package ma
150
147
151
148
#### Set up the ACfL package repository
152
149
153
-
Add the ACfL `apt` package repository to your Ubuntu 20.04 or 22.04 system:
150
+
Add the ACfL `apt` package repository to your system. These instructions apply for Ubuntu 22.04. You can check the [available versions](https://developer.arm.com/packages/) for other releases.
154
151
155
-
```bash { target="ubuntu:latest" }
152
+
After that, the ACfL Ubuntu package repository is now ready to use. Run the commands below to install the dependencies needed.
curl "https://developer.arm.com/packages/ACfL%3A${NAME}-${VERSION_ID/%.*/}/${VERSION_CODENAME}/Release.key"| sudo tee /etc/apt/trusted.gpg.d/developer-arm-com.asc
160
-
echo"deb https://developer.arm.com/packages/ACfL%3A${NAME}-${VERSION_ID/%.*/}/${VERSION_CODENAME}/ ./"| sudo tee /etc/apt/sources.list.d/developer-arm-com.list
@@ -227,39 +222,35 @@ The ACfL tools are now ready to use.
227
222
228
223
Arm Compiler for Linux uses environment modules to dynamically modify your user environment. Refer to the [Environment Modules documentation](https://lmod.readthedocs.io/en/latest/#id) for more information.
229
224
230
-
Set up the environment, for example, in your `.bashrc` and add module files.
225
+
Set up the environment, for example, in your `.bashrc` and add module files. Then, list the available modules:
231
226
232
227
#### Ubuntu Linux:
233
228
234
-
```bash { target="ubuntu:latest" }
235
-
echo". /usr/share/modules/init/bash">>~/.bashrc
236
-
echo"module use /opt/arm/modulefiles">>~/.bashrc
237
-
.~/.bashrc
229
+
```bash { target="ubuntu:latest" pre_cmd=". /usr/share/modules/init/bash" pre_cmd="module use /opt/arm/modulefiles" }
Copy file name to clipboardExpand all lines: content/install-guides/dotnet.md
+7-9Lines changed: 7 additions & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -11,16 +11,14 @@ test_images:
11
11
- ubuntu:latest
12
12
test_link: null
13
13
test_maintenance: true
14
-
test_status:
15
-
- passed
16
14
title: .NET SDK
17
15
tool_install: true
18
16
weight: 1
19
17
---
20
18
21
19
The [.NET SDK](https://dotnet.microsoft.com/en-us/) is a free, open-source, and cross-platform development environment that provides a broad set of tools and libraries for building applications. You can use it to create a variety of applications including web apps, mobile apps, desktop apps, and cloud services.
22
20
23
-
The .NET SDK is available for Linux distributions on Arm-based systems.
21
+
The .NET SDK is available for Linux distributions on Arm-based systems.
24
22
25
23
## What should I do before installing the .NET SDK on Arm Linux?
26
24
@@ -44,7 +42,7 @@ There are two ways to install the .NET SDK on your computer:
44
42
- Using the Linux package manager.
45
43
- Using the install script.
46
44
47
-
Select the one that works best for you.
45
+
Select the one that works best for you.
48
46
49
47
### How can I install .NET SDK using the Linux package manager?
50
48
@@ -68,11 +66,11 @@ To install the .NET SDK using a script, follow the instructions below:
68
66
69
67
1. Download the install script:
70
68
71
-
```bash
69
+
```bash
72
70
wget https://dot.net/v1/dotnet-install.sh
73
71
```
74
72
75
-
2. Run the script (it will install .NET SDK 8 under the folder .dotnet):
73
+
2. Run the script (it will install .NET SDK 8 under the folder .dotnet):
76
74
77
75
You have some options to specify the version you want to install.
78
76
@@ -104,9 +102,9 @@ You can also add the search path to your `$HOME/.bashrc` so it is set for all ne
104
102
105
103
## How do I verify the .NET SDK installation?
106
104
107
-
To check that the installation was successful, type:
105
+
To check that the installation was successful, type:
108
106
109
-
```bash
107
+
```bash
110
108
dotnet --list-sdks
111
109
```
112
110
@@ -190,7 +188,7 @@ The expected output in the console is:
190
188
Hello World!
191
189
```
192
190
193
-
You are ready to use the .NET SDK on Arm Linux.
191
+
You are ready to use the .NET SDK on Arm Linux.
194
192
195
193
You can find more information about .NET on Arm in the [AWS Graviton Technical Guide](https://github.com/aws/aws-graviton-getting-started/blob/main/dotnet.md).
0 commit comments