* Update support docs * Update per feedback * Update per feedback * Update support.md * Update linux-support.md * Apply suggestions from code review * Apply suggestions from code review Co-authored-by: Maira Wenzel <mairaw@microsoft.com> * Update support.md * Update linux.md --------- Co-authored-by: Maira Wenzel <mairaw@microsoft.com>
2.2 KiB
.NET Support and Compatibility for Linux Distributions
.NET is supported by various commercial and community organizations on multiple Linux distributions.
.NET can be run on any Linux distribution, via:
- Portable builds, which are built to be broadly compatible with most Linux distributions.
- Distribution-specific builds, which are built specifically for a given distribution version (like Red Hat Enterprise Linux 9 or Ubuntu 22.04).
Microsoft builds are portable builds.
General dependencies
Portable builds have multiple dependencies that must be installed:
libc compatibility
Portable builds supports both glibc-based and musl libc-based Linux distributions, per the following minimum version information.
You can use the following pattern to determine the libc version provided for your distribution.
On Alpine:
# ldd --version
musl libc (aarch64)
Version 1.2.3
On Ubuntu:
# ldd --version
ldd (Ubuntu GLIBC 2.35-0ubuntu3.1) 2.35
OpenSSL compatibility
Portable builds support both OpenSSL 1.x and 3.x and can be run on distributions with either version of OpenSSL. For example, Ubuntu 22.04 only includes OpenSSL 3 in its official package archive.
The highest OpenSSL version is loaded by default, but it can be configured to use a specific version.
Red Hat Enterprise Linux support
New .NET versions will typically only be supported on Red Hat Enterprise Linux (RHEL) versions in active support.
- RHEL 7 is considered in maintenance.
- RHEL 8 is considered in active support.
- RHEL 9 is considered in active support.
RHEL compatible distributions are supported, including: AlmaLinux, CentOS, Oracle Linux, and Rocky Linux.