Skip to content

Commit d5e7575

Browse files
adegeogewarren
andauthored
Move 20.04 to unsupported (#46469)
* Move 20.04 to unsupported * Minor * Apply suggestions from code review Co-authored-by: Genevieve Warren <[email protected]> --------- Co-authored-by: Genevieve Warren <[email protected]>
1 parent b7d09e7 commit d5e7575

File tree

4 files changed

+68
-77
lines changed

4 files changed

+68
-77
lines changed

docs/core/install/linux-snap-runtime.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ ms.custom: linux-related-content
1111

1212
# Install .NET Runtime with Snap
1313

14-
This article describes how to install the .NET Runtime snap package. .NET Runtime snap packages are provided by and maintained by Canonical. Snaps are a great alternative to the package manager built into your Linux distribution.
14+
This article describes how to install the .NET Runtime snap package. .NET Runtime snap packages are provided by and maintained by Canonical. Snaps are a great alternative to the package manager built into your Linux distribution. If you need to install the SDK, see [Install .NET SDK with Snap](linux-snap-sdk.md).
1515

1616
A snap is a bundle of an app and its dependencies that works across many different Linux distributions. Snaps are discoverable and installable from the Snap Store. For more information about Snap, see [Quickstart tour](https://snapcraft.io/docs/quickstart-tour).
1717

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

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@ The following table is a list of currently supported .NET releases and the versi
2424
| [24.10](linux-ubuntu-install.md?pivots=os-linux-ubuntu-2410) | 9.0, 8.0 | 9.0, 8.0 | None | None |
2525
| [24.04 (LTS)](linux-ubuntu-install.md?pivots=os-linux-ubuntu-2404) | 9.0, 8.0 | 8.0 | 9.0, 7.0, 6.0 | None |
2626
| [22.04 (LTS)](linux-ubuntu-install.md?pivots=os-linux-ubuntu-2204) | 9.0, 8.0 | 8.0, 7.0, 6.0 | 9.0 | 8.0, 7.0, 6.0, 3.1 |
27-
| [20.04 (LTS)](linux-ubuntu-install.md?pivots=os-linux-ubuntu-2004) | 9.0, 8.0 | None | None | 8.0, 7.0. 6.0, 5.0, 3.1, 2.1 |
2827

2928
When an [Ubuntu version](https://wiki.ubuntu.com/Releases) reaches the end of its support period, .NET is no longer supported with that particular Ubuntu version.
3029

@@ -79,9 +78,7 @@ If you're going to install the Microsoft repository to use other Microsoft packa
7978

8079
### I'm using a version of Ubuntu prior to 22.04
8180

82-
Use the instructions on the version-specific Ubuntu page.
83-
84-
- [20.04 (LTS)](linux-ubuntu-install.md?pivots=os-linux-ubuntu-2004)
81+
Use the instructions in the version-specific section of [Install .NET SDK or .NET Runtime on Ubuntu](linux-ubuntu-install.md?pivots=os-linux-ubuntu-other).
8582

8683
Review the [Supported distributions](#supported-distributions) section for more information about what versions of .NET are supported for your version of Ubuntu. If you're installing a version that isn't supported, see [Register the Microsoft package repository](#register-the-microsoft-package-repository).
8784

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

Lines changed: 66 additions & 70 deletions
Original file line numberDiff line numberDiff line change
@@ -192,77 +192,11 @@ You can install a recent version of _libgdiplus_ by [adding the Mono repository
192192

193193
::: zone-end
194194

195-
<!--
196-
===== Ubuntu 20.04
197-
-->
198-
199-
::: zone pivot="os-linux-ubuntu-2004"
200-
201-
## Ubuntu 20.04
202-
203-
[!INCLUDE [linux-ubuntu-package-feed-ms](includes/linux-ubuntu-package-feed-ms.md)]
204-
205-
The following versions of .NET are supported or available for Ubuntu 20.04:
206-
207-
| Supported .NET versions | Available in<br>built-in Ubuntu feed | [Available in<br>.NET backports<br>Ubuntu feed](linux-ubuntu-decision.md#ubuntu-net-backports-package-repository) | [Available in<br>Microsoft feed](linux-ubuntu-decision.md#register-the-microsoft-package-repository) |
208-
|-------------------------|--------------------------------------|----------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------|
209-
| 8.0 | None | None | 8.0, 7.0. 6.0, 5.0, 3.1, 2.1 |
210-
211-
When an [Ubuntu version](https://wiki.ubuntu.com/Releases) falls out of support, .NET is no longer supported with that version.
212-
213-
## Add the Microsoft package repository
214-
215-
[!INCLUDE [linux-prep-intro-apt](includes/linux-prep-intro-apt.md)]
216-
217-
```bash
218-
wget https://packages.microsoft.com/config/ubuntu/20.04/packages-microsoft-prod.deb -O packages-microsoft-prod.deb
219-
sudo dpkg -i packages-microsoft-prod.deb
220-
rm packages-microsoft-prod.deb
221-
```
222-
223-
# [.NET 9](#tab/dotnet9)
224-
225-
Because Ubuntu 20.04 reaches end of life in April 2025, Microsoft has decided not to support .NET 9 on Ubuntu 20.04.
226-
227-
# [.NET 8](#tab/dotnet8)
228-
229-
[!INCLUDE [linux-apt-install-80](includes/linux-install-80-apt.md)]
230-
231-
# [.NET 6](#tab/dotnet6)
232-
233-
> [!WARNING]
234-
> .NET 6 is no longer supported.
235-
236-
[!INCLUDE [linux-apt-install-60](includes/linux-install-60-apt.md)]
237-
238-
---
239-
240-
## Dependencies
241-
242-
When you install with a package manager, these libraries are installed for you. But, if you manually install .NET or you publish a self-contained app, you'll need to make sure these libraries are installed:
243-
244-
- ca-certificates
245-
- libc6
246-
- libgcc-s1
247-
- libgssapi-krb5-2
248-
- libicu66
249-
- libssl1.1
250-
- libstdc++6
251-
- zlib1g
252-
253-
[!INCLUDE [linux-ubuntu-deps-example](includes/linux-ubuntu-deps-example.md)]
254-
255-
[!INCLUDE [linux-libgdiplus-general](includes/linux-libgdiplus-general.md)]
256-
257-
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).
258-
259-
::: zone-end
260-
261195
<!--
262196
===== All versions
263197
-->
264198

265-
::: zone pivot="os-linux-ubuntu-2410,os-linux-ubuntu-2404,os-linux-ubuntu-2204,os-linux-ubuntu-2004"
199+
::: zone pivot="os-linux-ubuntu-2410,os-linux-ubuntu-2404,os-linux-ubuntu-2204"
266200

267201
## Unsupported versions
268202

@@ -284,7 +218,7 @@ You can install a recent version of _libgdiplus_ by [adding the Mono repository
284218

285219
## Manual install
286220

287-
If your Ubuntu version isn't supported, you most likely need to install .NET by manually extracting the binaries, by using the install script. For more information, see [Install .NET on Linux without using a package manager](linux-scripted-manual.md).
221+
If your Ubuntu version isn't supported and the version of .NET you want to use wasn't available in a package repository, you most likely need to install .NET by manually extracting the binaries, by using the install script, or with Snap. For more information, see [Install .NET on Linux without using a package manager](linux-scripted-manual.md) and [Install .NET Runtime with Snap](linux-snap-runtime.md).
288222

289223
<!--
290224
===== Ubuntu 23.10
@@ -320,7 +254,7 @@ When an [Ubuntu version](https://wiki.ubuntu.com/Releases) falls out of support,
320254

321255
---
322256

323-
## Dependencies
257+
### Dependencies
324258

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

@@ -443,14 +377,76 @@ When you install with a package manager, these libraries are installed for you.
443377
- libunwind8
444378
- zlib1g
445379

446-
::: zone-end
380+
[!INCLUDE [linux-ubuntu-deps-example](includes/linux-ubuntu-deps-example.md)]
381+
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+
386+
<!--
387+
===== Ubuntu 20.04
388+
-->
389+
390+
## Ubuntu 20.04
391+
392+
[!INCLUDE [linux-ubuntu-package-feed-ms](includes/linux-ubuntu-package-feed-ms.md)]
393+
394+
The following versions of .NET are supported or available for Ubuntu 20.04:
395+
396+
| Supported .NET versions | Available in<br>built-in Ubuntu feed | [Available in<br>.NET backports<br>Ubuntu feed](linux-ubuntu-decision.md#ubuntu-net-backports-package-repository) | [Available in<br>Microsoft feed](linux-ubuntu-decision.md#register-the-microsoft-package-repository) |
397+
|-------------------------|--------------------------------------|----------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------|
398+
| 8.0 | None | None | 8.0, 7.0. 6.0, 5.0, 3.1, 2.1 |
399+
400+
When an [Ubuntu version](https://wiki.ubuntu.com/Releases) falls out of support, .NET is no longer supported with that version.
401+
402+
### Add the Microsoft package repository
403+
404+
[!INCLUDE [linux-prep-intro-apt](includes/linux-prep-intro-apt.md)]
405+
406+
```bash
407+
wget https://packages.microsoft.com/config/ubuntu/20.04/packages-microsoft-prod.deb -O packages-microsoft-prod.deb
408+
sudo dpkg -i packages-microsoft-prod.deb
409+
rm packages-microsoft-prod.deb
410+
```
411+
412+
# [.NET 9](#tab/dotnet9)
413+
414+
Because Ubuntu 20.04 reached end of life in April 2025, Microsoft doesn't support .NET 9 on Ubuntu 20.04.
415+
416+
# [.NET 8](#tab/dotnet8)
417+
418+
[!INCLUDE [linux-apt-install-80](includes/linux-install-80-apt.md)]
419+
420+
# [.NET 6](#tab/dotnet6)
421+
422+
> [!WARNING]
423+
> .NET 6 is no longer supported.
424+
425+
[!INCLUDE [linux-apt-install-60](includes/linux-install-60-apt.md)]
426+
427+
---
428+
429+
### Dependencies
430+
431+
When you install with a package manager, these libraries are installed for you. But, if you manually install .NET or you publish a self-contained app, you'll need to make sure these libraries are installed:
432+
433+
- ca-certificates
434+
- libc6
435+
- libgcc-s1
436+
- libgssapi-krb5-2
437+
- libicu66
438+
- libssl1.1
439+
- libstdc++6
440+
- zlib1g
447441

448442
[!INCLUDE [linux-ubuntu-deps-example](includes/linux-ubuntu-deps-example.md)]
449443

450444
[!INCLUDE [linux-libgdiplus-general](includes/linux-libgdiplus-general.md)]
451445

452446
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).
453447

448+
::: zone-end
449+
454450
## Next steps
455451

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

docs/zone-pivot-groups.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -126,8 +126,6 @@ groups:
126126
title: "24.04"
127127
- id: os-linux-ubuntu-2204
128128
title: "22.04"
129-
- id: os-linux-ubuntu-2004
130-
title: "20.04"
131129
- id: os-linux-ubuntu-other
132130
title: "Other"
133131
- id: openai-library

0 commit comments

Comments
 (0)