Skip to content

Commit f0fad1f

Browse files
authored
Update required dependencies (#46678)
* Delete libgdiplus from list of dependencies libgdiplus was needed by System.Drawning.Common on Unix system. We stopped supporting System.Drawning.Common on Unix starting with .NET 6. * Delete libunwind from the list of dependencies We eliminated dependency on libunwind starting with .NET 3.0
1 parent 4359d8c commit f0fad1f

10 files changed

+0
-86
lines changed

docs/core/install/includes/linux-libgdiplus-general.md

Lines changed: 0 additions & 9 deletions
This file was deleted.

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

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,3 @@ sudo yum install libicu
2222
```
2323

2424
For more information about the dependencies, see [Self-contained Linux apps](https://github.com/dotnet/core/blob/main/Documentation/self-contained-linux-apps.md).
25-
26-
[!INCLUDE [linux-libgdiplus-general](linux-libgdiplus-general.md)]
27-
28-
You can install a recent version of *libgdiplus* by [adding the Mono repository to your system](https://www.mono-project.com/download/stable/#download-lin).

docs/core/install/linux-alpine.md

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -81,14 +81,6 @@ When you install with a package manager, these libraries are installed for you.
8181

8282
Use the `apk add` command to install the dependencies.
8383

84-
[!INCLUDE [linux-libgdiplus-general](includes/linux-libgdiplus-general.md)]
85-
86-
To install `libgdiplus`, run:
87-
88-
```bash
89-
apk add libgdiplus
90-
```
91-
9284
## Next steps
9385

9486
- [.NET CLI overview](../tools/index.md)

docs/core/install/linux-debian.md

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -130,10 +130,6 @@ Dependencies can be installed with the `apt install` command. The following snip
130130
sudo apt install libc6
131131
```
132132

133-
[!INCLUDE [linux-libgdiplus-general](includes/linux-libgdiplus-general.md)]
134-
135-
You can install a recent version of *libgdiplus* by [adding the Mono repository to your system](https://www.mono-project.com/download/stable/#download-lin-debian).
136-
137133
## Next steps
138134

139135
- [.NET CLI overview](../tools/index.md)

docs/core/install/linux-opensuse.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -90,8 +90,6 @@ sudo zypper install krb5
9090

9191
For more information about the dependencies, see [Self-contained Linux apps](https://github.com/dotnet/core/blob/main/Documentation/self-contained-linux-apps.md).
9292

93-
[!INCLUDE [linux-libgdiplus-general](includes/linux-libgdiplus-general.md)]
94-
9593
## Next steps
9694

9795
- [.NET CLI overview](../tools/index.md)

docs/core/install/linux-scripted-manual.md

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -65,12 +65,6 @@ If your distribution wasn't previously listed, and is debian-based, you may need
6565
- libstdc++6
6666
- zlib1g
6767

68-
### Common dependencies
69-
70-
[!INCLUDE [linux-libgdiplus-general](includes/linux-libgdiplus-general.md)]
71-
72-
You can usually install a recent version of *libgdiplus* by [adding the Mono repository to your system](https://www.mono-project.com/download/stable/#download-lin).
73-
7468
## Scripted install
7569

7670
The [dotnet-install scripts](../tools/dotnet-install-script.md) are used for automation and non-admin installs of the **SDK** and **Runtime**. You can download the script from <https://dot.net/v1/dotnet-install.sh>. When .NET is installed in this way, you must install the dependencies required by your Linux distribution. Use the links in the [Install .NET on Linux](linux.md) article for your specific Linux distribution.

docs/core/install/linux-sles.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,8 +78,6 @@ sudo zypper install krb5
7878

7979
For more information about the dependencies, see [Self-contained Linux apps](https://github.com/dotnet/core/blob/main/Documentation/self-contained-linux-apps.md).
8080

81-
[!INCLUDE [linux-libgdiplus-general](includes/linux-libgdiplus-general.md)]
82-
8381
## Next steps
8482

8583
- [.NET CLI overview](../tools/index.md)

docs/core/install/linux-ubuntu-decision.md

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -339,15 +339,10 @@ When you install with a package manager, these libraries are installed for you.
339339
- libssl1.1 (for 18.x, 20.x)
340340
- libssl3 (for 22.x or later)
341341
- libstdc++6
342-
- libunwind8 (for 22.x or later)
343342
- zlib1g
344343

345344
[!INCLUDE [linux-ubuntu-deps-example](includes/linux-ubuntu-deps-example.md)]
346345

347-
[!INCLUDE [linux-libgdiplus-general](includes/linux-libgdiplus-general.md)]
348-
349-
You can install a recent version of *libgdiplus* by [adding the Mono repository to your system](https://www.mono-project.com/download/stable/#download-lin-ubuntu).
350-
351346
## Next steps
352347

353348
- [.NET CLI overview](../tools/index.md)

docs/core/install/linux-ubuntu-install.md

Lines changed: 0 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -58,15 +58,10 @@ When you install with a package manager, these libraries are installed for you.
5858
- liblttng-ust1
5959
- libssl3
6060
- libstdc++6
61-
- libunwind8
6261
- zlib1g
6362

6463
[!INCLUDE [linux-ubuntu-deps-example](includes/linux-ubuntu-deps-example.md)]
6564

66-
[!INCLUDE [linux-libgdiplus-general](includes/linux-libgdiplus-general.md)]
67-
68-
You can install a recent version of _libgdiplus_ by [adding the Mono repository to your system](https://www.mono-project.com/download/stable/#download-lin-ubuntu).
69-
7065
::: zone-end
7166

7267
<!--
@@ -119,15 +114,10 @@ When you install with a package manager, these libraries are installed for you.
119114
- liblttng-ust1
120115
- libssl3
121116
- libstdc++6
122-
- libunwind8
123117
- zlib1g
124118

125119
[!INCLUDE [linux-ubuntu-deps-example](includes/linux-ubuntu-deps-example.md)]
126120

127-
[!INCLUDE [linux-libgdiplus-general](includes/linux-libgdiplus-general.md)]
128-
129-
You can install a recent version of _libgdiplus_ by [adding the Mono repository to your system](https://www.mono-project.com/download/stable/#download-lin-ubuntu).
130-
131121
::: zone-end
132122

133123
<!--
@@ -181,15 +171,10 @@ When you install with a package manager, these libraries are installed for you.
181171
- liblttng-ust1
182172
- libssl3
183173
- libstdc++6
184-
- libunwind8
185174
- zlib1g
186175

187176
[!INCLUDE [linux-ubuntu-deps-example](includes/linux-ubuntu-deps-example.md)]
188177

189-
[!INCLUDE [linux-libgdiplus-general](includes/linux-libgdiplus-general.md)]
190-
191-
You can install a recent version of _libgdiplus_ by [adding the Mono repository to your system](https://www.mono-project.com/download/stable/#download-lin-ubuntu).
192-
193178
::: zone-end
194179

195180
<!--
@@ -266,15 +251,10 @@ When you install with a package manager, these libraries are installed for you.
266251
- liblttng-ust1
267252
- libssl3
268253
- libstdc++6
269-
- libunwind8
270254
- zlib1g
271255

272256
[!INCLUDE [linux-ubuntu-deps-example](includes/linux-ubuntu-deps-example.md)]
273257

274-
[!INCLUDE [linux-libgdiplus-general](includes/linux-libgdiplus-general.md)]
275-
276-
You can install a recent version of _libgdiplus_ by [adding the Mono repository to your system](https://www.mono-project.com/download/stable/#download-lin-ubuntu).
277-
278258
<!--
279259
===== Ubuntu 23.04
280260
-->
@@ -321,15 +301,10 @@ When you install with a package manager, these libraries are installed for you.
321301
- liblttng-ust1
322302
- libssl3
323303
- libstdc++6
324-
- libunwind8
325304
- zlib1g
326305

327306
[!INCLUDE [linux-ubuntu-deps-example](includes/linux-ubuntu-deps-example.md)]
328307

329-
[!INCLUDE [linux-libgdiplus-general](includes/linux-libgdiplus-general.md)]
330-
331-
You can install a recent version of _libgdiplus_ by [adding the Mono repository to your system](https://www.mono-project.com/download/stable/#download-lin-ubuntu).
332-
333308
<!--
334309
===== Ubuntu 22.10
335310
-->
@@ -374,15 +349,10 @@ When you install with a package manager, these libraries are installed for you.
374349
- liblttng-ust1
375350
- libssl3
376351
- libstdc++6
377-
- libunwind8
378352
- zlib1g
379353

380354
[!INCLUDE [linux-ubuntu-deps-example](includes/linux-ubuntu-deps-example.md)]
381355

382-
[!INCLUDE [linux-libgdiplus-general](includes/linux-libgdiplus-general.md)]
383-
384-
You can install a recent version of _libgdiplus_ by [adding the Mono repository to your system](https://www.mono-project.com/download/stable/#download-lin-ubuntu).
385-
386356
<!--
387357
===== Ubuntu 20.04
388358
-->
@@ -441,10 +411,6 @@ When you install with a package manager, these libraries are installed for you.
441411

442412
[!INCLUDE [linux-ubuntu-deps-example](includes/linux-ubuntu-deps-example.md)]
443413

444-
[!INCLUDE [linux-libgdiplus-general](includes/linux-libgdiplus-general.md)]
445-
446-
You can install a recent version of _libgdiplus_ by [adding the Mono repository to your system](https://www.mono-project.com/download/stable/#download-lin-ubuntu).
447-
448414
::: zone-end
449415

450416
## Next steps

docs/core/install/macos.md

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -264,7 +264,6 @@ Environment variables that add .NET to system path, such as the `PATH` variable,
264264
The following sections are available to help troubleshoot issues:
265265

266266
- [Arm-based Macs](#arm-based-macs)
267-
- [System.Drawing.Common and libgdiplus](#systemdrawingcommon-and-libgdiplus)
268267
- [Make .NET available system-wide](#make-net-available-system-wide)
269268

270269
### Make .NET available system-wide
@@ -297,17 +296,6 @@ Set the following two environment variables in your shell profile:
297296
export PATH=$PATH:$DOTNET_ROOT:$DOTNET_ROOT/tools
298297
```
299298

300-
### System.Drawing.Common and libgdiplus
301-
302-
.NET applications that use the `System.Drawing.Common` assembly require `libgdiplus` to be installed.
303-
304-
An easy way to obtain `libgdiplus` is by using the [Homebrew ("brew")](https://brew.sh/) package manager for macOS. After installing *brew*, install `libgdiplus` by running the following commands in the terminal:
305-
306-
```console
307-
brew update
308-
brew install mono-libgdiplus
309-
```
310-
311299
## Related content
312300

313301
- [How to check if .NET is already installed](how-to-detect-installed-versions.md?pivots=os-macos).

0 commit comments

Comments
 (0)