Skip to content

Commit db79624

Browse files
authored
Corrections to the lists of Linux package dependencies (#18989)
* Corrections to the lists of Linux package dependencies * Update Debian dependencies
1 parent 35ec6aa commit db79624

File tree

10 files changed

+75
-40
lines changed

10 files changed

+75
-40
lines changed

docs/core/install/dependencies.md

Lines changed: 9 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -241,16 +241,17 @@ Based on your linux distribution, you may need to install additional dependencie
241241

242242
Ubuntu distributions require the following libraries to be installed:
243243

244-
- liblttng-ust0
245-
- libcurl3 (for 14.x and 16.x)
246-
- libcurl4 (for 18.x)
247-
- libssl1.0.0
248-
- libkrb5-3
249-
- zlib1g
244+
- libc6
245+
- libgcc1
246+
- libgssapi-krb5-2
250247
- libicu52 (for 14.x)
251248
- libicu55 (for 16.x)
252-
- libicu57 (for 17.x)
253249
- libicu60 (for 18.x)
250+
- libicu66 (for 20.x)
251+
- libssl1.0.0 (for 14.x, 16.x)
252+
- libssl1.1 (for 18.x, 20.x)
253+
- libstdc++6
254+
- zlib1g
254255

255256
For .NET Core apps that use the *System.Drawing.Common* assembly, you also need the following dependency:
256257

@@ -265,20 +266,12 @@ For .NET Core apps that use the *System.Drawing.Common* assembly, you also need
265266

266267
CentOS distributions require the following libraries installed:
267268

268-
- lttng-ust
269-
- libcurl
270269
- openssl-libs
271270
- krb5-libs
272271
- libicu
273-
- zlib
274272

275273
Fedora users: If your OpenSSL's version >= 1.1, you'll need to install **compat-openssl10**.
276274

277-
For .NET Core 2.0, the following dependencies are also required:
278-
279-
- libunwind
280-
- libuuid
281-
282275
For more information about the dependencies, see [Self-contained Linux apps](https://github.com/dotnet/core/blob/master/Documentation/self-contained-linux-apps.md).
283276

284277
For .NET Core apps that use the *System.Drawing.Common* assembly, you'll also need the following dependency:
@@ -296,12 +289,10 @@ Alpine distributions require the following libraries to be installed:
296289

297290
- icu-libs (this is not needed if globalization is disabled)
298291
- krb5-libs
299-
- libcurl
292+
- libgcc
300293
- libintl
301294
- libssl1.1 (for Alpine 3.9 or later) or libssl1.0 (for older ones)
302295
- libstdc++
303-
- lttng-ust
304-
- numactl (optional, useful only for devices with NUMA enabled)
305296
- zlib
306297

307298
For .NET Core apps that use the *System.Drawing.Common* assembly, you also need the following dependency:

docs/core/install/includes/linux-install-dependencies.md renamed to docs/core/install/includes/linux-rpm-install-dependencies.md

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,9 @@
11

22
When you install with a package manager, these libraries are installed for you. But, if you manually install .NET Core or you publish a self-contained app, you'll need to make sure these libraries are installed:
33

4-
- lttng-ust
5-
- libcurl
6-
- openssl-libs
74
- krb5-libs
85
- libicu
9-
- zlib
10-
- libunwind
11-
- libuuid
6+
- openssl-libs
127

138
If the target runtime environment's OpenSSL version is 1.1 or newer, you'll need to install **compat-openssl10**.
149

docs/core/install/linux-alpine.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,12 +42,11 @@ The following versions of .NET Core are no longer supported. The downloads for t
4242

4343
- icu-libs
4444
- krb5-libs
45+
- libgcc
4546
- libintl
4647
- libssl1.1 (Alpine v3.9 or greater)
47-
- libssl1.0 (Alpine v3.8)
48+
- libssl1.0 (Alpine v3.8 or lower)
4849
- libstdc++
49-
- lttng-ust
50-
- numactl (optional)
5150
- zlib
5251

5352
## Scripted install

docs/core/install/linux-centos.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ This section provides information on common errors you may get while using the p
6969

7070
## Dependencies
7171

72-
[!INCLUDE [linux-install-dependencies](includes/linux-install-dependencies.md)]
72+
[!INCLUDE [linux-rpm-install-dependencies](includes/linux-rpm-install-dependencies.md)]
7373

7474
## Scripted install
7575

docs/core/install/linux-debian.md

Lines changed: 20 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,26 @@ sudo apt-get update; \
122122

123123
## Dependencies
124124

125-
[!INCLUDE [linux-install-dependencies](includes/linux-install-dependencies.md)]
125+
When you install with a package manager, these libraries are installed for you. But, if you manually install .NET Core or you publish a self-contained app, you'll need to make sure these libraries are installed:
126+
127+
- libc6
128+
- libgcc1
129+
- libgssapi-krb5-2
130+
- libicu52 (for 8.x)
131+
- libicu57 (for 9.x)
132+
- libicu63 (for 10.x)
133+
- libicu67 (for 11.x)
134+
- libssl1.0.0 (for 8.x)
135+
- libssl1.1 (for 9.x-11.x)
136+
- libstdc++6
137+
- zlib1g
138+
139+
For .NET Core apps that use the *System.Drawing.Common* assembly, you also need the following dependency:
140+
141+
- libgdiplus (version 6.0.1 or later)
142+
143+
> [!WARNING]
144+
> You can install a recent version of *libgdiplus* by adding the Mono repository to your system. For more information, see <https://www.mono-project.com/download/stable/>.
126145
127146
## Scripted install
128147

docs/core/install/linux-fedora.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ This section provides information on common errors you may get while using the p
124124

125125
## Dependencies
126126

127-
[!INCLUDE [linux-install-dependencies](includes/linux-install-dependencies.md)]
127+
[!INCLUDE [linux-rpm-install-dependencies](includes/linux-rpm-install-dependencies.md)]
128128

129129
## Scripted install
130130

docs/core/install/linux-opensuse.md

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,22 @@ This section provides information on common errors you may get while using the p
6464

6565
## Dependencies
6666

67-
[!INCLUDE [linux-install-dependencies](includes/linux-install-dependencies.md)]
67+
When you install with a package manager, these libraries are installed for you. But, if you manually install .NET Core or you publish a self-contained app, you'll need to make sure these libraries are installed:
68+
69+
- krb5
70+
- libicu
71+
- libopenssl1_0_0
72+
73+
If the target runtime environment's OpenSSL version is 1.1 or newer, you'll need to install **compat-openssl10**.
74+
75+
For more information about the dependencies, see [Self-contained Linux apps](https://github.com/dotnet/core/blob/master/Documentation/self-contained-linux-apps.md).
76+
77+
For .NET Core apps that use the *System.Drawing.Common* assembly, you'll also need the following dependency:
78+
79+
- [libgdiplus (version 6.0.1 or later)](https://www.mono-project.com/docs/gui/libgdiplus/)
80+
81+
> [!WARNING]
82+
> You can install a recent version of *libgdiplus* by adding the Mono repository to your system. For more information, see <https://www.mono-project.com/download/stable/>.
6883
6984
## Scripted install
7085

docs/core/install/linux-rhel.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ As an alternative to the ASP.NET Core Runtime, you can install the .NET Core Run
9595

9696
## Dependencies
9797

98-
[!INCLUDE [linux-install-dependencies](includes/linux-install-dependencies.md)]
98+
[!INCLUDE [linux-rpm-install-dependencies](includes/linux-rpm-install-dependencies.md)]
9999

100100
## Scripted install
101101

docs/core/install/linux-sles.md

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,22 @@ This section provides information on common errors you may get while using the p
7373

7474
## Dependencies
7575

76-
[!INCLUDE [linux-install-dependencies](includes/linux-install-dependencies.md)]
76+
When you install with a package manager, these libraries are installed for you. But, if you manually install .NET Core or you publish a self-contained app, you'll need to make sure these libraries are installed:
77+
78+
- krb5
79+
- libicu
80+
- libopenssl1_1
81+
82+
If the target runtime environment's OpenSSL version is 1.1 or newer, you'll need to install **compat-openssl10**.
83+
84+
For more information about the dependencies, see [Self-contained Linux apps](https://github.com/dotnet/core/blob/master/Documentation/self-contained-linux-apps.md).
85+
86+
For .NET Core apps that use the *System.Drawing.Common* assembly, you'll also need the following dependency:
87+
88+
- [libgdiplus (version 6.0.1 or later)](https://www.mono-project.com/docs/gui/libgdiplus/)
89+
90+
> [!WARNING]
91+
> You can install a recent version of *libgdiplus* by adding the Mono repository to your system. For more information, see <https://www.mono-project.com/download/stable/>.
7792
7893
## Scripted install
7994

docs/core/install/linux-ubuntu.md

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -196,16 +196,17 @@ sudo apt-get update; \
196196

197197
When you install with a package manager, these libraries are installed for you. But, if you manually install .NET Core or you publish a self-contained app, you'll need to make sure these libraries are installed:
198198

199-
- liblttng-ust0
200-
- libcurl3 (for 14.x and 16.x)
201-
- libcurl4 (for 18.x)
202-
- libssl1.0.0
203-
- libkrb5-3
204-
- zlib1g
199+
- libc6
200+
- libgcc1
201+
- libgssapi-krb5-2
205202
- libicu52 (for 14.x)
206203
- libicu55 (for 16.x)
207-
- libicu57 (for 17.x)
208204
- libicu60 (for 18.x)
205+
- libicu66 (for 20.x)
206+
- libssl1.0.0 (for 14.x, 16.x)
207+
- libssl1.1 (for 18.x, 20.x)
208+
- libstdc++6
209+
- zlib1g
209210

210211
For .NET Core apps that use the *System.Drawing.Common* assembly, you also need the following dependency:
211212

0 commit comments

Comments
 (0)