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
The .NET SDK allows you to develop apps with .NET. If you install the .NET SDK, you don't need to install the corresponding runtime. To install the .NET SDK, run the following command:
12
+
13
+
```bash
14
+
sudo apk add dotnet10-sdk
15
+
```
16
+
17
+
To learn how to use the .NET CLI, see [.NET CLI overview](../../tools/index.md).
18
+
19
+
### Install the runtime
20
+
21
+
The ASP.NET Core Runtime allows you to run apps that were made with .NET that didn't provide the runtime. The following command installs the ASP.NET Core Runtime, which is the most compatible runtime for .NET. In your terminal, run the following command:
22
+
23
+
```bash
24
+
sudo apk add aspnetcore10-runtime
25
+
```
26
+
27
+
As an alternative to the ASP.NET Core Runtime, you can install the .NET Runtime, which doesn't include ASP.NET Core support: replace `aspnetcore10-runtime` in the previous command with `dotnet10-runtime`:
28
+
29
+
```bash
30
+
sudo apk add dotnet10-runtime
31
+
```
32
+
33
+
To learn how to use the .NET CLI, see [.NET CLI overview](../../tools/index.md).
The .NET SDK allows you to develop apps with .NET. If you install the .NET SDK, you don't need to install the corresponding runtime. To install the .NET SDK, run the following commands:
12
+
13
+
```bash
14
+
sudo apt-get update && \
15
+
sudo apt-get install -y dotnet-sdk-10.0
16
+
```
17
+
18
+
To learn how to use the .NET CLI, see [.NET CLI overview](../../tools/index.md).
19
+
20
+
### Install the runtime
21
+
22
+
The ASP.NET Core Runtime allows you to run apps that were made with .NET that didn't provide the runtime. The following commands install the ASP.NET Core Runtime, which is the most compatible runtime for .NET. In your terminal, run the following commands:
23
+
24
+
```bash
25
+
sudo apt-get update && \
26
+
sudo apt-get install -y aspnetcore-runtime-10.0
27
+
```
28
+
29
+
As an alternative to the ASP.NET Core Runtime, you can install the .NET Runtime, which doesn't include ASP.NET Core support: replace `aspnetcore-runtime-10.0` in the previous command with `dotnet-runtime-10.0`:
30
+
31
+
```bash
32
+
sudo apt-get install -y dotnet-runtime-10.0
33
+
```
34
+
35
+
To learn how to use the .NET CLI, see [.NET CLI overview](../../tools/index.md).
The .NET SDK allows you to develop apps with .NET. If you install the .NET SDK, you don't need to install the corresponding runtime. To install the .NET SDK, run the following command:
12
+
13
+
```bash
14
+
sudo dnf install dotnet-sdk-10.0
15
+
```
16
+
17
+
To learn how to use the .NET CLI, see [.NET CLI overview](../../tools/index.md).
18
+
19
+
### Install the runtime
20
+
21
+
The ASP.NET Core Runtime allows you to run apps that were made with .NET that didn't provide the runtime. The following command installs the ASP.NET Core Runtime, which is the most compatible runtime for .NET. In your terminal, run the following command:
22
+
23
+
```bash
24
+
sudo dnf install aspnetcore-runtime-10.0
25
+
```
26
+
27
+
As an alternative to the ASP.NET Core Runtime, you can install the .NET Runtime, which doesn't include ASP.NET Core support: replace `aspnetcore-runtime-10.0` in the previous command with `dotnet-runtime-10.0`:
28
+
29
+
```bash
30
+
sudo dnf install dotnet-runtime-10.0
31
+
```
32
+
33
+
To learn how to use the .NET CLI, see [.NET CLI overview](../../tools/index.md).
The .NET SDK allows you to develop apps with .NET. If you install the .NET SDK, you don't need to install the corresponding runtime. To install the .NET SDK, run the following command:
12
+
13
+
```bash
14
+
sudo zypper install dotnet-sdk-10.0
15
+
```
16
+
17
+
To learn how to use the .NET CLI, see [.NET CLI overview](../../tools/index.md).
18
+
19
+
### Install the runtime
20
+
21
+
The ASP.NET Core Runtime allows you to run apps that were made with .NET that didn't provide the runtime. The following command installs the ASP.NET Core Runtime, which is the most compatible runtime for .NET. In your terminal, run the following command:
22
+
23
+
```bash
24
+
sudo zypper install aspnetcore-runtime-10.0
25
+
```
26
+
27
+
As an alternative to the ASP.NET Core Runtime, you can install the .NET Runtime, which doesn't include ASP.NET Core support: replace `aspnetcore-runtime-10.0` in the previous command with `dotnet-runtime-10.0`:
28
+
29
+
```bash
30
+
sudo zypper install dotnet-runtime-10.0
31
+
```
32
+
33
+
To learn how to use the .NET CLI, see [.NET CLI overview](../../tools/index.md).
> .NET 9 was released on November 12, 2024. It may take time for the packages to appear in the package manager feeds or for your specific Linux distribution to include it.
10
+
> .NET 10 was released on November 11, 2025. It may take time for the packages to appear in the package manager feeds or for your specific Linux distribution to include it.
Copy file name to clipboardExpand all lines: docs/core/install/index.yml
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -7,7 +7,7 @@ metadata:
7
7
title: Install .NET on Windows, Linux, and macOS
8
8
description: Learn where to download and install .NET on Windows, Linux, and macOS. Discover the dependencies required to develop, deploy, and run .NET apps.
@@ -46,16 +51,16 @@ The following table is a list of currently supported .NET releases and the versi
46
51
47
52
The following table is a list of currently supported .NET releases and the architecture of Alpine they're supported on. These versions remain supported until either the version of [.NET reaches end-of-support](https://dotnet.microsoft.com/platform/support/policy/dotnet-core) or the architecture of [Alpine is supported#](https://alpinelinux.org/releases/). Note that only `x86_64`, `armv7`, `aarch64` is officially supported by Microsoft. Other architectures are supported by the distribution maintainers, and can be installed using the `apk` package manager, if a package is available for that architecture.
@@ -69,15 +74,16 @@ The following table is a list of currently supported .NET releases and the archi
69
74
70
75
When you install with a package manager, these libraries are installed for you. But, if you manually install .NET or you publish a self-contained app, you'll need to make sure these libraries are installed:
71
76
72
-
### 3.18+
77
+
### 3.20+
73
78
74
-
- ca-certificates-bundle
79
+
- ca-certificates
75
80
- libgcc
76
81
- libssl3
77
82
- libstdc++
78
-
- zlib
79
-
- icu-libs and icu-data-full (unless the .NET app is running in [globalization-invariant mode](../runtime-config/globalization.md#invariant-mode)
80
-
- libgdiplus (if the .NET app requires the *System.Drawing.Common* assembly)
83
+
- zlib (.NET 8 only)
84
+
- icu-libs and icu-data-full (unless the .NET app is running in [globalization-invariant mode](../runtime-config/globalization.md#invariant-mode))
85
+
- tzdata
86
+
- krb5
81
87
82
88
Use the `apk add` command to install the dependencies.
0 commit comments