Install .NET on Linux
Article • 12/15/2023
This article details how to install .NET on various Linux distributions either manually, via
a package manager, or via a
container
.
You can install .NET manually in the following ways:
Manual install
Scripted install
You may need to install
.NET dependencies
if you install .NET manually.
.NET is available in
official package archives
for various Linux distributions and
packages.microsoft.com
.
Alpine
CentOS
Debian
Fedora
openSUSE
SLES
Ubuntu
.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.
How to check if .NET is already installed
.
Tutorial: Create a new app with Visual Studio Code
.
Tutorial: Containerize a .NET app
.