diff --git a/docs/core/install/includes/linux-install-80-apk.md b/docs/core/install/includes/linux-install-80-apk.md new file mode 100644 index 0000000000000..b81e647b92e5f --- /dev/null +++ b/docs/core/install/includes/linux-install-80-apk.md @@ -0,0 +1,33 @@ +--- +author: adegeo +ms.author: adegeo +ms.date: 11/14/2023 +ms.topic: include +ms.custom: linux-related-content +--- + +### Install the SDK + +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: + +```bash +sudo apk add dotnet8-sdk +``` + +To learn how to use the .NET CLI, see [.NET CLI overview](../../tools/index.md). + +### Install the runtime + +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: + +```bash +sudo apk add aspnetcore8-runtime +``` + +As an alternative to the ASP.NET Core Runtime, you can install the .NET Runtime, which doesn't include ASP.NET Core support: replace `aspnetcore8-runtime` in the previous command with `dotnet8-runtime`: + +```bash +sudo apk add dotnet8-runtime +``` + +To learn how to use the .NET CLI, see [.NET CLI overview](../../tools/index.md). diff --git a/docs/core/install/linux-alpine.md b/docs/core/install/linux-alpine.md index 8caef11b4a8aa..170b994892069 100644 --- a/docs/core/install/linux-alpine.md +++ b/docs/core/install/linux-alpine.md @@ -3,14 +3,12 @@ title: Install .NET on Alpine description: Learn about which versions of .NET SDK and .NET Runtime are supported, and how to install .NET on Alpine. author: adegeo ms.author: adegeo -ms.date: 11/01/2024 +ms.date: 12/13/2024 ms.custom: linux-related-content --- # Install the .NET SDK or the .NET Runtime on Alpine -[!INCLUDE [linux-release-wait](includes/linux-release-wait.md)] - .NET is supported on Alpine and this article describes how to install .NET on Alpine. When an Alpine version falls out of support, .NET is no longer supported with that version. If you're using Docker, consider using [official .NET Docker images](../docker/introduction.md#net-images) instead of installing .NET yourself. @@ -23,6 +21,7 @@ The following table is a list of currently supported .NET releases and the versi | Alpine | Supported Version | Available in Package Manager | |--------|-------------------|------------------------------| +| 3.21 | 9.0, 8.0 | 9.0, 8.0 | | 3.20 | 9.0, 8.0 | 8.0, 6.0 | | 3.19 | 9.0, 8.0 | 7.0, 6.0 | | 3.18 | 8.0 | 7.0, 6.0 | @@ -33,30 +32,28 @@ The following table is a list of currently supported .NET releases and the versi # [.NET 9](#tab/dotnet9) -Not supported on Alpine 3.18. - -[!INCLUDE [linux-release-wait](includes/linux-release-wait.md)] +**Not supported on Alpine 3.18.** [!INCLUDE [linux-apk-install-90](includes/linux-install-90-apk.md)] # [.NET 8](#tab/dotnet8) -[!INCLUDE [linux-apk-install-90](includes/linux-install-90-apk.md)] +[!INCLUDE [linux-apk-install-80](includes/linux-install-80-apk.md)] --- ## Supported architectures -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. +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. | Architecture | .NET 9 | .NET 8 | |--------------|------------------------|------------------------| -| x86_64 | 3.17, 3.18, 3.19, 3.20 | 3.17, 3.18, 3.19, 3.20 | +| x86_64 | 3.19, 3.20, 3.21 | 3.18, 3.19, 3.20, 3.21 | | x86 | None | None | -| aarch64 | 3.17, 3.18, 3.19, 3.20 | 3.17, 3.18, 3.19, 3.20 | -| armv7 | 3.17, 3.18, 3.19, 3.20 | 3.17, 3.18, 3.19, 3.20 | +| aarch64 | 3.19, 3.20, 3.21 | 3.18, 3.19, 3.20, 3.21 | +| armv7 | 3.19, 3.20, 3.21 | 3.18, 3.19, 3.20, 3.21 | | armhf | None | None | -| s390x | 3.17 | 3.17 | +| s390x | None | None | | ppc64le | None | None | | riscv64 | None | None | diff --git a/docs/core/install/linux-rhel.md b/docs/core/install/linux-rhel.md index 7dcd6351628d0..d7d94393e17d4 100644 --- a/docs/core/install/linux-rhel.md +++ b/docs/core/install/linux-rhel.md @@ -3,14 +3,12 @@ title: Install .NET on RHEL and CentOS Stream description: Learn about which versions of .NET are supported, and how to install .NET on Red Hat Enterprise Linux and CentOS Stream. author: adegeo ms.author: adegeo -ms.date: 11/11/2024 +ms.date: 12/13/2024 ms.custom: linux-related-content --- # Install the .NET SDK or the .NET Runtime on RHEL and CentOS Stream -[!INCLUDE [linux-release-wait](includes/linux-release-wait.md)] - .NET is supported on Red Hat Enterprise Linux (RHEL). This article describes how to install .NET on RHEL and CentOS Stream. [!INCLUDE [linux-intro-sdk-vs-runtime](includes/linux-intro-sdk-vs-runtime.md)] diff --git a/docs/core/install/linux-snap-runtime.md b/docs/core/install/linux-snap-runtime.md index 8306677728360..d03dcfc0edc3a 100644 --- a/docs/core/install/linux-snap-runtime.md +++ b/docs/core/install/linux-snap-runtime.md @@ -3,7 +3,7 @@ title: Install .NET Runtime on Linux with Snap description: Learn about how to install the .NET Runtime snap package. Canonical maintains and supports .NET-related snap packages. author: adegeo ms.author: adegeo -ms.date: 11/11/2024 +ms.date: 12/13/2024 ms.topic: install-set-up-deploy ms.custom: linux-related-content #customer intent: As a Linux user, I want to install .NET Runtime through Snap. @@ -31,8 +31,6 @@ Your Linux distribution might already include snap. Try running `snap` from a te ## 1. Install the runtime -[!INCLUDE [linux-release-wait](includes/linux-release-wait.md)] - The following steps install the .NET 9 runtime snap package: 01. Open a terminal. @@ -46,7 +44,7 @@ Each .NET Runtime is published as an individual snap package. The following tabl | .NET version | Snap package | .NET version supported by Microsoft | |---------------------------------------------------|---------------------|-----| -| 9 (STS) | Not yet available | Yes | +| [9 (STS)](https://snapcraft.io/dotnet-runtime-90) | `dotnet-runtime-90` | Yes | | [8 (LTS)](https://snapcraft.io/dotnet-runtime-80) | `dotnet-runtime-80` | Yes | | [7 (STS)](https://snapcraft.io/dotnet-runtime-70) | `dotnet-runtime-70` | No | | [6 (LTS)](https://snapcraft.io/dotnet-runtime-60) | `dotnet-runtime-60` | No | diff --git a/docs/core/install/linux-ubuntu-install.md b/docs/core/install/linux-ubuntu-install.md index ab974d4d68439..a8008effcaccf 100644 --- a/docs/core/install/linux-ubuntu-install.md +++ b/docs/core/install/linux-ubuntu-install.md @@ -3,7 +3,7 @@ title: Install .NET on Ubuntu description: Demonstrates the various ways to install .NET SDK and .NET Runtime on Ubuntu. .NET is usually installed through APT. author: adegeo ms.author: adegeo -ms.date: 11/01/2024 +ms.date: 12/13/2024 ms.custom: linux-related-content zone_pivot_groups: ubuntu-install-set-one --- @@ -35,8 +35,6 @@ When an [Ubuntu version](https://wiki.ubuntu.com/Releases) falls out of support, # [.NET 9](#tab/dotnet9) -[!INCLUDE [linux-release-wait](includes/linux-release-wait.md)] - [!INCLUDE [linux-apt-install-90](includes/linux-install-90-apt.md)] # [.NET 8](#tab/dotnet8) diff --git a/docs/core/install/linux-ubuntu.md b/docs/core/install/linux-ubuntu.md index 69e3381ee1f65..d4881c3a746d9 100644 --- a/docs/core/install/linux-ubuntu.md +++ b/docs/core/install/linux-ubuntu.md @@ -3,7 +3,7 @@ title: .NET and Ubuntu overview description: Learn about the ways you can install .NET on Ubuntu, either from the built-in package feed, the .NET backports repository, or the Microsoft repository. author: adegeo ms.author: adegeo -ms.date: 11/11/2024 +ms.date: 12/13/2024 ms.custom: updateeachrelease, linux-related-content --- @@ -223,8 +223,6 @@ sudo apt update ## Install .NET -[!INCLUDE [linux-release-wait](includes/linux-release-wait.md)] - Install .NET through the package manager with the `sudo apt install ` command. Replace `` with the name of the .NET package you want to install. For example, to install .NET SDK 9.0, use the command `sudo apt install dotnet-sdk-9.0`. The following table lists the currently supported .NET packages (which [might vary by your Ubuntu version](#supported-distributions)): || Product | Type | Package |