I’m using dotnet 8.x with Fedora 40, packages on fedora (40) “updates” repo do not istall SDK correctly … (check with “dotnet --list-sdks” )
I i use package from “Index of /fedora/40/prod/”, it works correctly …
It seems to work for me:
> sudo dnf list dotnet\* --installed
Installed Packages
dotnet-apphost-pack-8.0.x86_64 8.0.8-1.fc40 @updates
dotnet-host.x86_64 8.0.8-1.fc40 @updates
dotnet-hostfxr-8.0.x86_64 8.0.8-1.fc40 @updates
dotnet-runtime-8.0.x86_64 8.0.8-1.fc40 @updates
dotnet-sdk-8.0.x86_64 8.0.108-1.fc40 @updates
dotnet-targeting-pack-8.0.x86_64 8.0.8-1.fc40 @updates
dotnet-templates-8.0.x86_64 8.0.108-1.fc40 @updates
> dotnet --list-sdks
8.0.108 [/usr/lib64/dotnet/sdk]
If you want to install the latest version, set up the upstream repo like this:
sudo dnf install https://packages.microsoft.com/fedora/40/\
prod/Packages/p/packages-microsoft-prod-1.1-1.noarch.rpm
sudo dnf config-manager --save --setopt \*prod.priority=0
sudo dnf distro-sync --refresh
on 41 no issues. (so far)
with dotnet 9 if have issues, "dotnet-runtime-deps-9.0 is missing…