You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/core/install/linux-scripted-manual.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -3,7 +3,7 @@ title: Install .NET on Linux without using a package manager
3
3
description: Demonstrates how to install the .NET SDK and the .NET Runtime on Linux without a package manager. Use the install script or manually extract the binaries.
4
4
author: adegeo
5
5
ms.author: adegeo
6
-
ms.date: 11/11/2024
6
+
ms.date: 12/20/2024
7
7
ms.custom: linux-related-content
8
8
---
9
9
@@ -73,15 +73,15 @@ You can usually install a recent version of *libgdiplus* by [adding the Mono rep
73
73
74
74
## Scripted install
75
75
76
-
The [dotnet-install scripts](../tools/dotnet-install-script.md) are used for automation and non-admin installs of the **SDK** and **Runtime**. You can download the script from <https://dot.net/v1/dotnet-install.sh>. When .NET is installed in this way, you must install the dependencies required by your Linux distribution. Use the links in the [Install .NET on Linux](linux.md) article for your specific Linux distribution.
76
+
The [dotnet-install scripts](../tools/dotnet-install-script.md) are used for automation and non-admin installs of the **SDK** and **Runtime**. You can download the script from <https://dot.net/v2/dotnet-install.sh>. When .NET is installed in this way, you must install the dependencies required by your Linux distribution. Use the links in the [Install .NET on Linux](linux.md) article for your specific Linux distribution.
Copy file name to clipboardExpand all lines: docs/core/install/macos.md
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,7 +4,7 @@ description: Learn about which versions of .NET SDK and .NET Runtime are support
4
4
author: adegeo
5
5
ms.author: adegeo
6
6
ms.topic: install-set-up-deploy
7
-
ms.date: 11/11/2024
7
+
ms.date: 12/20/2024
8
8
ms.custom: linux-related-content
9
9
10
10
#customer intent: As a user or developer, I want to know which versions of .NET are supported on macOS. I also need to know how to install .NET on macOS.
@@ -168,7 +168,7 @@ chdir ~/Applications/.dotnet/
168
168
169
169
## Install .NET with a script
170
170
171
-
The [dotnet-install scripts](../tools/dotnet-install-script.md) are used for automation and unelevated installs of the runtime. You can download the script from <https://dot.net/v1/dotnet-install.sh>.
171
+
The [dotnet-install scripts](../tools/dotnet-install-script.md) are used for automation and unelevated installs of the runtime. You can download the script from <https://dot.net/v2/dotnet-install.sh>.
172
172
173
173
The script defaults to installing the latest [long term support (LTS)](https://dotnet.microsoft.com/platform/support/policy/dotnet-core) version, which is .NET 8. You can choose a specific release by specifying the `channel` switch. Include the `runtime` switch to install a runtime. Otherwise, the script installs the SDK.
174
174
@@ -186,7 +186,7 @@ The script defaults to installing the latest [long term support (LTS)](https://d
186
186
01. Run the following command to download the script:
187
187
188
188
```bash
189
-
wget https://dot.net/v1/dotnet-install.sh
189
+
wget https://dot.net/v2/dotnet-install.sh
190
190
```
191
191
192
192
01. Give the script execute permissions
@@ -208,7 +208,7 @@ Here are all the commands as a single bash script:
Installing .NET through the `dotnet-install` PowerShell script is recommended for continuous integration and nonadmin installs. If you're installing .NET for normal use on your system, use either the [.NET Installer](#net-installer) or [Windows Package Manager](#install-with-windows-package-manager-winget) installation methods.
332
332
333
-
The script defaults to installing the latest [long term support (LTS)](https://dotnet.microsoft.com/platform/support/policy/dotnet-core) version, which is .NET 8. You can choose a specific release by specifying the `-Channel` switch. Include the `-Runtime` switch to install a runtime. Otherwise, the script installs the SDK. The script is available at <https://dot.net/v1/dotnet-install.ps1> and the source code is hosted on [GitHub](https://github.com/dotnet/install-scripts).
333
+
The script defaults to installing the latest [long term support (LTS)](https://dotnet.microsoft.com/platform/support/policy/dotnet-core) version, which is .NET 8. You can choose a specific release by specifying the `-Channel` switch. Include the `-Runtime` switch to install a runtime. Otherwise, the script installs the SDK. The script is available at <https://dot.net/v2/dotnet-install.ps1> and the source code is hosted on [GitHub](https://github.com/dotnet/install-scripts).
334
334
335
335
> [!div class="button"]
336
-
> [Download the script](https://dot.net/v1/dotnet-install.ps1)
336
+
> [Download the script](https://dot.net/v2/dotnet-install.ps1)
337
337
338
338
For more information about the script, see [dotnet-install script reference](../tools/dotnet-install-script.md).
339
339
340
340
### Install the runtime
341
341
342
342
The .NET Runtime is installed by providing the `-Runtime` switch.
343
343
344
-
01. Download the install script from <https://dot.net/v1/dotnet-install.ps1>
344
+
01. Download the install script from <https://dot.net/v2/dotnet-install.ps1>
345
345
01. Open PowerShell and navigate to the folder containing the script.
346
346
01. Run the following commands to install both the Desktop runtime and ASP.NET Core runtime for maximum compatibility:
347
347
@@ -356,7 +356,7 @@ To learn how to use the .NET CLI, see [.NET CLI overview](../tools/index.md).
356
356
357
357
If you install the SDK, you don't need to install the runtimes.
358
358
359
-
01. Download the install script from <https://dot.net/v1/dotnet-install.ps1>
359
+
01. Download the install script from <https://dot.net/v2/dotnet-install.ps1>
360
360
01. Open PowerShell and navigate to the folder containing the script.
361
361
01. Run the following command to install the .NET SDK.
@@ -322,8 +322,8 @@ Signature validation is an important security measure that helps ensure the auth
322
322
Here is a step-by-step guide on how to verify the authenticity of the `dotnet-install.sh` script using GPG:
323
323
324
324
1. **Install GPG**: GPG (GNU Privacy Guard) is a free and open-source tool for encrypting and signing data. You can install it by following the [instructions on the GPG website](https://gnupg.org/download/).
325
-
2. **Import our public key**: Download the install-scripts [public key](https://dot.net/v1/dotnet-install.asc) file, and then import it into your GPG keyring by running the command`gpg --import dotnet-install.asc`.
326
-
3. **Download the signature file**: The signature file for our bash script is available at `https://dot.net/v1/dotnet-install.sig`. You can download it using a tool like `wget` or `curl`.
325
+
2. **Import our public key**: Download the install-scripts [public key](https://dot.net/v2/dotnet-install.asc) file, and then import it into your GPG keyring by running the command`gpg --import dotnet-install.asc`.
326
+
3. **Download the signature file**: The signature file for our bash script is available at `https://dot.net/v2/dotnet-install.sig`. You can download it using a tool like `wget` or `curl`.
327
327
4. **Verify the signature**: To verify the signature of our bash script, run the command`gpg --verify dotnet-install.sig dotnet-install.sh`. This will check the signature of the `dotnet-install.sh` file against the signature in the `dotnet-install.sig` file.
328
328
5. **Check the result**: If the signature is valid, you will see a message containing `Good signature from "Microsoft DevUXTeamPrague <[email protected]>"`. This means that the script has not been tampered with and can be trusted.
329
329
@@ -333,7 +333,7 @@ Installing GPG and importing our public key is a one time operation.
333
333
334
334
```bash
335
335
sudo apt install gpg
336
-
wget https://dot.net/v1/dotnet-install.asc
336
+
wget https://dot.net/v2/dotnet-install.asc
337
337
gpg --import dotnet-install.asc
338
338
```
339
339
@@ -353,8 +353,8 @@ gpg: imported: 1
353
353
With the key imported, you can now download the script and the signature, then verify the script matches the signature:
0 commit comments