Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add .NET NativeAOT dependencies for Fedora/RHEL #41893

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
30 changes: 24 additions & 6 deletions docs/core/deploying/native-aot/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,22 +32,40 @@ AOT support in .NET 8 is more comprehensive than in .NET 7. However, there are s

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

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

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

```sh
sudo apt-get install clang zlib1g-dev
sudo apk add clang build-base zlib-dev
```

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

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

```sh
sudo apk add clang build-base zlib-dev
sudo dnf install clang zlib-devel
```

# [RHEL](#tab/linux-rhel)

- The compiler toolchain and developer packages for libraries that the .NET runtime depends on.
- RHEL (8+)

```sh
sudo dnf install clang zlib-devel
```

# [Ubuntu](#tab/linux-ubuntu)

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

```sh
sudo apt-get install clang zlib1g-dev
```

# [macOS](#tab/macOS)
Expand Down
Loading