Skip to content

Commit 44902c4

Browse files
authored
Update install docs for .NET 9 (#43416)
* Remove most 6; add 9 * build errors * lint
1 parent c72c637 commit 44902c4

35 files changed

+303
-263
lines changed

docs/core/install/how-to-detect-installed-versions.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ title: Check installed .NET versions on Windows, Linux, and macOS
33
description: Learn how to list which versions of .NET are installed on your computer. This includes the .NET runtime and SDK.
44
author: adegeo
55
ms.author: adegeo
6-
ms.date: 11/15/2023
6+
ms.date: 11/11/2024
77
ms.custom: updateeachrelease, linux-related-content
88
zone_pivot_groups: operating-systems-set-one
99
---
Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
---
2+
author: adegeo
3+
ms.author: adegeo
4+
ms.date: 11/11/2024
5+
ms.topic: include
6+
ms.custom: linux-related-content
7+
---
8+
9+
### Install the SDK
10+
11+
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 dotnet9-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 aspnetcore9-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 `aspnetcore9-runtime` in the previous command with `dotnet9-runtime`:
28+
29+
```bash
30+
sudo apk add dotnet9-runtime
31+
```
32+
33+
To learn how to use the .NET CLI, see [.NET CLI overview](../../tools/index.md).
Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
---
2+
author: adegeo
3+
ms.author: adegeo
4+
ms.date: 11/11/2024
5+
ms.topic: include
6+
ms.custom: linux-related-content
7+
---
8+
9+
### Install the SDK
10+
11+
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-9.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-9.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-9.0` in the previous command with `dotnet-runtime-9.0`:
28+
29+
```bash
30+
sudo dnf install dotnet-runtime-9.0
31+
```
32+
33+
To learn how to use the .NET CLI, see [.NET CLI overview](../../tools/index.md).
Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
---
2+
author: adegeo
3+
ms.author: adegeo
4+
ms.date: 11/14/2023
5+
ms.topic: include
6+
ms.custom: linux-related-content
7+
---
8+
9+
### Install the SDK
10+
11+
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-9.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-9.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-9.0` in the previous command with `dotnet-runtime-9.0`:
28+
29+
```bash
30+
sudo zypper install dotnet-runtime-9.0
31+
```
32+
33+
To learn how to use the .NET CLI, see [.NET CLI overview](../../tools/index.md).

docs/core/install/includes/linux-install-package-manager-x64-vs-arm-ubuntu.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
author: adegeo
33
ms.author: adegeo
4-
ms.date: 12/29/2023
4+
ms.date: 11/11/2024
55
ms.topic: include
66
ms.custom: linux-related-content
77
---

docs/core/install/includes/linux-install-package-manager-x64-vs-arm.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
author: adegeo
33
ms.author: adegeo
4-
ms.date: 12/29/2023
4+
ms.date: 11/11/2024
55
ms.topic: include
66
ms.custom: linux-related-content
77
---

docs/core/install/includes/linux-install-previews.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
author: adegeo
33
ms.author: adegeo
4-
ms.date: 09/27/2021
4+
ms.date: 11/11/2024
55
ms.topic: include
66
ms.custom: linux-related-content
77
---

docs/core/install/includes/linux-intro-sdk-vs-runtime.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
author: adegeo
33
ms.author: adegeo
4-
ms.date: 11/14/2023
4+
ms.date: 11/11/2024
55
ms.topic: include
66
ms.custom: linux-related-content
77
---
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
---
22
author: adegeo
33
ms.author: adegeo
4-
ms.date: 12/27/2022
4+
ms.date: 11/11/2024
55
ms.topic: include
66
ms.custom: linux-related-content
77
---
88

9-
If the .NET app uses the *System.Drawing.Common* assembly, libgdiplus will also need to be installed. Because [*System.Drawing.Common* is no longer supported on Linux](../../compatibility/core-libraries/6.0/system-drawing-common-windows-only.md), this only works on .NET 6 and requires setting the `System.Drawing.EnableUnixSupport` runtime configuration switch.
9+
If the .NET app uses the *System.Drawing.Common* assembly, **libgdiplus** must be installed. For more information, see [System.Drawing.Common only supported on Windows](../../compatibility/core-libraries/6.0/system-drawing-common-windows-only.md).

docs/core/install/includes/linux-prep-intro-apt.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
author: adegeo
33
ms.author: adegeo
4-
ms.date: 11/14/2023
4+
ms.date: 11/11/2024
55
ms.topic: include
66
ms.custom: linux-related-content
77
---

0 commit comments

Comments
 (0)