Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update Jammy instructions #30666

Merged
merged 8 commits into from
Aug 16, 2022
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
31 changes: 22 additions & 9 deletions docs/core/install/linux-ubuntu.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ The following table is a list of currently supported .NET releases and the versi
| Ubuntu | .NET |
|------------------------|------------|
| [22.04 (LTS)](#2204) | 6+ |
| [21.10](#2110) | 3.1, 6 |
| [20.04 (LTS)](#2004) | 3.1, 6 |
| [18.04 (LTS)](#1804) | 3.1, 6 |
| [16.04 (LTS)](#1604) | 3.1, 6 |
Expand All @@ -38,30 +37,44 @@ The following table is a list of currently supported .NET releases and the versi

## 22.04

[!INCLUDE [linux-prep-intro-apt](includes/linux-prep-intro-apt.md)]
> Warning: If you've previously installed .NET 6 from `packages.microsoft.com`, see the [Advisory on installing .NET 6 on Ubuntu 22.04].

.NET 6 is included in Ubuntu 22.04. You can install it with the following commands:

For the .NET SDK:

```bash
wget https://packages.microsoft.com/config/ubuntu/22.04/packages-microsoft-prod.deb -O packages-microsoft-prod.deb
sudo dpkg -i packages-microsoft-prod.deb
rm packages-microsoft-prod.deb
sudo apt install -y dotnet6
```

[!INCLUDE [linux-apt-install-60](includes/linux-install-60-apt.md)]
For ASP.NET Core

Note: [Ubuntu 22.04 includes OpenSSL 3](https://discourse.ubuntu.com/t/openssl-3-0-transition-plans/24453) as the baseline version. [.NET 6 supports OpenSSL 3](https://devblogs.microsoft.com/dotnet/announcing-net-6/#security) while earlier .NET versions do not. Microsoft does not test or support using OpenSSL 1.x on Ubuntu 22.04.
```bash
sudo apt install -y apt install -y aspnetcore-runtime-6.0
```

For .NET Runtime

```bash
sudo apt install -y apt install -y dotnet-runtime-6.0
```

## 21.10
## 22.04 -- packages.microsoft.com

> Warning: .NET 6 is included in Ubuntu 22.04. See the [Advisory on installing .NET 6 on Ubuntu 22.04] if you want to use .NET packages from `packages.microsoft.com`.

[!INCLUDE [linux-prep-intro-apt](includes/linux-prep-intro-apt.md)]

```bash
wget https://packages.microsoft.com/config/ubuntu/21.10/packages-microsoft-prod.deb -O packages-microsoft-prod.deb
wget https://packages.microsoft.com/config/ubuntu/22.04/packages-microsoft-prod.deb -O packages-microsoft-prod.deb
sudo dpkg -i packages-microsoft-prod.deb
rm packages-microsoft-prod.deb
```

[!INCLUDE [linux-apt-install-60](includes/linux-install-60-apt.md)]

Note: [Ubuntu 22.04 includes OpenSSL 3](https://discourse.ubuntu.com/t/openssl-3-0-transition-plans/24453) as the baseline version. [.NET 6 supports OpenSSL 3](https://devblogs.microsoft.com/dotnet/announcing-net-6/#security) while earlier .NET versions do not. Microsoft does not test or support using OpenSSL 1.x on Ubuntu 22.04.

## 20.04

[!INCLUDE [linux-prep-intro-apt](includes/linux-prep-intro-apt.md)]
Expand Down
5 changes: 2 additions & 3 deletions docs/core/install/linux.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,10 +34,9 @@ You may need to install [.NET dependencies](https://github.com/dotnet/core/blob/
- [Arch Linux User Repository](https://aur.archlinux.org/packages?K=dotnet)
- [Fedora](https://packages.fedoraproject.org/search?query=dotnet)
- [Red Hat Enterprise Linux](https://access.redhat.com/documentation/en-us/net/6.0)
- [Ubuntu](https://packages.ubuntu.com/search?keywords=dotnet6)

.NET may or may not be [supported by Microsoft](https://github.com/dotnet/core/blob/main/os-lifecycle-policy.md) as published in the official package archives. You can still [open issues at dotnet/core](https://github.com/dotnet/core/issues) if you run into problems.

[Red Hat supports .NET](https://developers.redhat.com/topics/dotnet/) on Red Hat Enterprise Linux (RHEL). Red Hat and Microsoft collaborate to ensure that .NET works well on RHEL.
Microsoft collaborates with partners to ensure .NET works well on their Linux distributions. Support is provided by those distributions. You can still [open issues at dotnet/core](https://github.com/dotnet/core/issues) if you run into problems.

## Microsoft packages

Expand Down