Skip to content

Commit

Permalink
add snap package update announcement to release notes (#9269)
Browse files Browse the repository at this point in the history
* add snap package update announcement to release notes

* url fix-up
  • Loading branch information
leecow authored Apr 11, 2024
1 parent 241353b commit 4fae666
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 6 deletions.
6 changes: 4 additions & 2 deletions release-notes/6.0/install-linux.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,17 +44,19 @@ Here's what the script does.

## Install using Snap

**Note:** There are changes coming to .NET Snap packages in the next few months. Please see [this announcement](https://github.com/dotnet/announcements/issues/304) for details.

You can use Snap is to install and try .NET Previews on [Linux distributions that support Snap](https://docs.snapcraft.io/installing-snapd/6735).

After configuring Snap on your system, run the following command to install the latest .NET SDK.

`sudo snap install dotnet-sdk --channel=6.0/beta --classic`
`sudo snap install dotnet-sdk --channel=6.0 --classic`

When .NET is installed using the Snap package, the default .NET command is `dotnet-sdk.dotnet`, as opposed to just `dotnet`. The benefit of the namespaced command is that it will not conflict with a globally installed .NET version you may have. This command can be aliased to `dotnet` with:

`sudo snap alias dotnet-sdk.dotnet dotnet`

**Note:** Some distributions require an additional step to enable access to the SSL certificate. If you experience SSL errors when running `dotnet restore`, see [Linux Setup](https://github.com/dotnet/core/blob/main/Documentation/linux-setup.md) for a possible resolution.
**Note:** Some distributions require an additional step to enable access to the SSL certificate. If you experience SSL errors when running `dotnet restore`, see [.NET for Linux Distributions](https://github.com/dotnet/core/blob/main/linux.md) for a possible resolution.

## Installing from a binary archive

Expand Down
6 changes: 4 additions & 2 deletions release-notes/7.0/install-linux.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,17 +44,19 @@ Here's what the script does.

## Install using Snap

**Note:** There are changes coming to .NET Snap packages in the next few months. Please see [this announcement](https://github.com/dotnet/announcements/issues/304) for details.

You can use Snap is to install and try .NET Previews on [Linux distributions that support Snap](https://docs.snapcraft.io/installing-snapd/6735).

After configuring Snap on your system, run the following command to install the latest .NET SDK.

`sudo snap install dotnet-sdk --channel=7.0/beta --classic`
`sudo snap install dotnet-sdk --channel=7.0 --classic`

When .NET is installed using the Snap package, the default .NET command is `dotnet-sdk.dotnet`, as opposed to just `dotnet`. The benefit of the namespaced command is that it will not conflict with a globally installed .NET version you may have. This command can be aliased to `dotnet` with:

`sudo snap alias dotnet-sdk.dotnet dotnet`

**Note:** Some distributions require an additional step to enable access to the SSL certificate. If you experience SSL errors when running `dotnet restore`, see [Linux Setup](https://github.com/dotnet/core/blob/main/Documentation/linux-setup.md) for a possible resolution.
**Note:** Some distributions require an additional step to enable access to the SSL certificate. If you experience SSL errors when running `dotnet restore`, see [.NET for Linux Distributions](https://github.com/dotnet/core/blob/main/linux.md) for a possible resolution.

## Installing from a binary archive

Expand Down
6 changes: 4 additions & 2 deletions release-notes/8.0/install-linux.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,17 +44,19 @@ Here's what the script does.

## Install using Snap

**Note:** There are changes coming to .NET Snap packages in the next few months. Please see [this announcement](https://github.com/dotnet/announcements/issues/304) for details.

You can use Snap is to install and try .NET Previews on [Linux distributions that support Snap](https://snapcraft.io/docs/installing-snapd).

After configuring Snap on your system, run the following command to install the latest .NET SDK.

`sudo snap install dotnet-sdk --channel=8.0/beta --classic`
`sudo snap install dotnet-sdk --channel=8.0 --classic`

When .NET is installed using the Snap package, the default .NET command is `dotnet-sdk.dotnet`, as opposed to just `dotnet`. The benefit of the namespaced command is that it will not conflict with a globally installed .NET version you may have. This command can be aliased to `dotnet` with:

`sudo snap alias dotnet-sdk.dotnet dotnet`

**Note:** Some distributions require an additional step to enable access to the SSL certificate. If you experience SSL errors when running `dotnet restore`, see [Linux Setup](https://github.com/dotnet/core/blob/main/Documentation/linux-setup.md) for a possible resolution.
**Note:** Some distributions require an additional step to enable access to the SSL certificate. If you experience SSL errors when running `dotnet restore`, see [.NET for Linux Distributions](https://github.com/dotnet/core/blob/main/linux.md) for a possible resolution.

## Installing from a binary archive

Expand Down

0 comments on commit 4fae666

Please sign in to comment.