| 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 |
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"
[!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]
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"
[!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]
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"
[!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]
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"
[!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]
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"
[!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]
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"
[!INCLUDE versions-not-supported]
.NET package names are standardized across all Linux distributions. The following table lists the packages:
[!INCLUDE package-manager-switcher]
::: zone-end