Install .NET on Linux

This article describes how .NET is available on various Linux distributions. .NET can be installed by a package manager, snap, or manually. .NET is also available as a container image.

Packages

.NET is available in official package archives for various Linux distributions and packages.microsoft.com.

.NET is supported by Microsoft when downloaded from a Microsoft source. Best effort support is offered from Microsoft when downloaded from elsewhere. You can open issues at dotnet/core if you run into problems.

Snap

.NET SDK snap packages are provided by and maintained by Canonical. Snaps are a great alternative to the package manager built into your Linux distribution.

Manual installation

You can install .NET manually in the following ways:

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