Skip to content

Commit 0d84d3b

Browse files
authored
Add .NET NativeAOT dependencies for Fedora/RHEL (#41893)
I also sorted all the Linux entries alphabetically.
1 parent c1b8378 commit 0d84d3b

File tree

1 file changed

+24
-6
lines changed

1 file changed

+24
-6
lines changed

docs/core/deploying/native-aot/index.md

Lines changed: 24 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -20,22 +20,40 @@ The Native AOT deployment model uses an ahead-of-time compiler to compile IL to
2020

2121
[Visual Studio 2022](https://visualstudio.microsoft.com/vs/), including the **Desktop development with C++** workload with all default components.
2222

23-
# [Ubuntu](#tab/linux-ubuntu)
23+
# [Alpine](#tab/linux-alpine)
2424

2525
- The compiler toolchain and developer packages for libraries that the .NET runtime depends on.
26-
- Ubuntu (18.04+)
26+
- Alpine (3.15+)
2727

2828
```sh
29-
sudo apt-get install clang zlib1g-dev
29+
sudo apk add clang build-base zlib-dev
3030
```
3131

32-
# [Alpine](#tab/linux-alpine)
32+
# [Fedora](#tab/linux-fedora)
3333

3434
- The compiler toolchain and developer packages for libraries that the .NET runtime depends on.
35-
- Alpine (3.15+)
35+
- Fedora (39+)
3636

3737
```sh
38-
sudo apk add clang build-base zlib-dev
38+
sudo dnf install clang zlib-devel
39+
```
40+
41+
# [RHEL](#tab/linux-rhel)
42+
43+
- The compiler toolchain and developer packages for libraries that the .NET runtime depends on.
44+
- RHEL (8+)
45+
46+
```sh
47+
sudo dnf install clang zlib-devel
48+
```
49+
50+
# [Ubuntu](#tab/linux-ubuntu)
51+
52+
- The compiler toolchain and developer packages for libraries that the .NET runtime depends on.
53+
- Ubuntu (18.04+)
54+
55+
```sh
56+
sudo apt-get install clang zlib1g-dev
3957
```
4058

4159
# [macOS](#tab/macOS)

0 commit comments

Comments
 (0)