Knowledge Base

Preserving for the future: Shell scripts, AoC, and more

Installing Luanti flatpak

I set up a user with Luanti on Windows. They had a great link on the front page. The download asset has the luanti.exe inside the bin/ subdirectory.

The bad news: This is the latest and greatest version, 5.11.0 as of the time of this writing. But the Devuan (Debian) package of luanti is still on 5.10.0. So I had to ponder the best way to get this client connected to my instance.

I decided to research the flatpak, and Devuan has supported flatpak for years now (since Debian level 10, however long ago that was). The install instructions were very easy.

sudo apt-get install -y flatpak

Then add the flathub repository.

flatpak remote-add --if-not-exists flathub https://dl.flathub.org/repo/flathub.flatpakrepo

I didn't even have to restart, like the instructions said. I wonder what I'm messing up then by skipping that. Oh, well. Then I was off to install:

flatpak install flathub net.minetest.Minetest

Apparently to run takes a special invocation:

flatpak run net.minetest.Minetest

One one system where I did reboot, the xdg menu generator for fluxbox did parse the /var/lib/flatpak/exports/share/applications/net.minetest.Minetest.desktop which is nice! It looks like it has updated this env var:

XDG_DATA_DIRS=/home/public/.local/share/flatpak/exports/share:/var/lib/flatpak/exports/share:/usr/local/share:/usr/share

I've used one AppImage (for DarkTable which was OK. And this one flatpak I've just tried is OK. I wouldn't want to use this sort of tech for everything, but for a frivolous game that isn't a business-related workflow, I can live with it.

Comments