Install .NET on Linux

This article details how to install .NET on various Linux distributions, manually and via a package manager. Typically, stable .NET versions are available in a package manager, and Preview versions are not.

Manual installation

You can install .NET manually in the following ways:

You may need to install .NET dependencies if you install .NET manually.

Official package archives

.NET is available in the official package archives for various Linux distributions, including the following ones:

Microsoft collaborates with partners to ensure .NET works well on their Linux distributions. Support is provided by those distributions. You can still open issues at dotnet/core if you run into problems.

Microsoft packages

.NET is also available via packages.microsoft.com.

These packages are supported by Microsoft.

You're encouraged to install .NET from the official archive for your distribution if it's available there, even if it's also available at packages.microsoft.com.

Other distributions

Installation information is also provided for other distributions.

Next steps