-
Notifications
You must be signed in to change notification settings - Fork 6k
Updates for linux install instructions #32596
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
Changes from all commits
Commits
Show all changes
13 commits
Select commit
Hold shift + click to select a range
9fcdd06
Updates for linux install instructions
adegeo 08f4021
bookmark fix
adegeo 9cee7e0
bookmark fix
adegeo a5ce9a3
Apply suggestions from code review
adegeo 90264f7
Feedback from Tom
adegeo e24a0ed
clarify fedora, cent, rhel
adegeo 0800d17
minor changes; add dep updates
adegeo 6ec4950
more dep changes
adegeo 9035af4
ubuntu feed doesn't include .net 7
adegeo 15c6ed5
Merge branch 'main' of github.adegeo:dotnet/docs into adegeo-linux
adegeo a0c2ae9
Merge branch 'main' of github.adegeo:dotnet/docs into adegeo-linux
adegeo 1d3edcf
alpine additions
adegeo 5af019b
add note for ubuntu
adegeo File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
--- | ||
author: adegeo | ||
ms.author: adegeo | ||
ms.date: 11/22/2022 | ||
ms.topic: include | ||
--- | ||
|
||
### Install the SDK | ||
|
||
The .NET SDK allows you to develop apps with .NET. If you install the .NET SDK, you don't need to install the corresponding runtime. To install the .NET SDK, run the following command: | ||
|
||
```bash | ||
sudo apk add dotnet6-sdk | ||
``` | ||
|
||
### Install the runtime | ||
|
||
The ASP.NET Core Runtime allows you to run apps that were made with .NET that didn't provide the runtime. The following command install the ASP.NET Core Runtime, which is the most compatible runtime for .NET. In your terminal, run the following command: | ||
|
||
```bash | ||
sudo apk add aspnetcore6-runtime | ||
``` | ||
|
||
As an alternative to the ASP.NET Core Runtime, you can install the .NET Runtime, which doesn't include ASP.NET Core support: replace `aspnetcore6-runtime` in the previous command with `dotnet6-runtime`: | ||
|
||
```bash | ||
sudo apk add dotnet6-runtime | ||
``` |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
--- | ||
author: adegeo | ||
ms.author: adegeo | ||
ms.date: 11/22/2022 | ||
ms.topic: include | ||
--- | ||
|
||
### Install the SDK | ||
|
||
The .NET SDK allows you to develop apps with .NET. If you install the .NET SDK, you don't need to install the corresponding runtime. To install the .NET SDK, run the following command: | ||
|
||
```bash | ||
sudo apk add dotnet7-sdk | ||
``` | ||
|
||
### Install the runtime | ||
|
||
The ASP.NET Core Runtime allows you to run apps that were made with .NET that didn't provide the runtime. The following command installs the ASP.NET Core Runtime, which is the most compatible runtime for .NET. In your terminal, run the following command: | ||
|
||
```bash | ||
sudo apk add aspnetcore7-runtime | ||
``` | ||
|
||
As an alternative to the ASP.NET Core Runtime, you can install the .NET Runtime, which doesn't include ASP.NET Core support: replace `aspnetcore7-runtime` in the previous command with `dotnet7-runtime`: | ||
|
||
```bash | ||
sudo apk add dotnet7-runtime | ||
``` |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
--- | ||
author: adegeo | ||
ms.author: adegeo | ||
ms.date: 11/15/2022 | ||
ms.topic: include | ||
--- | ||
|
||
### Install the SDK | ||
|
||
The .NET SDK allows you to develop apps with .NET. If you install the .NET SDK, you don't need to install the corresponding runtime. To install the .NET SDK, run the following commands: | ||
|
||
```bash | ||
sudo apt-get update && \ | ||
sudo apt-get install -y dotnet-sdk-7.0 | ||
``` | ||
|
||
> [!IMPORTANT] | ||
> If you receive an error message similar to **Unable to locate package dotnet-sdk-7.0**, see the [troubleshooting](#troubleshooting) section. | ||
|
||
### Install the runtime | ||
|
||
The ASP.NET Core Runtime allows you to run apps that were made with .NET that didn't provide the runtime. The following commands install the ASP.NET Core Runtime, which is the most compatible runtime for .NET. In your terminal, run the following commands: | ||
|
||
```bash | ||
sudo apt-get update && \ | ||
sudo apt-get install -y aspnetcore-runtime-7.0 | ||
``` | ||
|
||
> [!IMPORTANT] | ||
> If you receive an error message similar to **Unable to locate package aspnetcore-runtime-7.0**, see the [troubleshooting](#troubleshooting) section. | ||
|
||
As an alternative to the ASP.NET Core Runtime, you can install the .NET Runtime, which doesn't include ASP.NET Core support: replace `aspnetcore-runtime-7.0` in the previous command with `dotnet-runtime-7.0`: | ||
|
||
```bash | ||
sudo apt-get install -y dotnet-runtime-7.0 | ||
``` |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
--- | ||
author: adegeo | ||
ms.author: adegeo | ||
ms.date: 11/15/2022 | ||
ms.topic: include | ||
--- | ||
|
||
### Install the SDK | ||
|
||
The .NET SDK allows you to develop apps with .NET. If you install the .NET SDK, you don't need to install the corresponding runtime. To install the .NET SDK, run the following command: | ||
|
||
```bash | ||
sudo dnf install dotnet-sdk-7.0 | ||
``` | ||
|
||
### Install the runtime | ||
|
||
The ASP.NET Core Runtime allows you to run apps that were made with .NET that didn't provide the runtime. The following command installs the ASP.NET Core Runtime, which is the most compatible runtime for .NET. In your terminal, run the following command: | ||
|
||
```bash | ||
sudo dnf install aspnetcore-runtime-7.0 | ||
``` | ||
|
||
As an alternative to the ASP.NET Core Runtime, you can install the .NET Runtime, which doesn't include ASP.NET Core support: replace `aspnetcore-runtime-7.0` in the previous command with `dotnet-runtime-7.0`: | ||
|
||
```bash | ||
sudo dnf install dotnet-runtime-7.0 | ||
``` |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
--- | ||
author: adegeo | ||
ms.author: adegeo | ||
ms.date: 11/15/2022 | ||
ms.topic: include | ||
--- | ||
|
||
### Install the SDK | ||
|
||
The .NET SDK allows you to develop apps with .NET. If you install the .NET SDK, you don't need to install the corresponding runtime. To install the .NET SDK, run the following command: | ||
|
||
```bash | ||
sudo yum install dotnet-sdk-7.0 | ||
``` | ||
|
||
### Install the runtime | ||
|
||
The ASP.NET Core Runtime allows you to run apps that were made with .NET that didn't provide the runtime. The following command installs the ASP.NET Core Runtime, which is the most compatible runtime for .NET. In your terminal, run the following command: | ||
|
||
```bash | ||
sudo yum install aspnetcore-runtime-7.0 | ||
``` | ||
|
||
As an alternative to the ASP.NET Core Runtime, you can install the .NET Runtime, which doesn't include ASP.NET Core support: replace `aspnetcore-runtime-7.0` in the previous command with `dotnet-runtime-7.0`: | ||
|
||
```bash | ||
sudo yum install dotnet-runtime-7.0 | ||
``` |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
--- | ||
author: adegeo | ||
ms.author: adegeo | ||
ms.date: 11/15/2022 | ||
ms.topic: include | ||
--- | ||
|
||
### Install the SDK | ||
|
||
The .NET SDK allows you to develop apps with .NET. If you install the .NET SDK, you don't need to install the corresponding runtime. To install the .NET SDK, run the following command: | ||
|
||
```bash | ||
sudo zypper install dotnet-sdk-7.0 | ||
``` | ||
|
||
### Install the runtime | ||
|
||
The ASP.NET Core Runtime allows you to run apps that were made with .NET that didn't provide the runtime. The following command installs the ASP.NET Core Runtime, which is the most compatible runtime for .NET. In your terminal, run the following command: | ||
|
||
```bash | ||
sudo zypper install aspnetcore-runtime-7.0 | ||
``` | ||
|
||
As an alternative to the ASP.NET Core Runtime, you can install the .NET Runtime, which doesn't include ASP.NET Core support: replace `aspnetcore-runtime-7.0` in the previous command with `dotnet-runtime-7.0`: | ||
|
||
```bash | ||
sudo zypper install dotnet-runtime-7.0 | ||
``` |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.