Skip to content
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
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ The version of the SDK or runtime to install. This article will always give the

- Install the ASP.NET Core 3.1 runtime: `aspnetcore-runtime-3.1`
- Install the .NET Core 2.1 runtime: `dotnet-runtime-2.1`
- Install the .NET Core 3.0 SDK: `dotnet-sdk-3.0`
- Install the .NET Core 3.1 SDK: `dotnet-sdk-3.1`

### Package missing

Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@

Install the SDK (which includes the runtime) if you want to develop .NET Core apps. Or, if you only need to run apps, install the runtime. If you're installing the runtime, we suggest you install the [ASP.NET Core runtime](#install-the-aspnet-core-runtime), as it includes both .NET Core and ASP.NET Core runtimes.

If you've already installed the SDK or runtime, use the `dotnet --list-sdks` and `dotnet --list-runtimes` commands to see which versions are installed. For more information, see [How to check that .NET Core is already installed](../how-to-detect-installed-versions.md?pivots=os-linux).
6 changes: 4 additions & 2 deletions docs/core/install/linux-package-manager-centos7.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,16 @@ title: Install .NET Core on CentOS 7 - package manager - .NET Core
description: Use a package manager to install .NET Core SDK and runtime on CentOS 7.
author: thraka
ms.author: adegeo
ms.date: 12/04/2019
ms.date: 03/17/2020
---

# CentOS 7 Package Manager - Install .NET Core

[!INCLUDE [package-manager-switcher](./includes/package-manager-switcher.md)]

This article describes how to use a package manager to install .NET Core on CentOS 7. If you're installing the runtime, we suggest you install the [ASP.NET Core runtime](#install-the-aspnet-core-runtime), as it includes both .NET Core and ASP.NET Core runtimes.
This article describes how to use a package manager to install .NET Core on CentOS 7.

[!INCLUDE [package-manager-intro-sdk-vs-runtime](includes/package-manager-intro-sdk-vs-runtime.md)]

## Register Microsoft key and feed

Expand Down
10 changes: 6 additions & 4 deletions docs/core/install/linux-package-manager-debian10.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,16 @@ title: Install .NET Core on Debian 10 - package manager - .NET Core
description: Use a package manager to install .NET Core SDK and runtime on Debian 10.
author: thraka
ms.author: adegeo
ms.date: 12/04/2019
ms.date: 03/17/2020
---

# Debian 10 Package Manager - Install .NET Core

[!INCLUDE [package-manager-switcher](./includes/package-manager-switcher.md)]

This article describes how to use a package manager to install .NET Core on Debian 10. If you're installing the runtime, we suggest you install the [ASP.NET Core runtime](#install-the-aspnet-core-runtime), as it includes both .NET Core and ASP.NET Core runtimes.
This article describes how to use a package manager to install .NET Core on Debian 10.

[!INCLUDE [package-manager-intro-sdk-vs-runtime](includes/package-manager-intro-sdk-vs-runtime.md)]

## Register Microsoft key and feed

Expand All @@ -25,9 +27,9 @@ This only needs to be done once per machine.
Open a terminal and run the following commands.

```bash
wget -qO- https://packages.microsoft.com/keys/microsoft.asc | gpg --dearmor > microsoft.asc.gpg
wget -O- https://packages.microsoft.com/keys/microsoft.asc | gpg --dearmor > microsoft.asc.gpg
sudo mv microsoft.asc.gpg /etc/apt/trusted.gpg.d/
wget -q https://packages.microsoft.com/config/debian/10/prod.list
wget https://packages.microsoft.com/config/debian/10/prod.list
sudo mv prod.list /etc/apt/sources.list.d/microsoft-prod.list
sudo chown root:root /etc/apt/trusted.gpg.d/microsoft.asc.gpg
sudo chown root:root /etc/apt/sources.list.d/microsoft-prod.list
Expand Down
10 changes: 6 additions & 4 deletions docs/core/install/linux-package-manager-debian9.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,16 @@ title: Install .NET Core on Debian 9 - package manager - .NET Core
description: Use a package manager to install .NET Core SDK and runtime on Debian 9.
author: thraka
ms.author: adegeo
ms.date: 12/04/2019
ms.date: 03/17/2020
---

# Debian 9 Package Manager - Install .NET Core

[!INCLUDE [package-manager-switcher](./includes/package-manager-switcher.md)]

This article describes how to use a package manager to install .NET Core on Debian 9. If you're installing the runtime, we suggest you install the [ASP.NET Core runtime](#install-the-aspnet-core-runtime), as it includes both .NET Core and ASP.NET Core runtimes.
This article describes how to use a package manager to install .NET Core on Debian 9.

[!INCLUDE [package-manager-intro-sdk-vs-runtime](includes/package-manager-intro-sdk-vs-runtime.md)]

## Register Microsoft key and feed

Expand All @@ -25,9 +27,9 @@ This only needs to be done once per machine.
Open a terminal and run the following commands.

```bash
wget -qO- https://packages.microsoft.com/keys/microsoft.asc | gpg --dearmor > microsoft.asc.gpg
wget -O- https://packages.microsoft.com/keys/microsoft.asc | gpg --dearmor > microsoft.asc.gpg
sudo mv microsoft.asc.gpg /etc/apt/trusted.gpg.d/
wget -q https://packages.microsoft.com/config/debian/9/prod.list
wget https://packages.microsoft.com/config/debian/9/prod.list
sudo mv prod.list /etc/apt/sources.list.d/microsoft-prod.list
sudo chown root:root /etc/apt/trusted.gpg.d/microsoft.asc.gpg
sudo chown root:root /etc/apt/sources.list.d/microsoft-prod.list
Expand Down
8 changes: 5 additions & 3 deletions docs/core/install/linux-package-manager-fedora29.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,16 @@ title: Install .NET Core on Fedora 29 - package manager - .NET Core
description: Use a package manager to install .NET Core SDK and runtime on Fedora 29.
author: thraka
ms.author: adegeo
ms.date: 12/04/2019
ms.date: 03/17/2020
---

# Fedora 29 Package Manager - Install .NET Core

[!INCLUDE [package-manager-switcher](./includes/package-manager-switcher.md)]

This article describes how to use a package manager to install .NET Core on Fedora 29. If you're installing the runtime, we suggest you install the [ASP.NET Core runtime](#install-the-aspnet-core-runtime), as it includes both .NET Core and ASP.NET Core runtimes.
This article describes how to use a package manager to install .NET Core on Fedora 29.

[!INCLUDE [package-manager-intro-sdk-vs-runtime](includes/package-manager-intro-sdk-vs-runtime.md)]

## Register Microsoft key and feed

Expand All @@ -26,7 +28,7 @@ Open a terminal and run the following commands.

```bash
sudo rpm --import https://packages.microsoft.com/keys/microsoft.asc
sudo wget -q -O /etc/yum.repos.d/microsoft-prod.repo https://packages.microsoft.com/config/fedora/29/prod.repo
sudo wget -O /etc/yum.repos.d/microsoft-prod.repo https://packages.microsoft.com/config/fedora/29/prod.repo
```

## Install the .NET Core SDK
Expand Down
8 changes: 5 additions & 3 deletions docs/core/install/linux-package-manager-fedora30.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,16 @@ title: Install .NET Core on Fedora 30 - package manager - .NET Core
description: Use a package manager to install .NET Core SDK and runtime on Fedora 30.
author: thraka
ms.author: adegeo
ms.date: 12/04/2019
ms.date: 03/17/2020
---

# Fedora 30 Package Manager - Install .NET Core

[!INCLUDE [package-manager-switcher](./includes/package-manager-switcher.md)]

This article describes how to use a package manager to install .NET Core on Fedora 30. If you're installing the runtime, we suggest you install the [ASP.NET Core runtime](#install-the-aspnet-core-runtime), as it includes both .NET Core and ASP.NET Core runtimes.
This article describes how to use a package manager to install .NET Core on Fedora 30.

[!INCLUDE [package-manager-intro-sdk-vs-runtime](includes/package-manager-intro-sdk-vs-runtime.md)]

## Register Microsoft key and feed

Expand All @@ -26,7 +28,7 @@ Open a terminal and run the following commands.

```bash
sudo rpm --import https://packages.microsoft.com/keys/microsoft.asc
sudo wget -q -O /etc/yum.repos.d/microsoft-prod.repo https://packages.microsoft.com/config/fedora/30/prod.repo
sudo wget -O /etc/yum.repos.d/microsoft-prod.repo https://packages.microsoft.com/config/fedora/30/prod.repo
```

## Install the .NET Core SDK
Expand Down
8 changes: 5 additions & 3 deletions docs/core/install/linux-package-manager-fedora31.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,16 @@ title: Install .NET Core on Fedora 31 - package manager - .NET Core
description: Use a package manager to install .NET Core SDK and runtime on Fedora 31.
author: thraka
ms.author: adegeo
ms.date: 12/17/2019
ms.date: 03/17/2020
---

# Fedora 31 Package Manager - Install .NET Core

[!INCLUDE [package-manager-switcher](./includes/package-manager-switcher.md)]

This article describes how to use a package manager to install .NET Core on Fedora 31. If you're installing the runtime, we suggest you install the [ASP.NET Core runtime](#install-the-aspnet-core-runtime), as it includes both .NET Core and ASP.NET Core runtimes.
This article describes how to use a package manager to install .NET Core on Fedora 31.

[!INCLUDE [package-manager-intro-sdk-vs-runtime](includes/package-manager-intro-sdk-vs-runtime.md)]

## Register Microsoft key and feed

Expand All @@ -26,7 +28,7 @@ Open a terminal and run the following commands.

```bash
sudo rpm --import https://packages.microsoft.com/keys/microsoft.asc
sudo wget -q -O /etc/yum.repos.d/microsoft-prod.repo https://packages.microsoft.com/config/fedora/31/prod.repo
sudo wget -O /etc/yum.repos.d/microsoft-prod.repo https://packages.microsoft.com/config/fedora/31/prod.repo
```

## Install the .NET Core SDK
Expand Down
8 changes: 5 additions & 3 deletions docs/core/install/linux-package-manager-opensuse15.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,16 @@ title: Install .NET Core on openSUSE 15 - package manager - .NET Core
description: Use a package manager to install .NET Core SDK and runtime on openSUSE 15.
author: thraka
ms.author: adegeo
ms.date: 12/26/2019
ms.date: 03/17/2020
---

# openSUSE 15 Package Manager - Install .NET Core

[!INCLUDE [package-manager-switcher](./includes/package-manager-switcher.md)]

This article describes how to use a package manager to install .NET Core on openSUSE 15. If you're installing the runtime, we suggest you install the [ASP.NET Core runtime](#install-the-aspnet-core-runtime), as it includes both .NET Core and ASP.NET Core runtimes.
This article describes how to use a package manager to install .NET Core on openSUSE 15.

[!INCLUDE [package-manager-intro-sdk-vs-runtime](includes/package-manager-intro-sdk-vs-runtime.md)]

## Register Microsoft key and feed

Expand All @@ -27,7 +29,7 @@ Open a terminal and run the following commands.
```bash
sudo zypper install libicu
sudo rpm --import https://packages.microsoft.com/keys/microsoft.asc
wget -q https://packages.microsoft.com/config/opensuse/15/prod.repo
wget https://packages.microsoft.com/config/opensuse/15/prod.repo
sudo mv prod.repo /etc/zypp/repos.d/microsoft-prod.repo
sudo chown root:root /etc/zypp/repos.d/microsoft-prod.repo
```
Expand Down
4 changes: 3 additions & 1 deletion docs/core/install/linux-package-manager-rhel7.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ title: Install .NET Core on Linux RHEL 7 package manager - .NET Core
description: Use a package manager to install .NET Core SDK and runtime on RHEL 7.
author: thraka
ms.author: adegeo
ms.date: 12/03/2019
ms.date: 03/17/2020
---

# RHEL 7 Package Manager - Install .NET Core
Expand All @@ -12,6 +12,8 @@ ms.date: 12/03/2019

This article describes how to use a package manager to install .NET Core on RHEL 7.

[!INCLUDE [package-manager-intro-sdk-vs-runtime](includes/package-manager-intro-sdk-vs-runtime.md)]

## Register your Red Hat subscription

To install .NET Core from Red Hat on RHEL, you first need to register using the Red Hat Subscription Manager. If this hasn't been done on your system, or if you're unsure, see the [Red Hat Product Documentation for .NET Core](https://access.redhat.com/documentation/net_core/).
Expand Down
4 changes: 3 additions & 1 deletion docs/core/install/linux-package-manager-rhel8.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ title: Install .NET Core on Linux RHEL 8 package manager - .NET Core
description: Use a package manager to install .NET Core SDK and runtime on RHEL 8.
author: thraka
ms.author: adegeo
ms.date: 12/03/2019
ms.date: 03/17/2020
---

# RHEL 8 Package Manager - Install .NET Core
Expand All @@ -12,6 +12,8 @@ ms.date: 12/03/2019

This article describes how to use a package manager to install .NET Core on RHEL 8.

[!INCLUDE [package-manager-intro-sdk-vs-runtime](includes/package-manager-intro-sdk-vs-runtime.md)]

## Register your Red Hat subscription

To install .NET Core from Red Hat on RHEL, you first need to register using the Red Hat Subscription Manager. If this hasn't been done on your system, or if you're unsure, see the [Red Hat Product Documentation for .NET Core](https://access.redhat.com/documentation/net_core/).
Expand Down
6 changes: 4 additions & 2 deletions docs/core/install/linux-package-manager-sles12.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,16 @@ title: Install .NET Core on SLES 12 - package manager - .NET Core
description: Use a package manager to install .NET Core SDK and runtime on SLES 12.
author: thraka
ms.author: adegeo
ms.date: 12/04/2019
ms.date: 03/17/2020
---

# SLES 12 Package Manager - Install .NET Core

[!INCLUDE [package-manager-switcher](./includes/package-manager-switcher.md)]

This article describes how to use a package manager to install .NET Core on SLES 12. If you're installing the runtime, we suggest you install the [ASP.NET Core runtime](#install-the-aspnet-core-runtime), as it includes both .NET Core and ASP.NET Core runtimes.
This article describes how to use a package manager to install .NET Core on SLES 12.

[!INCLUDE [package-manager-intro-sdk-vs-runtime](includes/package-manager-intro-sdk-vs-runtime.md)]

## Register Microsoft key and feed

Expand Down
6 changes: 4 additions & 2 deletions docs/core/install/linux-package-manager-sles15.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,16 @@ title: Install .NET Core on SLES 15 - package manager - .NET Core
description: Use a package manager to install .NET Core SDK and runtime on SLES 15.
author: thraka
ms.author: adegeo
ms.date: 12/04/2019
ms.date: 03/17/2020
---

# SLES 15 Package Manager - Install .NET Core

[!INCLUDE [package-manager-switcher](./includes/package-manager-switcher.md)]

This article describes how to use a package manager to install .NET Core on SLES 15. If you're installing the runtime, we suggest you install the [ASP.NET Core runtime](#install-the-aspnet-core-runtime), as it includes both .NET Core and ASP.NET Core runtimes.
This article describes how to use a package manager to install .NET Core on SLES 15.

[!INCLUDE [package-manager-intro-sdk-vs-runtime](includes/package-manager-intro-sdk-vs-runtime.md)]

## Register Microsoft key and feed

Expand Down
12 changes: 7 additions & 5 deletions docs/core/install/linux-package-manager-ubuntu-1604.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,16 @@ title: Install .NET Core on Ubuntu 16.04 package manager - .NET Core
description: Use a package manager to install .NET Core SDK and runtime on Ubuntu 16.04.
author: thraka
ms.author: adegeo
ms.date: 12/04/2019
ms.date: 03/17/2020
---

# Ubuntu 16.04 Package Manager - Install .NET Core

[!INCLUDE [package-manager-switcher](./includes/package-manager-switcher.md)]

This article describes how to use a package manager to install .NET Core on Ubuntu 16.04. If you're installing the runtime, we suggest you install the [ASP.NET Core runtime](#install-the-aspnet-core-runtime), as it includes both .NET Core and ASP.NET Core runtimes.
This article describes how to use a package manager to install .NET Core on Ubuntu 16.04.

[!INCLUDE [package-manager-intro-sdk-vs-runtime](includes/package-manager-intro-sdk-vs-runtime.md)]

## Register Microsoft key and feed

Expand All @@ -25,7 +27,7 @@ This only needs to be done once per machine.
Open a terminal and run the following commands.

```bash
wget -q https://packages.microsoft.com/config/ubuntu/16.04/packages-microsoft-prod.deb -O packages-microsoft-prod.deb
wget https://packages.microsoft.com/config/ubuntu/16.04/packages-microsoft-prod.deb -O packages-microsoft-prod.deb
sudo dpkg -i packages-microsoft-prod.deb
```

Expand Down Expand Up @@ -93,9 +95,9 @@ If that doesn't work, you can run a manual install with the following commands.

```bash
sudo apt-get install -y gpg
wget -qO- https://packages.microsoft.com/keys/microsoft.asc | gpg --dearmor -o microsoft.asc.gpg
wget -O- https://packages.microsoft.com/keys/microsoft.asc | gpg --dearmor -o microsoft.asc.gpg
sudo mv microsoft.asc.gpg /etc/apt/trusted.gpg.d/
wget -q https://packages.microsoft.com/config/ubuntu/16.04/prod.list
wget https://packages.microsoft.com/config/ubuntu/16.04/prod.list
sudo mv prod.list /etc/apt/sources.list.d/microsoft-prod.list
sudo chown root:root /etc/apt/trusted.gpg.d/microsoft.asc.gpg
sudo chown root:root /etc/apt/sources.list.d/microsoft-prod.list
Expand Down
12 changes: 7 additions & 5 deletions docs/core/install/linux-package-manager-ubuntu-1804.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,16 @@ title: Install .NET Core on Ubuntu 18.04 package manager - .NET Core
description: Use a package manager to install .NET Core SDK and runtime on Ubuntu 18.04.
author: thraka
ms.author: adegeo
ms.date: 12/04/2019
ms.date: 03/17/2020
---

# Ubuntu 18.04 Package Manager - Install .NET Core

[!INCLUDE [package-manager-switcher](./includes/package-manager-switcher.md)]

This article describes how to use a package manager to install .NET Core on Ubuntu 18.04. If you're installing the runtime, we suggest you install the [ASP.NET Core runtime](#install-the-aspnet-core-runtime), as it includes both .NET Core and ASP.NET Core runtimes.
This article describes how to use a package manager to install .NET Core on Ubuntu 18.04.

[!INCLUDE [package-manager-intro-sdk-vs-runtime](includes/package-manager-intro-sdk-vs-runtime.md)]

## Register Microsoft key and feed

Expand All @@ -25,7 +27,7 @@ This only needs to be done once per machine.
Open a terminal and run the following commands.

```bash
wget -q https://packages.microsoft.com/config/ubuntu/18.04/packages-microsoft-prod.deb -O packages-microsoft-prod.deb
wget https://packages.microsoft.com/config/ubuntu/18.04/packages-microsoft-prod.deb -O packages-microsoft-prod.deb
sudo dpkg -i packages-microsoft-prod.deb
```

Expand Down Expand Up @@ -96,9 +98,9 @@ If that doesn't work, you can run a manual install with the following commands.

```bash
sudo apt-get install -y gpg
wget -qO- https://packages.microsoft.com/keys/microsoft.asc | gpg --dearmor -o microsoft.asc.gpg
wget -O- https://packages.microsoft.com/keys/microsoft.asc | gpg --dearmor -o microsoft.asc.gpg
sudo mv microsoft.asc.gpg /etc/apt/trusted.gpg.d/
wget -q https://packages.microsoft.com/config/ubuntu/18.04/prod.list
wget https://packages.microsoft.com/config/ubuntu/18.04/prod.list
sudo mv prod.list /etc/apt/sources.list.d/microsoft-prod.list
sudo chown root:root /etc/apt/trusted.gpg.d/microsoft.asc.gpg
sudo chown root:root /etc/apt/sources.list.d/microsoft-prod.list
Expand Down
Loading