diff --git a/docs/core/install/includes/linux-install-manual.md b/docs/core/install/includes/linux-install-manual.md deleted file mode 100644 index 2fe7befdff132..0000000000000 --- a/docs/core/install/includes/linux-install-manual.md +++ /dev/null @@ -1,46 +0,0 @@ - - - -As an alternative to the package managers, you can download and manually install the SDK and runtime. Manual install is usually performed as part of continuous integration testing or on an unsupported Linux distribution. For a developer or user, it's generally better to use a package manager. - -If you install .NET SDK, you don't need to install the corresponding runtime. First, download a **binary** release for either the SDK or the runtime from one of the following sites: - -- ✔️ [.NET 5.0 downloads](https://dotnet.microsoft.com/download/dotnet/5.0) -- ✔️ [.NET Core 3.1 downloads](https://dotnet.microsoft.com/download/dotnet-core/3.1) -- ✔️ [.NET Core 2.1 downloads](https://dotnet.microsoft.com/download/dotnet-core/2.1) -- [All .NET Core downloads](https://dotnet.microsoft.com/download/dotnet-core) - -Next, extract the downloaded file and use the `export` command to set variables used by .NET and then ensure .NET is in PATH. - -To extract the runtime and make the .NET CLI commands available at the terminal, first download a .NET binary release. Then, open a terminal and run the following commands from the directory where the file was saved. The archive file name may be different depending on what you downloaded. - -**Use the following command to extract the runtime**: - -```bash -mkdir -p "$HOME/dotnet" && tar zxf aspnetcore-runtime-5.0.0-linux-x64.tar.gz -C "$HOME/dotnet" -export DOTNET_ROOT=$HOME/dotnet -export PATH=$PATH:$HOME/dotnet -``` - -**Use the following command to extract the SDK**: - -```bash -mkdir -p "$HOME/dotnet" && tar zxf dotnet-sdk-5.0.100-linux-x64.tar.gz -C "$HOME/dotnet" -export DOTNET_ROOT=$HOME/dotnet -export PATH=$PATH:$HOME/dotnet -``` - -> [!TIP] -> The preceding `export` commands only make the .NET CLI commands available for the terminal session in which it was run. -> -> You can edit your shell profile to permanently add the commands. There are a number of different shells available for Linux and each has a different profile. For example: -> -> - **Bash Shell**: *~/.bash_profile*, *~/.bashrc* -> - **Korn Shell**: *~/.kshrc* or *.profile* -> - **Z Shell**: *~/.zshrc* or *.zprofile* -> -> Edit the appropriate source file for your shell and add `:$HOME/dotnet` to the end of the existing `PATH` statement. If no `PATH` statement is included, add a new line with `export PATH=$PATH:$HOME/dotnet`. -> -> Also, add `export DOTNET_ROOT=$HOME/dotnet` to the end of the file. - -This approach lets you install different versions into separate locations and choose explicitly which one to use by which application. diff --git a/docs/core/install/includes/linux-install-package-manager-x64-vs-arm.md b/docs/core/install/includes/linux-install-package-manager-x64-vs-arm.md index 5ddfa249e25e1..dc0bfbf1f6402 100644 --- a/docs/core/install/includes/linux-install-package-manager-x64-vs-arm.md +++ b/docs/core/install/includes/linux-install-package-manager-x64-vs-arm.md @@ -1,3 +1,9 @@ > [!IMPORTANT] -> Package manager installs are only supported on the **x64** architecture. Other architectures, such as **ARM**, must manually install .NET. For more information, see the [manual install section](#manual-install). +> Package manager installs are only supported on the **x64** architecture. Other architectures, such as **ARM**, must install .NET by some other means such as with Snap, an installer script, or through a manual binary installation. + +For more information on installing .NET without a package manager, see one of the following articles: + +- [Install the .NET SDK or the .NET Runtime with Snap.](../linux-snap.md) +- [Install the .NET SDK or the .NET Runtime with a script.](../linux-scripted-manual.md#scripted-install) +- [Install the .NET SDK or the .NET Runtime manually.](../linux-scripted-manual.md#manual-install) diff --git a/docs/core/install/includes/linux-install-scripted.md b/docs/core/install/includes/linux-install-scripted.md deleted file mode 100644 index 1fbcb41855a44..0000000000000 --- a/docs/core/install/includes/linux-install-scripted.md +++ /dev/null @@ -1,22 +0,0 @@ - -The [dotnet-install scripts](../../tools/dotnet-install-script.md) are used for automation and non-admin installs of the **SDK** and **Runtime**. You can download the script from . - -The script defaults to installing the latest SDK [long term support (LTS)](https://dotnet.microsoft.com/platform/support/policy/dotnet-core) version, which is .NET Core 3.1. To install the current release, which may not be an (LTS) version, use the `-c Current` parameter. - -```bash -./dotnet-install.sh -c Current -``` - -To install .NET Runtime instead of the SDK, use the `--runtime` parameter. - -```bash -./dotnet-install.sh -c Current --runtime aspnetcore -``` - -You can install a specific version by altering the `-c` parameter to indicate the specific version. The following command installs .NET SDK 5.0. - -```bash -./dotnet-install.sh -c 5.0 -``` - -For more information, see [dotnet-install scripts reference](../../tools/dotnet-install-script.md). diff --git a/docs/core/install/linux-alpine.md b/docs/core/install/linux-alpine.md index 8d6e90378194c..68453d113836e 100644 --- a/docs/core/install/linux-alpine.md +++ b/docs/core/install/linux-alpine.md @@ -3,7 +3,7 @@ title: Install .NET on Alpine - .NET description: Demonstrates the various ways to install .NET SDK and .NET Runtime on Alpine. author: adegeo ms.author: adegeo -ms.date: 11/10/2020 +ms.date: 01/06/2021 --- # Install the .NET SDK or the .NET Runtime on Alpine @@ -12,7 +12,13 @@ This article describes how to install .NET on Alpine. When an Alpine version fal [!INCLUDE [linux-intro-sdk-vs-runtime](includes/linux-intro-sdk-vs-runtime.md)] -There are no installers for Alpine. You must either use the [install script](#scripted-install) or follow the [manual install](#manual-install) instructions. +## Install + +Installers aren't available for Alpine Linux. You must install .NET in one of the following ways: + +- [Snap package](linux-snap.md) +- [Scripted install with _install-dotnet.sh_](linux-scripted-manual.md#scripted-install) +- [Manual binary extraction](linux-scripted-manual.md#manual-install) ## Supported distributions @@ -49,14 +55,7 @@ The following versions of .NET are no longer supported. The downloads for these - libstdc++ - zlib -## Scripted install - -[!INCLUDE [linux-install-scripted](includes/linux-install-scripted.md)] - -## Manual install - -[!INCLUDE [linux-install-manual](includes/linux-install-manual.md)] - ## Next steps +- [How to enable TAB completion for the .NET CLI](../tools/enable-tab-autocomplete.md) - [Tutorial: Create a console application with .NET SDK using Visual Studio Code](../tutorials/with-visual-studio-code.md) diff --git a/docs/core/install/linux-centos.md b/docs/core/install/linux-centos.md index ea8ac3e26ad80..bc4182dd31fd1 100644 --- a/docs/core/install/linux-centos.md +++ b/docs/core/install/linux-centos.md @@ -3,7 +3,7 @@ title: Install .NET on CentOS - .NET description: Demonstrates the various ways to install .NET SDK and .NET Runtime on CentOS. author: adegeo ms.author: adegeo -ms.date: 11/10/2020 +ms.date: 01/06/2021 --- # Install the .NET SDK or the .NET Runtime on CentOS @@ -39,10 +39,6 @@ The following versions of .NET are no longer supported. The downloads for these [!INCLUDE [package-manager uninstall notice](./includes/linux-uninstall-preview-info.md)] -## How to install other versions - -[!INCLUDE [package-manager-switcher](./includes/package-manager-heading-hack-pkgname.md)] - ## CentOS 8 ✔️ .NET 5.0 is available in the default package repositories for CentOS 8. @@ -59,6 +55,10 @@ sudo rpm -Uvh https://packages.microsoft.com/config/centos/7/packages-microsoft- [!INCLUDE [linux-yum-install-50](includes/linux-install-50-yum.md)] +## How to install other versions + +[!INCLUDE [package-manager-switcher](./includes/package-manager-heading-hack-pkgname.md)] + ## Troubleshoot the package manager This section provides information on common errors you may get while using the package manager to install .NET. @@ -71,22 +71,11 @@ This section provides information on common errors you may get while using the p [!INCLUDE [package-manager-failed-to-fetch-rpm](includes/package-manager-failed-to-fetch-rpm.md)] -## Snap - -[!INCLUDE [linux-install-snap](includes/linux-install-snap.md)] - ## Dependencies [!INCLUDE [linux-rpm-install-dependencies](includes/linux-rpm-install-dependencies.md)] -## Scripted install - -[!INCLUDE [linux-install-scripted](includes/linux-install-scripted.md)] - -## Manual install - -[!INCLUDE [linux-install-manual](includes/linux-install-manual.md)] - ## Next steps +- [How to enable TAB completion for the .NET CLI](../tools/enable-tab-autocomplete.md) - [Tutorial: Create a console application with .NET SDK using Visual Studio Code](../tutorials/with-visual-studio-code.md) diff --git a/docs/core/install/linux-debian.md b/docs/core/install/linux-debian.md index 76a540b9f48f3..01db556ab7723 100644 --- a/docs/core/install/linux-debian.md +++ b/docs/core/install/linux-debian.md @@ -3,7 +3,7 @@ title: Install .NET on Debian - .NET description: Demonstrates the various ways to install .NET SDK and .NET Runtime on Debian. author: adegeo ms.author: adegeo -ms.date: 11/10/2020 +ms.date: 01/06/2021 --- # Install the .NET SDK or the .NET Runtime on Debian @@ -38,10 +38,6 @@ The following versions of .NET are no longer supported. The downloads for these [!INCLUDE [package-manager uninstall notice](./includes/linux-uninstall-preview-info.md)] -## How to install other versions - -[!INCLUDE [hack-pkgname](./includes/package-manager-heading-hack-pkgname.md)] - ## Debian 10 ✔️ [!INCLUDE [linux-prep-intro-apt](includes/linux-prep-intro-apt.md)] @@ -85,7 +81,11 @@ sudo chown root:root /etc/apt/sources.list.d/microsoft-prod.list [!INCLUDE [linux-apt-install-21](includes/linux-install-21-apt.md)] -## APT update SDK or runtime +## How to install other versions + +[!INCLUDE [package-manager-switcher](./includes/package-manager-heading-hack-pkgname.md)] + +## Use APT to update .NET When a new patch release is available for .NET, you can simply upgrade it through APT with the following commands: @@ -124,10 +124,6 @@ sudo apt-get update; \ [!INCLUDE [package-manager-failed-to-fetch-deb](includes/package-manager-failed-to-fetch-deb.md)] -## Snap - -[!INCLUDE [linux-install-snap](includes/linux-install-snap.md)] - ## Dependencies When you install with a package manager, these libraries are installed for you. But, if you manually install .NET Core or you publish a self-contained app, you'll need to make sure these libraries are installed: @@ -151,14 +147,7 @@ For .NET Core apps that use the *System.Drawing.Common* assembly, you also need > [!WARNING] > You can install a recent version of *libgdiplus* by adding the Mono repository to your system. For more information, see . -## Scripted install - -[!INCLUDE [linux-install-scripted](includes/linux-install-scripted.md)] - -## Manual install - -[!INCLUDE [linux-install-manual](includes/linux-install-manual.md)] - ## Next steps +- [How to enable TAB completion for the .NET CLI](../tools/enable-tab-autocomplete.md) - [Tutorial: Create a console application with .NET SDK using Visual Studio Code](../tutorials/with-visual-studio-code.md) diff --git a/docs/core/install/linux-fedora.md b/docs/core/install/linux-fedora.md index d99131a62f8f6..f36db0dc0ab0e 100644 --- a/docs/core/install/linux-fedora.md +++ b/docs/core/install/linux-fedora.md @@ -3,145 +3,104 @@ title: Install .NET on Fedora - .NET description: Demonstrates the various ways to install .NET SDK and .NET Runtime on Fedora. author: adegeo ms.author: adegeo -ms.date: 11/10/2020 +ms.date: 01/06/2021 --- # Install the .NET SDK or the .NET Runtime on Fedora -.NET is supported on Fedora. This article describes how to install .NET on Fedora. When a Fedora version falls out of support, .NET is no longer supported with that version. However, these instructions may help you to get .NET running on those versions, even though it isn't supported. +.NET is supported on Fedora and this article describes how to install .NET on Fedora. When a Fedora version falls out of support, .NET is no longer supported with that version. [!INCLUDE [linux-intro-sdk-vs-runtime](includes/linux-intro-sdk-vs-runtime.md)] [!INCLUDE [linux-install-package-manager-x64-vs-arm](includes/linux-install-package-manager-x64-vs-arm.md)] -## Supported distributions - -The following table is a list of currently supported .NET releases and the versions of Fedora 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 version of [Fedora reaches end-of-life](https://fedoraproject.org/wiki/End_of_life). - -- A ✔️ indicates that the version of Fedora or .NET is still supported. -- A ❌ indicates that the version of Fedora or .NET isn't supported on that Fedora release. -- When both a version of Fedora and a version of .NET have ✔️, that OS and .NET combination is supported. - -| Fedora | .NET Core 2.1 | .NET Core 3.1 | .NET 5.0 | -|----------------------|---------------|---------------|----------| -| ✔️ [33](#fedora-33-) | ✔️ 2.1 | ✔️ 3.1 | ✔️ 5.0 | -| ✔️ [32](#fedora-32-) | ✔️ 2.1 | ✔️ 3.1 | ✔️ 5.0 | -| ❌ [31](#fedora-31-) | ✔️ 2.1 | ✔️ 3.1 | ❌ 5.0 | -| ❌ [30](#fedora-30-) | ✔️ 2.1 | ✔️ 3.1 | ❌ 5.0 | -| ❌ [29](#fedora-29-) | ✔️ 2.1 | ✔️ 3.1 | ❌ 5.0 | -| ❌ [28](#fedora-28-) | ✔️ 2.1 | ❌ 3.1 | ❌ 5.0 | -| ❌ [27](#fedora-27-) | ✔️ 2.1 | ❌ 3.1 | ❌ 5.0 | - -The following versions of .NET are no longer supported. The downloads for these still remain published: - -- 3.0 -- 2.2 -- 2.0 - -## Remove preview versions - -[!INCLUDE [package-manager uninstall notice](./includes/linux-uninstall-preview-info.md)] - -## How to install other versions - -[!INCLUDE [package-manager-switcher](./includes/package-manager-heading-hack-pkgname.md)] - -## Fedora 33 ✔️ - -> [!TIP] -> .NET Core 3.1 is available in the default package repositories for Fedora 33. To install .NET Core 3.1, use the `dnf install` command with the appropriate package, such as `aspnetcore-runtime-3.1` or `dotnet-sdk-3.1`. .NET 5.0 isn't yet available in the default package repositories. +## Install .NET 5.0 [!INCLUDE [linux-prep-intro-generic](includes/linux-prep-intro-generic.md)] +**Fedora 32** + ```bash sudo rpm --import https://packages.microsoft.com/keys/microsoft.asc -sudo wget -O /etc/yum.repos.d/microsoft-prod.repo https://packages.microsoft.com/config/fedora/33/prod.repo +sudo wget -O /etc/yum.repos.d/microsoft-prod.repo https://packages.microsoft.com/config/fedora/32/prod.repo ``` -[!INCLUDE [linux-dnf-install-50](includes/linux-install-50-dnf.md)] - -## Fedora 32 ✔️ - -> [!TIP] -> .NET Core 3.1 is available in the default package repositories for Fedora 32. To install .NET Core 3.1, use the `dnf install` command with the appropriate package, such as `aspnetcore-runtime-3.1` or `dotnet-sdk-3.1`. .NET 5.0 isn't yet available in the default package repositories. - -[!INCLUDE [linux-prep-intro-generic](includes/linux-prep-intro-generic.md)] +**Fedora 33** ```bash sudo rpm --import https://packages.microsoft.com/keys/microsoft.asc -sudo wget -O /etc/yum.repos.d/microsoft-prod.repo https://packages.microsoft.com/config/fedora/32/prod.repo +sudo wget -O /etc/yum.repos.d/microsoft-prod.repo https://packages.microsoft.com/config/fedora/33/prod.repo ``` [!INCLUDE [linux-dnf-install-50](includes/linux-install-50-dnf.md)] -## Fedora 31 ❌ - -[!INCLUDE [linux-not-supported](includes/linux-not-supported-fedora.md)] - -[!INCLUDE [linux-prep-intro-generic](includes/linux-prep-intro-generic.md)] +## Install .NET Core 3.1 -```bash -sudo rpm --import https://packages.microsoft.com/keys/microsoft.asc -sudo wget -O /etc/yum.repos.d/microsoft-prod.repo https://packages.microsoft.com/config/fedora/31/prod.repo -``` +The latest version of .NET available in the default package repositories for Fedora is .NET Core 3.1. [!INCLUDE [linux-dnf-install-31](includes/linux-install-31-dnf.md)] -## Fedora 30 ❌ +## Supported distributions -[!INCLUDE [linux-not-supported](includes/linux-not-supported-fedora.md)] +The following table is a list of currently supported .NET releases and the versions of Fedora 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 version of [Fedora reaches end-of-life](https://fedoraproject.org/wiki/End_of_life). -[!INCLUDE [linux-prep-intro-generic](includes/linux-prep-intro-generic.md)] +- A ✔️ indicates that the version of Fedora or .NET is still supported. +- A ❌ indicates that the version of Fedora or .NET isn't supported on that Fedora release. +- When both a version of Fedora and a version of .NET have ✔️, that OS and .NET combination is supported. -```bash -sudo rpm --import https://packages.microsoft.com/keys/microsoft.asc -sudo wget -O /etc/yum.repos.d/microsoft-prod.repo https://packages.microsoft.com/config/fedora/30/prod.repo -``` +| .NET Version | Fedora 33 ✔️ | 32 ✔️ | 31 ❌ | 30 ❌ | 29 ❌ | 28 ❌ | 27 ❌ | +| ------------ | ---------: | --: | --: | --: | --: | --: | --: | +| .NET 5.0 | ✔️ | ✔️ | ❌|❌ |❌ |❌ |❌ | +| .NET Core 3.1 | ✔️ | ✔️ | ✔️|✔️ |✔️ |❌ |❌ | +| .NET Core 2.1 | ✔️ | ✔️ | ✔️|✔️ |✔️ |✔️ |✔️ | -[!INCLUDE [linux-dnf-install-31](includes/linux-install-31-dnf.md)] +The following versions of .NET are no longer supported. The downloads for these still remain published: -## Fedora 29 ❌ +- 3.0 +- 2.2 +- 2.0 -[!INCLUDE [linux-not-supported](includes/linux-not-supported-fedora.md)] +## Remove preview versions -[!INCLUDE [linux-prep-intro-generic](includes/linux-prep-intro-generic.md)] +[!INCLUDE [package-manager uninstall notice](./includes/linux-uninstall-preview-info.md)] -```bash -sudo rpm --import https://packages.microsoft.com/keys/microsoft.asc -sudo wget -O /etc/yum.repos.d/microsoft-prod.repo https://packages.microsoft.com/config/fedora/29/prod.repo -``` +## Dependencies -[!INCLUDE [linux-dnf-install-30](includes/linux-install-30-dnf.md)] +[!INCLUDE [linux-rpm-install-dependencies](includes/linux-rpm-install-dependencies.md)] -## Fedora 28 ❌ +## Install on older distributions -[!INCLUDE [linux-not-supported](includes/linux-not-supported-fedora.md)] +Older versions of Fedora don't contain .NET Core in the default package repositories. You can install .NET with [snap](linux-snap.md), through the [_dotnet-install.sh_ script](linux-scripted-manual.md#scripted-install), or use Microsoft's repository to install .NET: -[!INCLUDE [linux-prep-intro-generic](includes/linux-prep-intro-generic.md)] +01. First, add the Microsoft signing key to your list of trusted keys. -```bash -sudo rpm --import https://packages.microsoft.com/keys/microsoft.asc -sudo wget -O /etc/yum.repos.d/microsoft-prod.repo https://packages.microsoft.com/config/fedora/28/prod.repo -``` + ```bash + sudo rpm --import https://packages.microsoft.com/keys/microsoft.asc + ``` -[!INCLUDE [linux-dnf-install-20](includes/linux-install-20-dnf.md)] +02. Next, add the Microsoft package repository. The source of the repository is based on your version of Fedora. -## Fedora 27 ❌ + | Fedora Version | Package repository | + | -------------- | ------- | + | 31 | `https://packages.microsoft.com/config/fedora/31/prod.repo` | + | 30 | `https://packages.microsoft.com/config/fedora/30/prod.repo` | + | 29 | `https://packages.microsoft.com/config/fedora/29/prod.repo` | + | 28 | `https://packages.microsoft.com/config/fedora/28/prod.repo` | + | 27 | `https://packages.microsoft.com/config/fedora/27/prod.repo` | -[!INCLUDE [linux-not-supported](includes/linux-not-supported-fedora.md)] + ```bash + sudo wget -O /etc/yum.repos.d/microsoft-prod.repo https://packages.microsoft.com/config/fedora/31/prod.repo + ``` -[!INCLUDE [linux-prep-intro-generic](includes/linux-prep-intro-generic.md)] +[!INCLUDE [linux-dnf-install-31](./includes/linux-install-31-dnf.md)] -```bash -sudo rpm --import https://packages.microsoft.com/keys/microsoft.asc -sudo wget -O /etc/yum.repos.d/microsoft-prod.repo https://packages.microsoft.com/config/fedora/27/prod.repo -``` +## How to install other versions -[!INCLUDE [linux-dnf-install-20](includes/linux-install-20-dnf.md)] +[!INCLUDE [package-manager-switcher](./includes/package-manager-heading-hack-pkgname.md)] ## Troubleshoot the package manager -This section provides information on common errors you may get while using the package manager to install .NET Core. +This section provides information on common errors you may get while using the package manager to install .NET or .NET Core. ### Unable to find package @@ -151,22 +110,7 @@ This section provides information on common errors you may get while using the p [!INCLUDE [package-manager-failed-to-fetch-rpm](includes/package-manager-failed-to-fetch-rpm.md)] -## Snap - -[!INCLUDE [linux-install-snap](includes/linux-install-snap.md)] - -## Dependencies - -[!INCLUDE [linux-rpm-install-dependencies](includes/linux-rpm-install-dependencies.md)] - -## Scripted install - -[!INCLUDE [linux-install-scripted](includes/linux-install-scripted.md)] - -## Manual install - -[!INCLUDE [linux-install-manual](includes/linux-install-manual.md)] - ## Next steps +- [How to enable TAB completion for the .NET CLI](../tools/enable-tab-autocomplete.md) - [Tutorial: Create a console application with .NET SDK using Visual Studio Code](../tutorials/with-visual-studio-code.md) diff --git a/docs/core/install/linux-opensuse.md b/docs/core/install/linux-opensuse.md index b622337a800c0..5651f976371c3 100644 --- a/docs/core/install/linux-opensuse.md +++ b/docs/core/install/linux-opensuse.md @@ -3,7 +3,7 @@ title: Install .NET on openSUSE - .NET description: Demonstrates the various ways to install .NET SDK and .NET Runtime on openSUSE. author: adegeo ms.author: adegeo -ms.date: 11/10/2020 +ms.date: 01/06/2021 --- # Install the .NET SDK or the .NET Runtime on openSUSE @@ -36,10 +36,6 @@ The following versions of .NET are no longer supported. The downloads for these [!INCLUDE [package-manager uninstall notice](./includes/linux-uninstall-preview-info.md)] -## How to install other versions - -[!INCLUDE [package-manager-switcher](./includes/package-manager-heading-hack-pkgname.md)] - ## openSUSE 15 ✔️ [!INCLUDE [linux-prep-intro-generic](includes/linux-prep-intro-generic.md)] @@ -54,6 +50,10 @@ sudo chown root:root /etc/zypp/repos.d/microsoft-prod.repo [!INCLUDE [linux-zyp-install-50](includes/linux-install-50-zyp.md)] +## How to install other versions + +[!INCLUDE [package-manager-switcher](./includes/package-manager-heading-hack-pkgname.md)] + ## Troubleshoot the package manager This section provides information on common errors you may get while using the package manager to install .NET. @@ -66,10 +66,6 @@ This section provides information on common errors you may get while using the p [!INCLUDE [package-manager-failed-to-fetch-rpm](includes/package-manager-failed-to-fetch-rpm.md)] -## Snap - -[!INCLUDE [linux-install-snap](includes/linux-install-snap.md)] - ## Dependencies 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: @@ -89,14 +85,7 @@ For .NET apps that use the *System.Drawing.Common* assembly, you'll also need th > [!WARNING] > You can install a recent version of *libgdiplus* by adding the Mono repository to your system. For more information, see . -## Scripted install - -[!INCLUDE [linux-install-scripted](includes/linux-install-scripted.md)] - -## Manual install - -[!INCLUDE [linux-install-manual](includes/linux-install-manual.md)] - ## Next steps +- [How to enable TAB completion for the .NET CLI](../tools/enable-tab-autocomplete.md) - [Tutorial: Create a console application with .NET SDK using Visual Studio Code](../tutorials/with-visual-studio-code.md) diff --git a/docs/core/install/linux-rhel.md b/docs/core/install/linux-rhel.md index 899dfd339731c..d378c84b562e4 100644 --- a/docs/core/install/linux-rhel.md +++ b/docs/core/install/linux-rhel.md @@ -3,7 +3,7 @@ title: Install .NET on RHEL - .NET description: Demonstrates the various ways to install .NET SDK and .NET Runtime on RHEL. author: adegeo ms.author: adegeo -ms.date: 11/10/2020 +ms.date: 01/06/2021 --- # Install the .NET SDK or the .NET Runtime on RHEL @@ -39,10 +39,6 @@ The following versions of .NET are no longer supported. The downloads for these [!INCLUDE [package-manager uninstall notice](./includes/linux-uninstall-preview-info.md)] -## How to install other versions - -Consult the [Red Hat documentation for .NET](https://access.redhat.com/documentation/net/5.0/) on the steps required to install other releases of .NET. - ## RHEL 8 ✔️ .NET is included in the AppStream repositories for RHEL 8. @@ -135,22 +131,15 @@ source scl_source enable rh-dotnet31 As an alternative to the ASP.NET Core Runtime, you can install the .NET Core Runtime that doesn't include ASP.NET Core support: replace `rh-dotnet31-aspnetcore-runtime-3.1` in the commands above with `rh-dotnet31-dotnet-runtime-3.1`. -## Snap - -[!INCLUDE [linux-install-snap](includes/linux-install-snap.md)] - ## Dependencies [!INCLUDE [linux-rpm-install-dependencies](includes/linux-rpm-install-dependencies.md)] -## Scripted install - -[!INCLUDE [linux-install-scripted](includes/linux-install-scripted.md)] - -## Manual install +## How to install other versions -[!INCLUDE [linux-install-manual](includes/linux-install-manual.md)] +Consult the [Red Hat documentation for .NET](https://access.redhat.com/documentation/net/5.0/) on the steps required to install other releases of .NET. ## Next steps +- [How to enable TAB completion for the .NET CLI](../tools/enable-tab-autocomplete.md) - [Tutorial: Create a console application with .NET SDK using Visual Studio Code](../tutorials/with-visual-studio-code.md) diff --git a/docs/core/install/linux-scripted-manual.md b/docs/core/install/linux-scripted-manual.md new file mode 100644 index 0000000000000..a010d438556b0 --- /dev/null +++ b/docs/core/install/linux-scripted-manual.md @@ -0,0 +1,151 @@ +--- +title: Manually install .NET on Linux - .NET +description: Demonstrates how to install the .NET SDK and the .NET Runtime without a package manager on Linux. Use the install script or manually extract the binaries. +author: adegeo +ms.author: adegeo +ms.date: 01/06/2021 +--- + +# Install the .NET SDK or the .NET Runtime manually + +.NET is supported on Linux and this article describes how to install .NET on Linux using the install script or by extracting the binaries. For a list of distributions that support the built-in package manager, see [Install .NET on Linux](linux.md). + +You can also install .NET with snap. For more information, see [Install the .NET SDK or the .NET Runtime with Snap](linux-snap.md). + +[!INCLUDE [linux-intro-sdk-vs-runtime](includes/linux-intro-sdk-vs-runtime.md)] + +## .NET releases + +The following table lists the .NET (and .NET Core) releases: + +| ✔️ Supported | ❌ Unsupported | +|-------------|---------------| +| 5.0 | 3.0 | +| 3.1 (LTS) | 2.2 | +| 2.1 (LTS) | 2.0 | +| | 1.1 | +| | 1.0 | + +For more information about the life cycle of .NET releases, see [.NET Core and .NET 5 Support Policy](https://dotnet.microsoft.com/platform/support/policy/dotnet-core). + +## Dependencies + +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: + +- [Alpine](linux-alpine.md#dependencies) +- [Debian](linux-debian.md#dependencies) +- [CentOS](linux-centos.md#dependencies) +- [Fedora](linux-fedora.md#dependencies) +- [RHEL](linux-rhel.md#dependencies) +- [SLES](linux-sles.md#dependencies) +- [Ubuntu](linux-ubuntu.md#dependencies) + +For generic information about the dependencies, see [Self-contained Linux apps](https://github.com/dotnet/core/blob/master/Documentation/self-contained-linux-apps.md). + +### RPM dependencies + +If your distribution wasn't previously listed, and is RPM-based, you may need the following dependencies: + +- krb5-libs +- libicu +- openssl-libs + +If the target runtime environment's OpenSSL version is 1.1 or newer, you'll need to install **compat-openssl10**. + +### DEB dependencies + +If your distribution wasn't previously listed, and is debian-based, you may need the following dependencies: + +- libc6 +- libgcc1 +- libgssapi-krb5-2 +- libicu67 +- libssl1.1 +- libstdc++6 +- zlib1g + +### Common dependencies + +For .NET apps that use the *System.Drawing.Common* assembly, you'll also need the following dependency: + +- [libgdiplus (version 6.0.1 or later)](https://www.mono-project.com/docs/gui/libgdiplus/) + + > [!WARNING] + > You can install a recent version of *libgdiplus* by adding the Mono repository to your system. For more information, see . + +## Scripted install + +The [dotnet-install scripts](../tools/dotnet-install-script.md) are used for automation and non-admin installs of the **SDK** and **Runtime**. You can download the script from . + +The script defaults to installing the latest SDK [long term support (LTS)](https://dotnet.microsoft.com/platform/support/policy/dotnet-core) version, which is .NET Core 3.1. To install the current release, which may not be an (LTS) version, use the `-c Current` parameter. + +```bash +./dotnet-install.sh -c Current +``` + +To install .NET Runtime instead of the SDK, use the `--runtime` parameter. + +```bash +./dotnet-install.sh -c Current --runtime aspnetcore +``` + +You can install a specific version by altering the `-c` parameter to indicate the specific version. The following command installs .NET SDK 5.0. + +```bash +./dotnet-install.sh -c 5.0 +``` + +For more information, see [dotnet-install scripts reference](../tools/dotnet-install-script.md). + +## Manual install + + + +As an alternative to the package managers, you can download and manually install the SDK and runtime. Manual install is commonly used as part of continuous integration testing or on an unsupported Linux distribution. For a developer or user, it's better to use a package manager. + +If you install .NET SDK, you don't need to install the corresponding runtime. First, download a **binary** release for either the SDK or the runtime from one of the following sites: + +- ✔️ [.NET 5.0 downloads](https://dotnet.microsoft.com/download/dotnet/5.0) +- ✔️ [.NET Core 3.1 downloads](https://dotnet.microsoft.com/download/dotnet-core/3.1) +- ✔️ [.NET Core 2.1 downloads](https://dotnet.microsoft.com/download/dotnet-core/2.1) +- [All .NET Core downloads](https://dotnet.microsoft.com/download/dotnet-core) + +Next, extract the downloaded file and use the `export` command to set variables used by .NET and then ensure .NET is in PATH. + +To extract the runtime and make the .NET CLI commands available at the terminal, first download a .NET binary release. Then, open a terminal and run the following commands from the directory where the file was saved. The archive file name may be different depending on what you downloaded. + +**Use the following command to extract the runtime**: + +```bash +mkdir -p "$HOME/dotnet" && tar zxf aspnetcore-runtime-5.0.0-linux-x64.tar.gz -C "$HOME/dotnet" +export DOTNET_ROOT=$HOME/dotnet +export PATH=$PATH:$HOME/dotnet +``` + +**Use the following command to extract the SDK**: + +```bash +mkdir -p "$HOME/dotnet" && tar zxf dotnet-sdk-5.0.100-linux-x64.tar.gz -C "$HOME/dotnet" +export DOTNET_ROOT=$HOME/dotnet +export PATH=$PATH:$HOME/dotnet +``` + +> [!TIP] +> The preceding `export` commands only make the .NET CLI commands available for the terminal session in which it was run. +> +> You can edit your shell profile to permanently add the commands. There are a number of different shells available for Linux and each has a different profile. For example: +> +> - **Bash Shell**: *~/.bash_profile*, *~/.bashrc* +> - **Korn Shell**: *~/.kshrc* or *.profile* +> - **Z Shell**: *~/.zshrc* or *.zprofile* +> +> Edit the appropriate source file for your shell and add `:$HOME/dotnet` to the end of the existing `PATH` statement. If no `PATH` statement is included, add a new line with `export PATH=$PATH:$HOME/dotnet`. +> +> Also, add `export DOTNET_ROOT=$HOME/dotnet` to the end of the file. + +This approach lets you install different versions into separate locations and choose explicitly which one to use by which application. + +## Next steps + +- [How to enable TAB completion for the .NET CLI](../tools/enable-tab-autocomplete.md) +- [Tutorial: Create a console application with .NET SDK using Visual Studio Code](../tutorials/with-visual-studio-code.md) diff --git a/docs/core/install/linux-sles.md b/docs/core/install/linux-sles.md index a707dff3de4d6..4fe66f9a7744a 100644 --- a/docs/core/install/linux-sles.md +++ b/docs/core/install/linux-sles.md @@ -3,7 +3,7 @@ title: Install .NET on SLES - .NET description: Demonstrates the various ways to install .NET SDK and .NET Runtime on SLES. author: adegeo ms.author: adegeo -ms.date: 11/10/2020 +ms.date: 01/06/2021 --- # Install the .NET SDK or the .NET Runtime on SLES @@ -35,10 +35,6 @@ The following versions of .NET Core are no longer supported. The downloads for t [!INCLUDE [package-manager uninstall notice](./includes/linux-uninstall-preview-info.md)] -## How to install other versions - -[!INCLUDE [package-manager-switcher](./includes/package-manager-heading-hack-pkgname.md)] - ## SLES 15 ✔️ [!INCLUDE [linux-prep-intro-generic](includes/linux-prep-intro-generic.md)] @@ -67,6 +63,10 @@ sudo rpm -Uvh https://packages.microsoft.com/config/sles/12/packages-microsoft-p [!INCLUDE [linux-zyp-install-50](includes/linux-install-50-zyp.md)] +## How to install other versions + +[!INCLUDE [package-manager-switcher](./includes/package-manager-heading-hack-pkgname.md)] + ## Troubleshoot the package manager This section provides information on common errors you may get while using the package manager to install .NET. @@ -94,14 +94,7 @@ For .NET apps that use the *System.Drawing.Common* assembly, you'll also need th > [!WARNING] > You can install a recent version of *libgdiplus* by adding the Mono repository to your system. For more information, see . -## Scripted install - -[!INCLUDE [linux-install-scripted](includes/linux-install-scripted.md)] - -## Manual install - -[!INCLUDE [linux-install-manual](includes/linux-install-manual.md)] - ## Next steps +- [How to enable TAB completion for the .NET CLI](../tools/enable-tab-autocomplete.md) - [Tutorial: Create a console application with .NET SDK using Visual Studio Code](../tutorials/with-visual-studio-code.md) diff --git a/docs/core/install/linux-snap.md b/docs/core/install/linux-snap.md new file mode 100644 index 0000000000000..cf75dc01a4eca --- /dev/null +++ b/docs/core/install/linux-snap.md @@ -0,0 +1,117 @@ +--- +title: Install .NET on Linux with Snap - .NET +description: Demonstrates how to install either the .NET SDK or the .NET Runtime on Linux with Snap. +author: adegeo +ms.author: adegeo +ms.date: 01/06/2021 +--- + +# Install the .NET SDK or the .NET Runtime with Snap + +Use a Snap package to install the .NET SDK or .NET Runtime. Snaps are a great alternative to the package manager built into your Linux distribution. This article describes how to install .NET through [Snap](https://snapcraft.io/dotnet-sdk). + +A snap is a bundle of an app and its dependencies that works without modification across many different Linux distributions. Snaps are discoverable and installable from the Snap Store. For more information about Snap, see [Getting started with Snap](https://snapcraft.io/docs/getting-started). + +> [!CAUTION] +> Snap packages aren't supported in WSL2 on Windows 10. As an alternative, use the [`dotnet-install` script](linux-scripted-manual.md#scripted-install) or the package manager for the particular WSL2 distribution. It's not recommended but you can try to enable snap with an [unsupported workaround from the snapcraft forums](https://forum.snapcraft.io/t/running-snaps-on-wsl2-insiders-only-for-now/13033). + +## .NET releases + +Only ✔️ supported versions of .NET SDK are available through Snap. All versions of the .NET Runtime are available through snap starting with version 2.1. The following table lists the .NET (and .NET Core) releases: + +| ✔️ Supported | ❌ Unsupported | +|-------------|---------------| +| 5.0 | 3.0 | +| 3.1 (LTS) | 2.2 | +| 2.1 (LTS) | 2.0 | +| | 1.1 | +| | 1.0 | + +For more information about the life cycle of .NET releases, see [.NET Core and .NET 5 Support Policy](https://dotnet.microsoft.com/platform/support/policy/dotnet-core). + +## SDK or Runtime + +[!INCLUDE [linux-intro-sdk-vs-runtime](includes/linux-intro-sdk-vs-runtime.md)] + +## Install the SDK + +Snap packages for the .NET SDK are all published under the same identifier: `dotnet-sdk`. A specific version of the SDK can be installed by specifying the channel. The SDK includes the corresponding runtime. The following table lists the channels: + +| .NET version | Snap package or channel | +|--------------|--------------------------| +| 5.0 | `5.0` or `latest/stable` | +| 3.1 (LTS) | `3.1` or `lts/stable` | +| 2.1 (LTS) | `2.1` | + +Use the `snap install` command to install a .NET SDK snap package. Use the `--channel` parameter to indicate which version to install. If this parameter is omitted, `latest/stable` is used. In this example, `5.0` is specified: + +```bash +sudo snap install dotnet-sdk --classic --channel=5.0 +``` + +Next, register the `dotnet` command for the system with the `snap alias` command: + +```bash +sudo snap alias dotnet-sdk.dotnet dotnet +``` + +This command is formatted as: `sudo snap alias {package}.{command} {alias}`. You can choose any `{alias}` name you would like. For example, you could name the command after the specific version installed by snap: `sudo snap alias dotnet-sdk.dotnet dotnet50`. When you use the command `dotnet50`, you'll invoke this specific version of .NET. But choosing a different alias is incompatible with most tutorials and examples as they expect a `dotnet` command to be used. + +## Install the runtime + +Snap packages for the .NET Runtime are each published under their own package identifier. The following table lists the package identifiers: + +| .NET version | Snap package | +|-------------------|---------------------| +| 5.0 | `dotnet-runtime-50` | +| 3.1 (LTS) | `dotnet-runtime-31` | +| 3.0 | `dotnet-runtime-30` | +| 2.2 | `dotnet-runtime-22` | +| 2.1 (LTS) | `dotnet-runtime-21` | + +Use the `snap install` command to install a .NET Runtime snap package. In this example, .NET 5.0 is installed: + +```bash +sudo snap install dotnet-runtime-50 --classic +``` + +Next, register the `dotnet` command for the system with the `snap alias` command: + +```bash +sudo snap alias dotnet-runtime-50.dotnet dotnet +``` + +The command is formatted as: `sudo snap alias {package}.{command} {alias}`. You can choose any `{alias}` name you would like. For example, you could name the command after the specific version installed by snap: `sudo snap alias dotnet-runtime-50.dotnet dotnet50`. When you use the command `dotnet50`, you'll invoke a specific version of .NET. But choosing a different alias is incompatible with most tutorials and examples as they expect a `dotnet` command to be available. + +## TLS/SSL Certificate errors + +When .NET is installed through Snap, it's possible that on some distros the .NET TLS/SSL certificates may not be found and you may receive an error during `restore`: + +```bash +Processing post-creation actions... +Running 'dotnet restore' on /home/myhome/test/test.csproj... + Restoring packages for /home/myhome/test/test.csproj... +/snap/dotnet-sdk/27/sdk/2.2.103/NuGet.targets(114,5): error : Unable to load the service index for source https://api.nuget.org/v3/index.json. [/home/myhome/test/test.csproj] +/snap/dotnet-sdk/27/sdk/2.2.103/NuGet.targets(114,5): error : The SSL connection could not be established, see inner exception. [/home/myhome/test/test.csproj] +/snap/dotnet-sdk/27/sdk/2.2.103/NuGet.targets(114,5): error : The remote certificate is invalid according to the validation procedure. [/home/myhome/test/test.csproj] +``` + +To resolve this problem, set a few environment variables: + +```bash +export SSL_CERT_FILE=[path-to-certificate-file] +export SSL_CERT_DIR=/dev/null +``` + +The certificate location will vary by distro. Here are the locations for the distros where the issue has been experienced. + +| Distribution | Location | +|--------------|-----------------------------------------------------| +| **Fedora** | `/etc/pki/ca-trust/extracted/pem/tls-ca-bundle.pem` | +| **OpenSUSE** | `/etc/ssl/ca-bundle.pem` | +| **Solus** | `/etc/ssl/certs/ca-certificates.crt` | + +## Next steps + +- [How to enable TAB completion for the .NET CLI](../tools/enable-tab-autocomplete.md) +- [Tutorial: Create a console application with .NET SDK using Visual Studio Code](../tutorials/with-visual-studio-code.md) diff --git a/docs/core/install/linux-ubuntu.md b/docs/core/install/linux-ubuntu.md index 006a29db7a51c..5cf6a08a6df26 100644 --- a/docs/core/install/linux-ubuntu.md +++ b/docs/core/install/linux-ubuntu.md @@ -3,12 +3,12 @@ title: Install .NET on Ubuntu - .NET description: Demonstrates the various ways to install .NET SDK and .NET Runtime on Ubuntu. author: adegeo ms.author: adegeo -ms.date: 11/10/2020 +ms.date: 01/06/2021 --- # Install the .NET SDK or the .NET Runtime on Ubuntu -.NET is supported on Ubuntu. This article describes how to install .NET on Ubuntu. When an Ubuntu version falls out of support, .NET is no longer supported with that version. However, these instructions may help you to get .NET running on those versions, even though it isn't supported. +.NET is supported on Ubuntu. This article describes how to install .NET on Ubuntu. When an Ubuntu version falls out of support, .NET is no longer supported with that version. [!INCLUDE [linux-intro-sdk-vs-runtime](includes/linux-intro-sdk-vs-runtime.md)] @@ -45,15 +45,8 @@ The following versions of .NET are no longer supported. The downloads for these [!INCLUDE [package-manager uninstall notice](./includes/linux-uninstall-preview-info.md)] -## How to install other versions - -[!INCLUDE [package-manager-switcher](./includes/package-manager-heading-hack-pkgname.md)] - ## 20.10 ✔️ -> [!IMPORTANT] -> .NET Core 2.1 isn't yet available in the package feed. - [!INCLUDE [linux-prep-intro-apt](includes/linux-prep-intro-apt.md)] ```bash @@ -174,7 +167,11 @@ sudo dpkg -i packages-microsoft-prod.deb [!INCLUDE [linux-apt-install-50](includes/linux-install-50-apt.md)] -## APT update SDK or runtime +## How to install other versions + +[!INCLUDE [package-manager-switcher](./includes/package-manager-heading-hack-pkgname.md)] + +## Use APT to update .NET When a new patch release is available for .NET, you can simply upgrade it through APT with the following commands: @@ -213,10 +210,6 @@ sudo apt-get update; \ [!INCLUDE [package-manager-failed-to-fetch-deb](includes/package-manager-failed-to-fetch-deb.md)] -## Snap - -[!INCLUDE [linux-install-snap](includes/linux-install-snap.md)] - ## Dependencies 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: @@ -240,14 +233,7 @@ For .NET apps that use the *System.Drawing.Common* assembly, you also need the f > [!WARNING] > You can install a recent version of *libgdiplus* by adding the Mono repository to your system. For more information, see . -## Scripted install - -[!INCLUDE [linux-install-scripted](includes/linux-install-scripted.md)] - -## Manual install - -[!INCLUDE [linux-install-manual](includes/linux-install-manual.md)] - ## Next steps +- [How to enable TAB completion for the .NET CLI](../tools/enable-tab-autocomplete.md) - [Tutorial: Create a console application with .NET SDK using Visual Studio Code](../tutorials/with-visual-studio-code.md) diff --git a/docs/core/install/linux.md b/docs/core/install/linux.md index 20a462f9d11ac..478e87bbf2576 100644 --- a/docs/core/install/linux.md +++ b/docs/core/install/linux.md @@ -3,7 +3,7 @@ title: Install .NET on Linux Distributions description: Learn about what Linux distributions support installing .NET on Linux. author: adegeo ms.author: adegeo -ms.date: 11/10/2020 +ms.date: 01/06/2021 --- # Install .NET on Linux @@ -32,8 +32,6 @@ These unsupported versions aren't detailed in the sections below and your mileag ## Alpine -There are no installers for Alpine. You must either use the [install script](linux-alpine.md#scripted-install) or follow the [manual install](linux-alpine.md#manual-install) instructions. - The following table is a list of currently supported .NET releases and the versions 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 version of [Alpine reaches end-of-life](https://wiki.alpinelinux.org/wiki/Alpine_Linux:Releases). - A ✔️ indicates that the version of Alpine or .NET is still supported. @@ -93,13 +91,13 @@ The following table is a list of currently supported .NET releases and the versi | Fedora | .NET Core 2.1 | .NET Core 3.1 | .NET 5.0 | |--------------------------|---------------|---------------|----------------| -| ✔️ [33](linux-fedora.md#fedora-33-) | ✔️ 2.1 | ✔️ 3.1 | ✔️ 5.0 | -| ✔️ [32](linux-fedora.md#fedora-32-) | ✔️ 2.1 | ✔️ 3.1 | ✔️ 5.0 | -| ❌ [31](linux-fedora.md#fedora-31-) | ✔️ 2.1 | ✔️ 3.1 | ❌ 5.0 | -| ❌ [30](linux-fedora.md#fedora-30-) | ✔️ 2.1 | ✔️ 3.1 | ❌ 5.0 | -| ❌ [29](linux-fedora.md#fedora-29-) | ✔️ 2.1 | ✔️ 3.1 | ❌ 5.0 | -| ❌ [28](linux-fedora.md#fedora-28-) | ✔️ 2.1 | ❌ 3.1 | ❌ 5.0 | -| ❌ [27](linux-fedora.md#fedora-27-) | ✔️ 2.1 | ❌ 3.1 | ❌ 5.0 | +| ✔️ [33](linux-fedora.md#install-net-50) | ✔️ 2.1 | ✔️ 3.1 | ✔️ 5.0 | +| ✔️ [32](linux-fedora.md#install-net-50) | ✔️ 2.1 | ✔️ 3.1 | ✔️ 5.0 | +| ❌ [31](linux-fedora.md#install-on-older-distributions) | ✔️ 2.1 | ✔️ 3.1 | ❌ 5.0 | +| ❌ [30](linux-fedora.md#install-on-older-distributions) | ✔️ 2.1 | ✔️ 3.1 | ❌ 5.0 | +| ❌ [29](linux-fedora.md#install-on-older-distributions) | ✔️ 2.1 | ✔️ 3.1 | ❌ 5.0 | +| ❌ [28](linux-fedora.md#install-on-older-distributions) | ✔️ 2.1 | ❌ 3.1 | ❌ 5.0 | +| ❌ [27](linux-fedora.md#install-on-older-distributions) | ✔️ 2.1 | ❌ 3.1 | ❌ 5.0 | For more information, see [Install .NET on Fedora](linux-fedora.md). diff --git a/docs/core/install/windows.md b/docs/core/install/windows.md index 7e5a0b81f9b39..d7d3f7eb4b435 100644 --- a/docs/core/install/windows.md +++ b/docs/core/install/windows.md @@ -3,7 +3,7 @@ title: Install .NET on Windows description: Learn about what versions of Windows you can install .NET on. author: adegeo ms.author: adegeo -ms.date: 11/10/2020 +ms.date: 01/06/2021 --- # Install .NET on Windows diff --git a/docs/fundamentals/toc.yml b/docs/fundamentals/toc.yml index 1550a75cca6f4..9977a1a4ccefa 100644 --- a/docs/fundamentals/toc.yml +++ b/docs/fundamentals/toc.yml @@ -37,6 +37,11 @@ items: href: ../core/install/linux-rhel.md - name: SLES href: ../core/install/linux-sles.md + - name: Install with Snap + href: ../core/install/linux-snap.md + - name: Install script & binaries + href: ../core/install/linux-scripted-manual.md + - name: Remove outdated runtimes and SDKs href: ../core/install/remove-runtime-sdk-versions.md - name: Manage .NET templates