Note
When acquiring installers from the .NET SDK latest builds table, be aware that the installers are the latest bits. With development builds, internal NuGet feeds are necessary for some scenarios (for example, to acquire the runtime pack for self-contained apps). You can use the following NuGet.config to configure these feeds. See the following document Configuring NuGet behavior for more information on where to modify your NuGet.config to apply the changes.
<configuration>
<packageSources>
<add key="dotnet11" value="https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet11/nuget/v3/index.json" />
</packageSources>
</configuration><configuration>
<packageSources>
<add key="dotnet10" value="https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet10/nuget/v3/index.json" />
</packageSources>
</configuration>Download the latest SDK installer or binaries from the builds table above.
Windows SDK and Runtime installers are complete packages and do not require separate dependency installation.
Download the appropriate SDK package for your distribution:
- Debian/Ubuntu:
dotnet-sdk-<version>-x64.deb - Red Hat/Fedora/CentOS:
dotnet-sdk-<version>-x64.rpm
The following runtime packages are required dependencies and must be installed before installing the SDK:
For Debian/Ubuntu (.deb):
dotnet-host-<version>-x64.debdotnet-targeting-pack-<version>-x64.debdotnet-hostfxr-<version>-x64.debdotnet-apphost-pack-<version>-x64.debdotnet-runtime-deps-<version>-x64.debdotnet-runtime-<version>-x64.deb
For Red Hat/Fedora/CentOS (.rpm):
dotnet-host-<version>-x64.rpmdotnet-targeting-pack-<version>-x64.rpmdotnet-hostfxr-<version>-x64.rpmdotnet-apphost-pack-<version>-x64.rpmdotnet-runtime-deps-<version>-x64.rpmdotnet-runtime-<version>-x64.rpm
The following ASP.NET Core packages are required for ASP.NET Core development:
For Debian/Ubuntu (.deb):
aspnetcore-targeting-pack-<version>-x64.debaspnetcore-runtime-<version>-x64.deb
For Red Hat/Fedora/CentOS (.rpm):
aspnetcore-targeting-pack-<version>-x64.rpmaspnetcore-runtime-<version>-x64.rpm
These packages can be downloaded from:
Runtime packages:
https://ci.dot.net/public/Runtime/<version>/dotnet-host-<version>-x64.<ext>
https://ci.dot.net/public/Runtime/<version>/dotnet-targeting-pack-<version>-x64.<ext>
https://ci.dot.net/public/Runtime/<version>/dotnet-hostfxr-<version>-x64.<ext>
https://ci.dot.net/public/Runtime/<version>/dotnet-apphost-pack-<version>-x64.<ext>
https://ci.dot.net/public/Runtime/<version>/dotnet-runtime-deps-<version>-x64.<ext>
https://ci.dot.net/public/Runtime/<version>/dotnet-runtime-<version>-x64.<ext>
ASP.NET Core packages:
https://ci.dot.net/public/aspnetcore/Runtime/<version>/aspnetcore-targeting-pack-<version>-x64.<ext>
https://ci.dot.net/public/aspnetcore/Runtime/<version>/aspnetcore-runtime-<version>-x64.<ext>
Where:
<version>is the same for both SDK and runtime (can be obtained from the version badge links or productCommit files in the table above)<ext>is eitherdebfor Debian/Ubuntu orrpmfor Red Hat/Fedora/CentOS
Install the packages in the following order:
-
Runtime dependencies (in order):
dotnet-host-<version>-x64.<ext>dotnet-targeting-pack-<version>-x64.<ext>dotnet-hostfxr-<version>-x64.<ext>dotnet-apphost-pack-<version>-x64.<ext>dotnet-runtime-deps-<version>-x64.<ext>dotnet-runtime-<version>-x64.<ext>
-
ASP.NET Core dependencies (if needed):
aspnetcore-targeting-pack-<version>-x64.<ext>aspnetcore-runtime-<version>-x64.<ext>
-
Finally, install the SDK:
dotnet-sdk-<version>-x64.<ext>
Example installation commands:
For Debian/Ubuntu:
sudo dpkg -i dotnet-host-<version>-x64.deb
sudo dpkg -i dotnet-targeting-pack-<version>-x64.deb
sudo dpkg -i dotnet-hostfxr-<version>-x64.deb
sudo dpkg -i dotnet-apphost-pack-<version>-x64.deb
sudo dpkg -i dotnet-runtime-deps-<version>-x64.deb
sudo dpkg -i dotnet-runtime-<version>-x64.deb
sudo dpkg -i aspnetcore-targeting-pack-<version>-x64.deb
sudo dpkg -i aspnetcore-runtime-<version>-x64.deb
sudo dpkg -i dotnet-sdk-<version>-x64.debFor Red Hat/Fedora/CentOS:
sudo rpm -i dotnet-host-<version>-x64.rpm
sudo rpm -i dotnet-targeting-pack-<version>-x64.rpm
sudo rpm -i dotnet-hostfxr-<version>-x64.rpm
sudo rpm -i dotnet-apphost-pack-<version>-x64.rpm
sudo rpm -i dotnet-runtime-deps-<version>-x64.rpm
sudo rpm -i dotnet-runtime-<version>-x64.rpm
sudo rpm -i aspnetcore-targeting-pack-<version>-x64.rpm
sudo rpm -i aspnetcore-runtime-<version>-x64.rpm
sudo rpm -i dotnet-sdk-<version>-x64.rpmDownload the latest SDK installer or binaries from the builds table above.
macOS SDK and Runtime installers are complete packages and do not require separate dependency installation.
For the 1xx band, the runtime and SDK are built together in the same build. They will differ on patch version (e.g. SDK version 10.0.100 == runtime patch version 10.0.0). The build suffix (e.g. -rc2.1234.105) will always match.
For the 2xx and later bands, the 1xx runtime flows to 2xx+. The version of the runtime that will be used in the 2xx SDK can be found in sdk's eng/Version.Details.xml file. Look for the version of the Microsoft.NETCore.App.Ref dependency.