Skip to content

Commit 364e9af

Browse files
ThrakaYoussef1313
andauthored
Add fedora 31;rearrange package manager links (#16307)
* Add fedora 31;rearrange package manager links * Apply suggestions from code review Co-Authored-By: Youssef Victor <[email protected]> Co-authored-by: Youssef Victor <[email protected]>
1 parent fbb2dab commit 364e9af

File tree

4 files changed

+86
-25
lines changed

4 files changed

+86
-25
lines changed

docs/core/install/includes/package-manager-heading-hack-pkgname.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ The version of the SDK or runtime to install. This article will always give the
2323
### Examples
2424

2525
- Install the .NET Core 2.2 SDK: `dotnet-sdk-2.2`
26-
- Install the ASP.NET Core 3.0 runtime: `aspnetcore-runtime-3.0`
26+
- Install the ASP.NET Core 3.1 runtime: `aspnetcore-runtime-3.1`
2727
- Install the .NET Core 2.1 runtime: `dotnet-runtime-2.1`
2828

2929
### Troubleshoot
Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,19 @@
11

22
> [!div class="op_single_selector"]
33
>
4-
> - [RHEL 7 - x64](../linux-package-manager-rhel7.md)
5-
> - [RHEL 8.1 - x64](../linux-package-manager-rhel81.md)
6-
> - [Ubuntu 16.04 - x64](../linux-package-manager-ubuntu-1604.md)
7-
> - [Ubuntu 18.04 - x64](../linux-package-manager-ubuntu-1804.md)
84
> - [Ubuntu 19.04 - x64](../linux-package-manager-ubuntu-1904.md)
9-
> - [Debian 9 - x64](../linux-package-manager-debian9.md)
5+
> - [Ubuntu 18.04 - x64](../linux-package-manager-ubuntu-1804.md)
6+
> - [Ubuntu 16.04 - x64](../linux-package-manager-ubuntu-1604.md)
7+
> - [CentOS 7 - x64](../linux-package-manager-centos7.md)
108
> - [Debian 10 - x64](../linux-package-manager-debian10.md)
11-
> - [Fedora 29 - x64](../linux-package-manager-fedora29.md)
9+
> - [Debian 9 - x64](../linux-package-manager-debian9.md)
10+
> - [Fedora 31 - x64](../linux-package-manager-fedora31.md)
1211
> - [Fedora 30 - x64](../linux-package-manager-fedora30.md)
13-
> - [CentOS 7 - x64](../linux-package-manager-centos7.md)
12+
> - [Fedora 29 - x64](../linux-package-manager-fedora29.md)
1413
> - [OpenSUSE 15 - x64](../linux-package-manager-opensuse15.md)
15-
> - [SLES 12 - x64](../linux-package-manager-sles12.md)
14+
> - [RHEL 8.1 - x64](../linux-package-manager-rhel81.md)
15+
> - [RHEL 7 - x64](../linux-package-manager-rhel7.md)
1616
> - [SLES 15 - x64](../linux-package-manager-sles15.md)
17+
> - [SLES 12 - x64](../linux-package-manager-sles12.md)
1718
1819
_Package manager installs are only supported on the **x64** architecture_. Other architectures, such as **ARM**, must [manually install the .NET Core SDK](../sdk.md?pivots=os-linux#download-and-manually-install) or [manually install the .NET Core Runtime](../runtime.md?pivots=os-linux#download-and-manually-install). For more information, see [.NET Core dependencies and requirements](../dependencies.md).
Lines changed: 58 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,58 @@
1+
---
2+
title: Install .NET Core on Fedora 31 - package manager - .NET Core
3+
description: Use a package manager to install .NET Core SDK and runtime on Fedora 31.
4+
author: thraka
5+
ms.author: adegeo
6+
ms.date: 12/17/2019
7+
---
8+
9+
# Fedora 31 Package Manager - Install .NET Core
10+
11+
[!INCLUDE [package-manager-switcher](./includes/package-manager-switcher.md)]
12+
13+
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.
14+
15+
## Register Microsoft key and feed
16+
17+
Before installing .NET, you'll need to:
18+
19+
- Register the Microsoft key.
20+
- Register the product repository.
21+
- Install required dependencies.
22+
23+
This only needs to be done once per machine.
24+
25+
Open a terminal and run the following commands.
26+
27+
```bash
28+
sudo rpm --import https://packages.microsoft.com/keys/microsoft.asc
29+
sudo wget -q -O /etc/yum.repos.d/microsoft-prod.repo https://packages.microsoft.com/config/fedora/31/prod.repo
30+
```
31+
32+
## Install the .NET Core SDK
33+
34+
Update the products available for installation, then install the .NET Core SDK. In your terminal, run the following command.
35+
36+
```bash
37+
sudo dnf install dotnet-sdk-3.1
38+
```
39+
40+
## Install the ASP.NET Core runtime
41+
42+
Update the products available for installation, then install the ASP.NET runtime. In your terminal, run the following command.
43+
44+
```bash
45+
sudo dnf install aspnetcore-runtime-3.1
46+
```
47+
48+
## Install the .NET Core runtime
49+
50+
Update the products available for installation, then install the .NET Core runtime. In your terminal, run the following command.
51+
52+
```bash
53+
sudo dnf install dotnet-runtime-3.1
54+
```
55+
56+
## How to install other versions
57+
58+
[!INCLUDE [package-manager-switcher](./includes/package-manager-heading-hack-pkgname.md)]

docs/core/toc.yml

Lines changed: 18 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -16,32 +16,34 @@
1616
href: install/how-to-detect-installed-versions.md
1717
- name: Linux package managers
1818
items:
19-
- name: RHEL 7
20-
href: install/linux-package-manager-rhel7.md
21-
- name: RHEL 8.1
22-
href: install/linux-package-manager-rhel81.md
23-
- name: Ubuntu 16.04
24-
href: install/linux-package-manager-ubuntu-1604.md
25-
- name: Ubuntu 18.04
26-
href: install/linux-package-manager-ubuntu-1804.md
2719
- name: Ubuntu 19.04
2820
href: install/linux-package-manager-ubuntu-1904.md
29-
- name: Debian 9
30-
href: install/linux-package-manager-debian9.md
21+
- name: Ubuntu 18.04
22+
href: install/linux-package-manager-ubuntu-1804.md
23+
- name: Ubuntu 16.04
24+
href: install/linux-package-manager-ubuntu-1604.md
25+
- name: CentOS 7
26+
href: install/linux-package-manager-centos7.md
3127
- name: Debian 10
3228
href: install/linux-package-manager-debian10.md
33-
- name: Fedora 29
34-
href: install/linux-package-manager-fedora29.md
29+
- name: Debian 9
30+
href: install/linux-package-manager-debian9.md
31+
- name: Fedora 31
32+
href: install/linux-package-manager-fedora31.md
3533
- name: Fedora 30
3634
href: install/linux-package-manager-fedora30.md
37-
- name: CentOS 7
38-
href: install/linux-package-manager-centos7.md
35+
- name: Fedora 29
36+
href: install/linux-package-manager-fedora29.md
3937
- name: OpenSUSE 15
4038
href: install/linux-package-manager-opensuse15.md
41-
- name: SLES 12
42-
href: install/linux-package-manager-sles12.md
39+
- name: RHEL 8.1
40+
href: install/linux-package-manager-rhel81.md
41+
- name: RHEL 7
42+
href: install/linux-package-manager-rhel7.md
4343
- name: SLES 15
4444
href: install/linux-package-manager-sles15.md
45+
- name: SLES 12
46+
href: install/linux-package-manager-sles12.md
4547
- name: Install localized IntelliSense
4648
href: install/localized-intellisense.md
4749
- name: Get started

0 commit comments

Comments
 (0)