Skip to content

Update .NET Linux Build for .NET 9 #91826

Closed
@richlander

Description

@richlander

Update (2024-07): We decided to keep on targeting Ubuntu 16.04 based on other feedback. Doing so hasn't had any significant drawback and maintains significant compatibility.

We should update the Linux build to use Azure Linux 3.0 and target Ubuntu 18.04 for .NET 9. This plan builds on our successful .NET 8 Linux build project. This is for the Microsoft build. Other builders of .NET 9 can and will make different choices.

For .NET 8, we targeted Ubuntu 16.04, in order to provide broad support for older Linux distributions. We considered targeting Ubuntu 18.04 in that timeframe, but that would have broken compatibility with Amazon Linux 2. Upon the request of Amazon, we chose to support Ubuntu 16.04 to avoid that compatibility break. NET 8 will be the last release to provide glibc compatibility for Amazon Linux 2, such that we can move forward to targeting Ubuntu 18.04. This means that the Linux support matrix for .NET 8 and 9 will be significantly different.

Ubuntu glibc versions:

  • Ubuntu 22.04: 2.35
  • Ubuntu 20.04: 2.31
  • Ubuntu 18.04: 2.27
  • Ubuntu 16.04: 2.23

Here are some other distributions (bolded distro versions are compatible):

  • AlmaLinux 8: 2.28
  • AlmaLinux 9: 2.34
  • Amazon Linux 2023: 2.34
  • Amazon Linux 2: 2.26
  • CentOS 7: 2.17
  • CentOS Stream 9: 2.34
  • Debian 11: 2.31
  • Debian 12: 2.36
  • Arch Linux 20230723.0.166908: 2.37
  • Fedora 37: 2.36
  • Fedora 38: 2.37

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Status

    Done

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions