core/release-notes/8.0/linux-packages.md at main · dotnet/core (original) (raw)

.NET 8 Linux package dependencies

.NET 8 has several dependencies that must be satisfied to run .NET apps. The commands to install these libraries are listed for multiple Linux distributions.

Feel free to contribute packages for distributions not (yet) listed in this document, including ones not supported by the .NET Team.

Tips:

.NET depends on the following packages.

You do not need to install ICU if you enable globalization invariant mode.

If your app relies on https endpoints, you'll also need to install ca-certificates.

Alpine 3.18 - 3.19

sudo apk add
libgcc
libssl3
libstdc++
zlib

Alpine 3.13

sudo apk add
krb5-libs
libgcc
libintl
libssl1.1
libstdc++
zlib

Debian 12 "Bookworm"

sudo apt-get update
&& sudo apt-get install -y --no-install-recommends
libc6
libgcc-s1
libicu72
libssl3
libstdc++6
tzdata
zlib1g \

Debian 11 "Bullseye"

sudo apt-get update
&& sudo apt-get install -y --no-install-recommends
libc6
libgcc1
libgssapi-krb5-2
libicu67
libssl1.1
libstdc++6
zlib1g

Debian 10 "Buster"

sudo apt-get update
&& sudo apt-get install -y --no-install-recommends
libc6
libgcc1
libgssapi-krb5-2
libicu63
libssl1.1
libstdc++6
zlib1g

Ubuntu 24.04 "Noble"

sudo apt-get update
&& sudo apt-get install -y --no-install-recommends
libc6
libgcc-s1
libicu74
libssl3
libstdc++6
zlib1g

Ubuntu 23.10 "Mantic"

sudo apt-get update
&& sudo apt-get install -y --no-install-recommends
libc6
libgcc-s1
libicu72
libssl3
libstdc++6
zlib1g

Ubuntu 22.04 "Jammy"

sudo apt-get update
&& sudo apt-get install -y --no-install-recommends
libc6
libgcc1
libicu70
libssl3
libstdc++6
zlib1g

Ubuntu 20.04 "Focal"

sudo apt-get update
&& sudo apt-get install -y --no-install-recommends
libc6
libgcc1
libgssapi-krb5-2
libicu66
libssl1.1
libstdc++6
zlib1g

Note: Add noninteractive for non-interactive installation.

Ubuntu 18.04 "Bionic"

sudo apt-get update
&& sudo apt-get install -y --no-install-recommends
libc6
libgcc1
libgssapi-krb5-2
libicu60
libssl1.1
libstdc++6
zlib1g \

Community supported distros

The following distros are not supported by the .NET team. The following package information is provided on an as-is basis. Feel free contribute package information for the distro you use .NET with if it isn't listed.

Arch Linux

sudo pacman -Sy
glibc
gcc
krb5
icu
openssl
libc++
zlib

This set of packages was tested on the Arch and Manjaro.