Skip to content

Latest commit

 

History

History
59 lines (37 loc) · 2.23 KB

linux-support.md

File metadata and controls

59 lines (37 loc) · 2.23 KB

.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.