Skip to content

Latest commit

 

History

History
304 lines (189 loc) · 11.2 KB

File metadata and controls

304 lines (189 loc) · 11.2 KB
title Install .NET on Ubuntu
description Demonstrates the various ways to install .NET SDK and .NET Runtime on Ubuntu. .NET is usually installed through APT.
author adegeo
ms.author adegeo
ms.date 04/23/2026
ms.custom updateeachrelease, linux-related-content
zone_pivot_groups ubuntu-install-set-one

Install .NET SDK or .NET Runtime on Ubuntu

This article discusses how to install .NET on Ubuntu.

[!INCLUDE linux-intro-sdk-vs-runtime]

[!INCLUDE linux-install-package-manager-x64-vs-arm-ubuntu]

::: zone pivot="os-linux-ubuntu-2604"

Ubuntu 26.04

[!INCLUDE linux-ubuntu-package-feed-only]

The following versions of .NET are supported or available for Ubuntu 26.04:

Supported .NET versions Available in
built-in Ubuntu feed
Available in
backports
Ubuntu feed
Available in
Microsoft feed
10.0, 9.0, 8.0 10.0 9.0, 8.0 None

When an Ubuntu version falls out of support, .NET is no longer supported with that version.

[!INCLUDE linux-apt-install-100]

[!INCLUDE linux-ubuntu-register-backports]

[!INCLUDE linux-apt-install-90]

[!INCLUDE linux-ubuntu-register-backports]

[!INCLUDE linux-apt-install-80]


Dependencies

When you install with a package manager, these libraries are installed for you. But, if you manually install .NET or you publish a self-contained app, you'll need to make sure these libraries are installed:

  • ca-certificates
  • libbrotli1
  • libc6
  • libgcc-s1
  • libgssapi-krb5-2
  • libicu78
  • libssl3t64
  • libstdc++6
  • tzdata
  • zlib1g

[!INCLUDE linux-ubuntu-deps-example]

::: zone-end

::: zone pivot="os-linux-ubuntu-2510"

Ubuntu 25.10

[!INCLUDE linux-ubuntu-package-feed-only]

The following versions of .NET are supported or available for Ubuntu 25.10:

Supported .NET versions Available in
built-in Ubuntu feed
Available in
backports
Ubuntu feed
Available in
Microsoft feed
10.0, 9.0, 8.0 10.0, 9.0, 8.0 None None

When an Ubuntu version falls out of support, .NET is no longer supported with that version.

[!INCLUDE linux-apt-install-100]

[!INCLUDE linux-apt-install-90]

[!INCLUDE linux-apt-install-80]


Dependencies

When you install with a package manager, these libraries are installed for you. But, if you manually install .NET or you publish a self-contained app, you'll need to make sure these libraries are installed:

  • ca-certificates
  • libc6
  • libgcc-s1
  • libgssapi-krb5-2
  • libicu76
  • libssl3t64
  • libstdc++6
  • tzdata
  • zlib1g

[!INCLUDE linux-ubuntu-deps-example]

::: zone-end

::: zone pivot="os-linux-ubuntu-2504"

Ubuntu 25.04

[!INCLUDE linux-ubuntu-package-feed-only]

The following versions of .NET are supported or available for Ubuntu 25.04:

Supported .NET versions Available in
built-in Ubuntu feed
Available in
backports
Ubuntu feed
Available in
Microsoft feed
10.0, 9.0, 8.0 10.0, 9.0, 8.0 None None

When an Ubuntu version falls out of support, .NET is no longer supported with that version.

[!INCLUDE linux-apt-install-100]

[!INCLUDE linux-apt-install-90]

[!INCLUDE linux-apt-install-80]


Dependencies

When you install with a package manager, these libraries are installed for you. But, if you manually install .NET or you publish a self-contained app, you'll need to make sure these libraries are installed:

  • ca-certificates
  • libc6
  • libgcc-s1
  • libgssapi-krb5-2
  • libicu76
  • libssl3t64
  • libstdc++6
  • tzdata
  • zlib1g

[!INCLUDE linux-ubuntu-deps-example]

::: zone-end

::: zone pivot="os-linux-ubuntu-2404"

Ubuntu 24.04

[!INCLUDE linux-ubuntu-package-feed-only]

The following versions of .NET are supported or available for Ubuntu 24.04:

Supported .NET versions Available in
built-in Ubuntu feed
Available in
backports
Ubuntu feed
Available in
Microsoft feed
10.0, 9.0, 8.0 10.0, 8.0 9.0, 7.0, 6.0 None

When an Ubuntu version falls out of support, .NET is no longer supported with that version.

[!INCLUDE linux-apt-install-100]

[!INCLUDE linux-ubuntu-register-backports]

[!INCLUDE linux-apt-install-90]

[!INCLUDE linux-apt-install-80]


Dependencies

When you install with a package manager, these libraries are installed for you. But, if you manually install .NET or you publish a self-contained app, you'll need to make sure these libraries are installed:

  • ca-certificates
  • libc6
  • libgcc-s1
  • libgssapi-krb5-2
  • libicu74
  • libssl3t64
  • libstdc++6
  • tzdata
  • zlib1g

[!INCLUDE linux-ubuntu-deps-example]

::: zone-end

::: zone pivot="os-linux-ubuntu-2204"

Ubuntu 22.04

[!INCLUDE linux-ubuntu-package-feed-both]

The following versions of .NET are supported or available for Ubuntu 22.04:

Supported .NET versions Available in
built-in Ubuntu feed
Available in
.NET backports
Ubuntu feed
Available in
Microsoft feed
10.0, 9.0, 8.0 8.0, 7.0, 6.0 10.0, 9.0 8.0, 7.0, 6.0, 3.1

[!INCLUDE linux-ubuntu-feed-sdk-note]

When an Ubuntu version falls out of support, .NET is no longer supported with that version.

[!INCLUDE linux-ubuntu-register-backports]

[!INCLUDE linux-apt-install-100]

[!INCLUDE linux-ubuntu-register-backports]

[!INCLUDE linux-apt-install-90]

[!INCLUDE linux-apt-install-80]


Dependencies

When you install with a package manager, these libraries are installed for you. But, if you manually install .NET or you publish a self-contained app, you'll need to make sure these libraries are installed:

  • ca-certificates
  • libc6
  • libgcc-s1
  • libgssapi-krb5-2
  • libicu70
  • libssl3
  • libstdc++6
  • tzdata
  • zlib1g

[!INCLUDE linux-ubuntu-deps-example]

::: zone-end

::: zone pivot="os-linux-ubuntu-2604,os-linux-ubuntu-2510,os-linux-ubuntu-2504,os-linux-ubuntu-2404,os-linux-ubuntu-2204"

Unsupported versions

[!INCLUDE versions-not-supported]

How to install other versions

.NET package names are standardized across all Linux distributions. The following table lists the packages:

[!INCLUDE package-manager-switcher]

::: zone-end

Next steps