.NET Core SDK 2.1.602
This .NET Core SDK release is the version which shipped with Visual Studio 2019 today. It includes the previously release .NET Core and ASP.NET Core Runtimes.
- .NET Core SDK 2.1.602
- .NET Core Runtime 2.1.9
- ASP.NET Core 2.1.9
|SDK Installer1||SDK Binaries1||Runtime Installer||Runtime Binaries||ASP.NET Core Runtime|
|Windows||x86 | x64||x86 | x64||x86 | x64||x86 | x64||x86 | x64 |
|Linux||See installations steps below||x64 | ARM | ARM64 | x64 Alpine||-||x64 | ARM | ARM64 | x64 Alpine||x641 | ARM1 | [ARM64][aspnetcore-runtime-linux-arm64.tar.gz] | x64 Alpine1|
|Symbols||CLI | SDK||-||Runtime | Shared Framework | Setup||-||ASP.NET Core|
- Includes the .NET Core and ASP.NET Core Runtimes
- For hosting stand-alone apps on Windows Servers. Includes the ASP.NET Core Module for IIS and can be installed separately on servers without installing .NET Core runtime.
Installing .NET Core on Linux
Install using a Package Manager
Before installing .NET, you will need to register the Microsoft key, register the product repository, and install required dependencies. This only needs to be done once per machine. Refer to Setting up Linux for .NET Core for the requirements.
The commands listed below do not specifically incude package managers to help with readability. Here are the package managers typically used by the Distros on which .NET Core is supported.
To develop applications using the .NET Core SDK, run the following command. The .NET Core runtime and ASP.NET Core runtime are included.
sudo [package manager] update or refresh sudo [package manager] install dotnet-sdk-2.1
If you only need to run existing applications, run the following command. The .NET Core runtime and ASP.NET Core runtime are included.
sudo [package manager] update or refresh sudo [package manager] install aspnetcore-runtime-2.1
Installation from a binary archive
Installing from the packages detailed above is recommended or you can install from binary archive, if that better suits your needs. When using binary archives to install, the contents must be extracted to a user location such as
$HOME/dotnet, a symbolic link created for
dotnet and a few dependencies installed. Dependency requirements can be seen in the Linux System Prerequisites document.
mkdir -p $HOME/dotnet && tar zxf dotnet.tar.gz -C $HOME/dotnet export PATH=$PATH:$HOME/dotnet
.NET Core Runtime-only installation
If only the .NET Core Runtime is needed, install
dotnet-runtime-2.1 using your package manager. If you also need ASP.NET Core functionality, installing
aspnetcore-runtime-2.1 will install both the ASP Runtime and .NET Core Runtime.
Windows Server Hosting
If you are looking to host stand-alone apps on Servers, the following installer can be used on Windows systems.
You can download the Windows Server Hosting installer and run the following command from an Administrator command prompt:
This will install the ASP.NET Core Module for IIS.