Distro / Kernel release : Debain 12 (bookworm)
Mono / .NET package version : .NET 7.0.20 Runtime
Works for client, mp server or both : Client
Installation method used : run.sh
Hacks:
On Debian you have to install .NET 7.0 manually or via Microsofts install script. After downloading the script make it executable and run it via
./dotnet-install.sh --channel 7.0 --runtime dotnet
After installation I got an error while executing Vintage Story via run.sh
You must install .NET to run this application.
App: /home/patte/Games/vintagestory/Vintagestory
Architecture: x64
App host version: 7.0.20
.NET location: Not found
Learn about runtime installation:
https://aka.ms/dotnet/app-launch-failed
Download the .NET runtime:
https://aka.ms/dotnet-core-applaunch?missing_runtime=true&arch=x64&rid=debian.12-x64&apphost_version=7.0.20
To solve this you have to know how to set environment variables. I moved my .dotnet folder from $HOME to $HOME/.local/bin via
mv ~/.dotnet ~/.local/bin/.dotnet
and afterwards I set an environment variable
export DOTNET_ROOT=$HOME/.local/bin/.dotnet
Important: Make sure to use the right command for the shell you are using and set the environment variable permanently.
Note: I believe if you don't move the .dotnet folder like I did in my example you have to also set another environment variable under $PATH.
Hope that helps. I'm a noob and had to figure it out by myself for 2 hours.
---
PS: I'm still trying to solve a problem with the Vintage Story install.sh script as I get the following error executing it:
Fatal! I require sysctl but it's not installed. Aborting.
sysctl is only usable as a super user (with sudo) so I believe install.sh is trying to run sysctl as a "normal" user which isn't possible.