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 commands:
12
+
13
+
```bash
14
+
sudo apt-get update && \
15
+
sudo apt-get install -y dotnet-sdk-9.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-9.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-9.0` in the previous command with `dotnet-runtime-9.0`:
30
+
31
+
```bash
32
+
sudo apt-get install -y dotnet-runtime-9.0
33
+
```
34
+
35
+
To learn how to use the .NET CLI, see [.NET CLI overview](../../tools/index.md).
The Alpine package manager supports installing some versions of .NET. If the .NET package is unavailable, you'll need to install .NET in one of the following alternative ways:
20
+
## Install .NET
21
21
22
-
-[Use the .NET install script.](linux-scripted-manual.md#scripted-install)
23
-
-[Download and install .NET manually.](linux-scripted-manual.md#manual-install)
24
-
25
-
## Install .NET 8
26
-
27
-
.NET 8 isn't yet available in the default branch of the Alpine package repository. Use the `edge` branch to install .NET 8. Alternatively, use one of the following ways to install .NET 8:
28
-
29
-
-[Use the .NET install script.](linux-scripted-manual.md#scripted-install)
30
-
-[Download and install .NET manually.](linux-scripted-manual.md#manual-install)
31
-
32
-
To learn how to use the .NET CLI, see [.NET CLI overview](../tools/index.md).
The following table is a list of currently supported .NET releases on openSUSE 15. 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 version of openSUSE is no longer supported.
20
+
The following table is a list of currently supported .NET releases on openSUSE Leap 15. 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 version of openSUSE Leap is no longer supported.
Copy file name to clipboardExpand all lines: docs/core/install/linux-rhel.md
+14-11Lines changed: 14 additions & 11 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -3,7 +3,7 @@ title: Install .NET on RHEL and CentOS Stream
3
3
description: Learn about which versions of .NET are supported, and how to install .NET on Red Hat Enterprise Linux and CentOS Stream.
4
4
author: adegeo
5
5
ms.author: adegeo
6
-
ms.date: 05/14/2024
6
+
ms.date: 11/01/2024
7
7
ms.custom: linux-related-content
8
8
---
9
9
@@ -26,14 +26,17 @@ To install .NET from Red Hat on RHEL, you first need to register using the Red H
26
26
27
27
The following table is a list of currently supported .NET releases on both RHEL and CentOS Stream. 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 Linux distribution is no longer supported.
28
28
29
-
| Distribution | .NET |
30
-
| ---------------------- | --------- |
31
-
|[RHEL 9 (9.1)](#rhel-9)| 8.0, 6.0 |
32
-
|[RHEL 8 (8.7)](#rhel-8)| 8.0, 6.0 |
33
-
|[RHEL 7](#rhel-7--net-8)| 6.0 |
34
-
|[CentOS Stream 9](#centos-stream-9)| 8.0, 6.0 |
35
-
|[CentOS Stream 8](#centos-stream-8)| 8.0, 6.0 |
36
-
|[CentOS Linux is no longer supported](#where-is-centos-linux)||
Copy file name to clipboardExpand all lines: docs/core/install/linux-scripted-manual.md
+6-3Lines changed: 6 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -21,16 +21,19 @@ The following table lists the support status of each version of .NET (and .NET C
21
21
22
22
| ✔️ Supported | ❌ Unsupported |
23
23
|-------------|---------------|
24
-
|8 (LTS) | 7 |
25
-
|6 (LTS) | 5 |
26
-
|| 3.1 |
24
+
|9 (STS) | 7 |
25
+
|8 (LTS) | 5 |
26
+
|6 (LTS)| 3.1 |
27
27
|| 3.0 |
28
28
|| 2.2 |
29
29
|| 2.1 |
30
30
|| 2.0 |
31
31
|| 1.1 |
32
32
|| 1.0 |
33
33
34
+
> [!IMPORTANT]
35
+
> .NET 9 is currently in preview.
36
+
34
37
## Dependencies
35
38
36
39
It's possible that when you install .NET, specific dependencies may not be installed, such as when [manually installing](#manual-install). The following list details Linux distributions that are supported by Microsoft and have dependencies you may need to install. Check the distribution page for more information:
0 commit comments