This documentation provides step-by-step instructions on installing the .NET Core Hosting Bundle from the command line and specifically focuses on waiting for the silent installation of ASP.NET Core 6.0 Runtime.
Before proceeding, ensure that you have the following prerequisites:
Visit the official .NET download page (https://dotnet.microsoft.com/download) and locate the .NET Core Hosting Bundle for your operating system.
For Windows, you can download the installer executable
(dotnet-hosting-6.x.x-win.exe).
Open your preferred command-line interface with administrative privileges.
# Right-click and run as administrator for PowerShell # OR # Run as administrator for Command Prompt
Open a terminal.
Navigate to the directory where you downloaded the .NET Core Hosting Bundle installer.
cd path/to/downloaded/directory
Execute the installer with the appropriate command for your operating system.
# Silent installation with wait Start-Process -Wait -FilePath "dotnet-hosting-6.x.x-win.exe" -ArgumentList "/quiet /norestart"
# Silent installation with wait sudo ./dotnet-hosting-6.x.x-linux-x64.tar.gz
After installation, verify that ASP.NET Core 6.0 Runtime is correctly installed.
# Check ASP.NET Core version dotnet --list-runtimes