| title | Install .NET on openSUSE Leap |
|---|---|
| description | Learn about which versions of .NET SDK and .NET Runtime are supported, and how to install .NET on openSUSE Leap. |
| author | adegeo |
| ms.author | adegeo |
| ms.date | 04/23/2026 |
| ms.custom | linux-related-content |
.NET is supported on openSUSE Leap. This article describes how to install .NET on openSUSE Leap.
[!INCLUDE linux-intro-sdk-vs-runtime]
The following table is a list of currently supported .NET releases on openSUSE Leap. These versions remain supported until either the version of .NET reaches end-of-support or the version of openSUSE Leap is no longer supported.
| openSUSE Leap | .NET |
|---|---|
| 16 | 10, 9, 8 |
[!INCLUDE versions-not-supported]
[!INCLUDE preview installs don't support package managers]
[!INCLUDE package-manager uninstall notice]
[!INCLUDE linux-prep-intro-generic]
sudo zypper install libicu
sudo rpm --import https://packages.microsoft.com/keys/microsoft.asc
wget https://packages.microsoft.com/config/opensuse/16/prod.repo
sudo mv prod.repo /etc/zypp/repos.d/microsoft-prod.repo
sudo chown root:root /etc/zypp/repos.d/microsoft-prod.repo[!INCLUDE linux-install-package-manager-x64-arm64]
[!INCLUDE linux-zyp-install-100]
[!INCLUDE linux-install-package-manager-x64-only]
[!INCLUDE linux-zyp-install-90]
[!INCLUDE linux-install-package-manager-x64-only]
[!INCLUDE linux-zyp-install-80]
[!INCLUDE package-manager-switcher]
This section provides information on common errors you may get while using the package manager to install .NET.
[!INCLUDE linux-install-package-manager-unsupported-architectures]
[!INCLUDE package-manager-failed-to-fetch-rpm]
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
- glibc
- krb5
- libgcc_s1
- libicu
- libopenssl3
- libstdc++6
- timezone
- zlib (required for .NET 8 only)
Important
.NET packages for openSUSE depend on OpenSSL 3.x (libopenssl3). For more information, see .NET packages for openSUSE and SLES depend on OpenSSL 3.x.
Dependencies can be installed with the zypper install command. The following snippet demonstrates installing the krb5 library:
sudo zypper install krb5For more information about the dependencies, see Self-contained Linux apps.