Edit

Share via


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

Packages are available for the following Linux distributions:

Packages are published in the Microsoft package repository at https://packages.microsoft.com/. Distributions are selected per the policy defined at dotnet/core #9556.

The following Linux distributions publish their own .NET packages:

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 might need to install .NET dependencies if you install .NET manually.

Additional sources

.NET is also available from other sources. The packages and containers use a name similar to one of the following names:

  • aspnet-runtime
  • dotnet-runtime
  • dotnet-sdk
  • dotnet

Package managers

Containers


Additional resources

Documentation

Training

Learning path

SQL Server on Linux - Training

SQL Server now runs on your choice of operating system. In this learning path, you'll discover the fundamentals of SQL Server on Linux, before discovering how to run SQL Server on Linux containers and deploy SQL Server on Linux. You'll then learn how to automatically tune your SQL Server on Linux deployment.