Skip to content

Merge master into live #18864

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

Merged
merged 19 commits into from
Jun 9, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
81 changes: 76 additions & 5 deletions .openpublishing.redirection.json
Original file line number Diff line number Diff line change
Expand Up @@ -220,13 +220,84 @@
"redirect_document_id": true
},
{
"source_path": "docs/core/install/linux-package-managers.md",
"redirect_url": "/dotnet/core/install/linux-package-manager-ubuntu-1910",
"ms.custom": "updateeachrelease"
"source_path": "docs/core/install/linux-package-manager-centos8.md",
"redirect_url": "/dotnet/core/install/linux-centos"
},
{
"source_path": "docs/core/install/linux-package-manager-centos7.md",
"redirect_url": "/dotnet/core/install/linux-centos"
},
{
"source_path": "docs/core/install/linux-package-manager-debian10.md",
"redirect_url": "/dotnet/core/install/linux-debian"
},
{
"source_path": "docs/core/install/linux-package-manager-debian9.md",
"redirect_url": "/dotnet/core/install/linux-debian"
},
{
"source_path": "docs/core/install/linux-package-manager-fedora32.md",
"redirect_url": "/dotnet/core/install/linux-fedora"
},
{
"source_path": "docs/core/install/linux-package-manager-fedora31.md",
"redirect_url": "/dotnet/core/install/linux-fedora"
},
{
"source_path": "docs/core/install/linux-package-manager-fedora30.md",
"redirect_url": "/dotnet/core/install/linux-fedora"
},
{
"source_path": "docs/core/install/linux-package-manager-fedora29.md",
"redirect_url": "/dotnet/core/install/linux-fedora"
},
{
"source_path": "docs/core/install/linux-package-manager-opensuse15.md",
"redirect_url": "/dotnet/core/install/linux-opensuse"
},
{
"source_path": "docs/core/install/linux-package-manager-rhel81.md",
"redirect_url": "/dotnet/core/install/linux-package-manager-rhel8"
"redirect_url": "/dotnet/core/install/linux-rhel"
},
{
"source_path": "docs/core/install/linux-package-manager-rhel8.md",
"redirect_url": "/dotnet/core/install/linux-rhel"
},
{
"source_path": "docs/core/install/linux-package-manager-rhel7.md",
"redirect_url": "/dotnet/core/install/linux-rhel"
},
{
"source_path": "docs/core/install/linux-package-manager-sles15.md",
"redirect_url": "/dotnet/core/install/linux-sles"
},
{
"source_path": "docs/core/install/linux-package-manager-sles12.md",
"redirect_url": "/dotnet/core/install/linux-sles"
},
{
"source_path": "docs/core/install/linux-package-manager-ubuntu-2004.md",
"redirect_url": "/dotnet/core/install/linux-ubuntu"
},
{
"source_path": "docs/core/install/linux-package-manager-ubuntu-1910.md",
"redirect_url": "/dotnet/core/install/linux-ubuntu"
},
{
"source_path": "docs/core/install/linux-package-manager-ubuntu-1904.md",
"redirect_url": "/dotnet/core/install/linux-ubuntu"
},
{
"source_path": "docs/core/install/linux-package-manager-ubuntu-1804.md",
"redirect_url": "/dotnet/core/install/linux-ubuntu"
},
{
"source_path": "docs/core/install/linux-package-manager-ubuntu-1604.md",
"redirect_url": "/dotnet/core/install/linux-ubuntu"
},
{
"source_path": "docs/core/install/linux-package-managers.md",
"redirect_url": "/dotnet/core/install/linux"
},
{
"source_path": "docs/core/migrating-from-dnx.md",
Expand All @@ -248,7 +319,7 @@
},
{
"source_path": "docs/core/linux-prerequisites.md",
"redirect_url": "/dotnet/core/install/dependencies?pivots=os-linux"
"redirect_url": "/dotnet/core/install/linux"
},
{
"source_path": "docs/core/macos-prerequisites.md",
Expand Down
2 changes: 1 addition & 1 deletion docs/core/additional-tools/uninstall-tool.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ Because of these limitations, the tool may not be able to uninstall all of the .

## Install the tool

You can download the .NET Core Uninstall Tool from [here](https://aka.ms/dotnet-core-uninstall-tool) and find the source code at the [dotnet/cli-lab](https://github.com/dotnet/cli-lab) GitHub repository.
You can download the .NET Core Uninstall Tool from [the tool's releases page](https://aka.ms/dotnet-core-uninstall-tool) and find the source code at the [dotnet/cli-lab](https://github.com/dotnet/cli-lab) GitHub repository.

> [!NOTE]
> The tool requires elevation to uninstall .NET Core SDKs and runtimes. Therefore, it should be installed in a write-protected directory such as *C:\Program Files* on Windows or */usr/local/bin* on macOS. See also [Elevated access for dotnet commands](../tools/elevated-access.md). For more information, see the [detailed installation instructions](https://aka.ms/dotnet-core-uninstall-tool).
Expand Down
2 changes: 1 addition & 1 deletion docs/core/install/dependencies.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ title: .NET Core SDK and runtime dependencies - .NET Core
description: Details the operating system and CPU architecture prerequisites to install the .NET Core SDK and runtime on Windows, Linux, and macOS.
author: leecow
ms.author: leecow
ms.date: 04/30/2020
ms.date: 06/01/2020
zone_pivot_groups: operating-systems-set-one
---

Expand Down
22 changes: 22 additions & 0 deletions docs/core/install/includes/linux-install-20-dnf.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@

### Install the SDK

.NET Core SDK allows you to develop apps with .NET Core. If you install .NET Core SDK, you don't need to install the corresponding runtime. To install .NET Core SDK, run the following commands:

```bash
sudo dnf install dotnet-sdk-2.0
```

### Install the runtime

The .NET Core Runtime allows you to run apps that were made with .NET Core that didn't include the runtime. The commands below install the ASP.NET Core Runtime, which is the most compatible runtime for .NET Core. In your terminal, run the following commands.

```bash
sudo dnf install aspnetcore-runtime-2.0
```

As an alternative to the ASP.NET Core Runtime, you can install the .NET Core Runtime that doesn't include ASP.NET Core support: replace `aspnetcore-runtime-2.0` in the command above with `dotnet-runtime-2.0`.

```bash
sudo dnf install dotnet-runtime-2.0
```
34 changes: 34 additions & 0 deletions docs/core/install/includes/linux-install-21-apt.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@

### Install the SDK

.NET Core SDK allows you to develop apps with .NET Core. If you install .NET Core SDK, you don't need to install the corresponding runtime. To install .NET Core SDK, run the following commands:

```bash
sudo apt-get update; \
sudo apt-get install -y apt-transport-https && \
sudo apt-get update && \
sudo apt-get install -y dotnet-sdk-2.1
```

> [!IMPORTANT]
> If you receive an error message similar to **Unable to locate package dotnet-sdk-2.1**, see the [APT troubleshooting](#apt-troubleshooting) section.

### Install the runtime

The .NET Core Runtime allows you to run apps that were made with .NET Core that didn't include the runtime. The commands below install the ASP.NET Core Runtime, which is the most compatible runtime for .NET Core. In your terminal, run the following commands.

```bash
sudo apt-get update; \
sudo apt-get install -y apt-transport-https && \
sudo apt-get update && \
sudo apt-get install -y aspnetcore-runtime-2.1
```

> [!IMPORTANT]
> If you receive an error message similar to **Unable to locate package aspnetcore-runtime-2.1**, see the [APT troubleshooting](#apt-troubleshooting) section.

As an alternative to the ASP.NET Core Runtime, you can install the .NET Core Runtime that doesn't include ASP.NET Core support: replace `aspnetcore-runtime-2.1` in the command above with `dotnet-runtime-2.1`.

```bash
sudo apt-get install -y dotnet-runtime-2.1
```
22 changes: 22 additions & 0 deletions docs/core/install/includes/linux-install-21-dnf.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@

### Install the SDK

.NET Core SDK allows you to develop apps with .NET Core. If you install .NET Core SDK, you don't need to install the corresponding runtime. To install .NET Core SDK, run the following commands:

```bash
sudo dnf install dotnet-sdk-2.1
```

### Install the runtime

The .NET Core Runtime allows you to run apps that were made with .NET Core that didn't include the runtime. The commands below install the ASP.NET Core Runtime, which is the most compatible runtime for .NET Core. In your terminal, run the following commands.

```bash
sudo dnf install aspnetcore-runtime-2.1
```

As an alternative to the ASP.NET Core Runtime, you can install the .NET Core Runtime that doesn't include ASP.NET Core support: replace `aspnetcore-runtime-2.1` in the command above with `dotnet-runtime-2.1`.

```bash
sudo dnf install dotnet-runtime-2.1
```
22 changes: 22 additions & 0 deletions docs/core/install/includes/linux-install-21-yum.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@

### Install the SDK

.NET Core SDK allows you to develop apps with .NET Core. If you install .NET Core SDK, you don't need to install the corresponding runtime. To install .NET Core SDK, run the following commands:

```bash
sudo yum install dotnet-sdk-2.1
```

### Install the runtime

The .NET Core Runtime allows you to run apps that were made with .NET Core that didn't include the runtime. The commands below install the ASP.NET Core Runtime, which is the most compatible runtime for .NET Core. In your terminal, run the following commands.

```bash
sudo yum install aspnetcore-runtime-2.1
```

As an alternative to the ASP.NET Core Runtime, you can install the .NET Core Runtime that doesn't include ASP.NET Core support: replace `aspnetcore-runtime-2.1` in the command above with `dotnet-runtime-2.1`.

```bash
sudo yum install dotnet-runtime-2.1
```
22 changes: 22 additions & 0 deletions docs/core/install/includes/linux-install-30-dnf.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@

### Install the SDK

.NET Core SDK allows you to develop apps with .NET Core. If you install .NET Core SDK, you don't need to install the corresponding runtime. To install .NET Core SDK, run the following commands:

```bash
sudo dnf install dotnet-sdk-3.0
```

### Install the runtime

The .NET Core Runtime allows you to run apps that were made with .NET Core that didn't include the runtime. The commands below install the ASP.NET Core Runtime, which is the most compatible runtime for .NET Core. In your terminal, run the following commands.

```bash
sudo dnf install aspnetcore-runtime-3.0
```

As an alternative to the ASP.NET Core Runtime, you can install the .NET Core Runtime that doesn't include ASP.NET Core support: replace `aspnetcore-runtime-3.0` in the command above with `dotnet-runtime-3.0`.

```bash
sudo dnf install dotnet-runtime-3.0
```
34 changes: 34 additions & 0 deletions docs/core/install/includes/linux-install-31-apt.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@

### Install the SDK

.NET Core SDK allows you to develop apps with .NET Core. If you install .NET Core SDK, you don't need to install the corresponding runtime. To install .NET Core SDK, run the following commands:

```bash
sudo apt-get update; \
sudo apt-get install -y apt-transport-https && \
sudo apt-get update && \
sudo apt-get install -y dotnet-sdk-3.1
```

> [!IMPORTANT]
> If you receive an error message similar to **Unable to locate package dotnet-sdk-3.1**, see the [APT troubleshooting](#apt-troubleshooting) section.

### Install the runtime

The .NET Core Runtime allows you to run apps that were made with .NET Core that didn't include the runtime. The commands below install the ASP.NET Core Runtime, which is the most compatible runtime for .NET Core. In your terminal, run the following commands.

```bash
sudo apt-get update; \
sudo apt-get install -y apt-transport-https && \
sudo apt-get update && \
sudo apt-get install -y aspnetcore-runtime-3.1
```

> [!IMPORTANT]
> If you receive an error message similar to **Unable to locate package aspnetcore-runtime-3.1**, see the [APT troubleshooting](#apt-troubleshooting) section.

As an alternative to the ASP.NET Core Runtime, you can install the .NET Core Runtime that doesn't include ASP.NET Core support: replace `aspnetcore-runtime-3.1` in the command above with `dotnet-runtime-3.1`.

```bash
sudo apt-get install -y dotnet-runtime-3.1
```
22 changes: 22 additions & 0 deletions docs/core/install/includes/linux-install-31-dnf.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@

### Install the SDK

.NET Core SDK allows you to develop apps with .NET Core. If you install .NET Core SDK, you don't need to install the corresponding runtime. To install .NET Core SDK, run the following commands:

```bash
sudo dnf install dotnet-sdk-3.1
```

### Install the runtime

The .NET Core Runtime allows you to run apps that were made with .NET Core that didn't include the runtime. The commands below install the ASP.NET Core Runtime, which is the most compatible runtime for .NET Core. In your terminal, run the following commands.

```bash
sudo dnf install aspnetcore-runtime-3.1
```

As an alternative to the ASP.NET Core Runtime, you can install the .NET Core Runtime that doesn't include ASP.NET Core support: replace `aspnetcore-runtime-3.1` in the command above with `dotnet-runtime-3.1`.

```bash
sudo dnf install dotnet-runtime-3.1
```
22 changes: 22 additions & 0 deletions docs/core/install/includes/linux-install-31-yum.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@

### Install the SDK

.NET Core SDK allows you to develop apps with .NET Core. If you install .NET Core SDK, you don't need to install the corresponding runtime. To install .NET Core SDK, run the following commands:

```bash
sudo yum install dotnet-sdk-3.1
```

### Install the runtime

The .NET Core Runtime allows you to run apps that were made with .NET Core that didn't include the runtime. The commands below install the ASP.NET Core Runtime, which is the most compatible runtime for .NET Core. In your terminal, run the following commands.

```bash
sudo yum install aspnetcore-runtime-3.1
```

As an alternative to the ASP.NET Core Runtime, you can install the .NET Core Runtime that doesn't include ASP.NET Core support: replace `aspnetcore-runtime-2.1` in the command above with `dotnet-runtime-3.1`.

```bash
sudo yum install dotnet-runtime-3.1
```
22 changes: 22 additions & 0 deletions docs/core/install/includes/linux-install-31-zyp.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@

### Install the SDK

The .NET Core SDK allows you to develop apps with .NET Core. To install the .NET Core SDK, run the following commands.

```bash
sudo zypper install dotnet-sdk-3.1
```

### Install the runtime

The .NET Core Runtime allows you to run apps that were made with .NET Core that didn't include the runtime. The commands below install the ASP.NET Core Runtime, which is the most compatible runtime for .NET Core. In your terminal, run the following commands.

```bash
sudo zypper install aspnetcore-runtime-3.1
```

As an alternative to the ASP.NET Core Runtime, you can install the .NET Core Runtime that doesn't include ASP.NET Core support: replace `aspnetcore-runtime-2.1` in the command above with `dotnet-runtime-3.1`.

```bash
sudo zypper install dotnet-runtime-3.1
```
22 changes: 22 additions & 0 deletions docs/core/install/includes/linux-install-dependencies.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,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:

- lttng-ust
- libcurl
- openssl-libs
- krb5-libs
- libicu
- zlib
- libunwind
- libuuid

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

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

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

- [libgdiplus (version 6.0.1 or later)](https://www.mono-project.com/docs/gui/libgdiplus/)

> [!WARNING]
> 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/>.
Loading