How to install .NET 7 on Bazzite?
I would love to play the latest version of Vintage Story on Bazzite but the flatpak is not quite up to date. You can install the game manually without flatpak, but in order to run it, the game needs .NET 7 runtime installed. I've tried googling the issue and even installing it in several different ways but I just can't do it.
Trying with the package manager, the basic "dnf install dotnet-sdk-7.0" only yields the message "package not found". It seems that .NET 7.0 is not supported by Fedora 40/41 anymore, so I would need to intall it manually, but I don't know Linux enough to install it manually.
Anyone any wiser?
25 Replies
flatpaks are separate from the host, if the flatpak needs dotnet, it has to be installed as a flatpak runtime or the flatpak has to provide it itself
flatpak search dotnet
will yield you all the flatpak runtimes with dotnet, you want to use the Application ID
as the package to install through flatpak install
Sorry, I wasn't clear in the original text. The game has a flatpak version and it works just fine, but it's not up to date with the latest version of the game. You can install the latest version manually, but it also requires dotnet 7. But Bazzite doesn't come with it installed and it seems that it's not officially supported by Fedora 40/41 anymore. Only dotnet versions 8 and 9 are officially supported. So, I would need to install the version 7 manually, and for this I need assistance.
in that case install it in a distrobox as per our documentation
the distrobox can be whatever distro you prefer so if you know (or they officially support) ubuntu and its packages you make an ubuntu container and install it there.
I see. Well, I'll try to see how to use the distrobox. I haven't touched it before. Thanks!
np! there is a gui for it named boxbussy
So I tried the Boxbuddy, and seemingly was able to install dotnet 7.0. But it still doesnt' appear to be installed?
The above window is the distrobox running Fedora 39 and below is the regular console showing which dotnet installations it's seeing.
Do I have to do some extra steps for it to actually be applied into my system?
you need to run the app inside distrobox too
Uhh I see. So the installed dotnet 7 really is contained within the Fedora 39 container that I created with Boxbuddy?
yes
Can I "uncontain" it somehow?
why?
you can start app inside distrobox as if it installed in the host but pretty much thats it
deps need to be contained
It just seems like a hassle to run the game within the container too every time I want to play it. :D
But I'll try. Thank you!
just create a shortcut for the game
Distrobox
Use any linux distribution inside your terminal.
boxbuddy have option to do it in gui too i think
option for the shortcut? I can't see it in Boxbuddy.
its inside view application
but it only work for installed app
The hardest thing about learning how to use a new OS is that I don't even know what to google a lot of times! :D
None of my searches seem to bear fruit. All I get are guides on how to install and run apps within the container, but nothing on how to run a native program from the container.
what did the apps gave you to run? installer? tar file?
There's a run.sh file and an executable.
Well, I managed to run the run.sh within the container, but it crashed. Now I'm not sure whether the issue is with the container or with the game.
It gives me this error message on crash:
Game Version: v1.20.0-rc.5
12/17/2024 3:24:03PM: Critical error occurred
Loaded Mods:
OpenTK.Windowing.GraphicsLibraryFramework.GLFWException: GLX: Failed to load GLX
at OpenTK.Windowing.Desktop.GLFWProvider.DefaultErrorCallback(ErrorCode errorCode, String description)
Even though it says "loaded mods", there's actually no mods installed, just vanilla.
So does this mean that the container doesn't have GLX installed, or my native system doesn't have it?
Anyway, thanks for the help! I'll continue this battle on another day. :D
Container
You need to install the deps
This is exactly the reason why I want .NET 7 on the main distro side, so that I only need to install that instead of installing a bunch of stuff in the container. :p
I'll probably try installing manually again. I'll report how it goes. :D
well the upside is you can have game require net 8, 7, 6, whatever and have them all without conflicting with each other
this 1 thing alone