Two luantis?!?

Post Reply
AndPherb
New member
Posts: 8
Joined: Wed Jan 14, 2026 04:49

Two luantis?!?

by AndPherb » Post

I was downloading the flatpack version of luanti, did a thing with cmake to make it work (I should really stop using chatGPT for help with file downloads), and all of a sudden I can use luanti, but I have one in my personal directory, and another that I can open by running the first one with 'Luanti', but I can't find that one's files anywhere, and I can't open the user directory from in the game! Which one should I use, and how do I make them show up on my desk?
I use debian bookworm on rpi5

User avatar
Blockhead
Moderator
Posts: 2987
Joined: Wed Jul 17, 2019 10:14
GitHub: Montandalar
IRC: Blockhead256
In-game: Blockhead Blockhead256
Location: Land Down Under
Contact:

Re: Two luantis?!?

by Blockhead » Post

AndPherb wrote:
Thu Jan 15, 2026 15:20
I was downloading the flatpack version of luanti, did a thing with cmake to make it work (I should really stop using chatGPT for help with file downloads),
Yes, you should instead use a search engine for a lot of tasks. Here is the search I put into DuckDuckGo to help me write this answer:

site:forum.luanti.org flatpak where files

Now, I am going to add a lot of details about how things are done in general below, but, feel free to ask for more help if something goes amiss or you didn't quite understand it.
AndPherb wrote:
Thu Jan 15, 2026 15:20
and all of a sudden I can use luanti, but I have one in my personal directory, and another that I can open by running the first one with 'Luanti',
ChatGPT told you some commands to run, which you blindly followed. Whenever something tells you commands to run, learn what on earth it's actually going to do so (1) you don't get pwned (2) you learn and memorise something, becoming less dependent on outside help. On Linux, you do this with the manual pages - any command you're able to run should have a manual page, available with the program man, like man cmake.

It didn't set up a Flatpak, or you would still only have one version. Instead it sounds like it got you to download the source code and build it, probably from these instructions and maybe also reading doc/compiling/linux.md off of GitHub or in some data dump that was fed into it.

To install via Flatpak, you would have to run:

Code: Select all

$ sudo flatpak install org.luanti.luanti
If you haven't already set up a source like FlatHub for your Flatpaks, you should first do that.
AndPherb wrote:
Thu Jan 15, 2026 15:20
but I can't find that one's files anywhere, and I can't open the user directory from in the game! Which one should I use,
The file path today comes courtesy of Tuxilio:
Tuxilio wrote:
Mon Dec 26, 2022 09:45
Hi,

i've installed Minetest via Flatpak too. The folder is:

Code: Select all

/var/lib/flatpak/app/net.minetest.Minetest/
for the engine and

Code: Select all

/home/USER/.var/app/net.minetest.Minetest/.minetest/
for the mods.

Merry Christmas and a happy new year!

I hope this helps
Tuxilio
Now, that answer is out of date after the renaming. That would instead org.luanti.luanti instead of net.minetest.Minetest. How do I know that? Well, by a search:

Code: Select all

$ flatpak search luanti
Name          Description                                  Application ID           Version        Branch        Remotes
Luanti        Block-based multiplayer game platform        org.luanti.luanti        5.14.0         stable        flathub

$ sudo flatpak install org.luanti.luanti
Looking for matches…

org.luanti.luanti permissions:
    ipc    network   pulseaudio   x11   devices



        ID                                Branch          Op          Remote           Download
 1.     org.luanti.luanti.Locale          stable          i           flathub           < 1.9 MB (partial)
 2.     org.luanti.luanti                 stable          i           flathub          < 15.4 MB

Now, make sure you only have one. If you want to easily update Luanti along with your other packages, probably inside GNOME Software or what-have-you, the Flatpak will suit you. If you don't mind taking the time to build new versions, compiling from source should run slightly faster. So now either sudo apt remove luanti or sudo flatpak uninstall org.luanti.luanti should do the job. If the apt command fails, you probably have a Luanti compiled to "run in place", and so you can delete the .desktop file and the place it points and it will all be gone - you can figure out where it points in some kind of right-click properties menu, or just opening it with a text editor, .desktop is a text format.

AndPherb wrote:
Thu Jan 15, 2026 15:20
and how do I make them show up on my desk?
I use debian bookworm on rpi5
How exactly to put the file in your desktop will vary depending on your Desktop Environment. But pretty much always, you should have a file manager and a Desktop directory visible inside your home directory, and files that get copied there should show up. (I am not great at this part, because I don't actually use a normal desktop, but sway window manager and either bemenu or a launcher for .desktop files, j4-dmenu-desktop - rest assured that sentence looks like gobbledegook unless you're a user of window managers rather than the normal desktop environments)

Hope that helped, if not, ask away :)
/˳˳_˳˳]_[˳˳_˳˳]_[˳˳_˳˳\ Advtrains enthusiast | My map: Noah's Railyard | My Content on ContentDB ✝️♂

AndPherb
New member
Posts: 8
Joined: Wed Jan 14, 2026 04:49

Re: Two luantis?!?

by AndPherb » Post

Thank you! Turns out one was installed through something else, and the other was the flatpak version. Now I need to figure out how to remove the non-flatpak one.

User avatar
Blockhead
Moderator
Posts: 2987
Joined: Wed Jul 17, 2019 10:14
GitHub: Montandalar
IRC: Blockhead256
In-game: Blockhead Blockhead256
Location: Land Down Under
Contact:

Re: Two luantis?!?

by Blockhead » Post

AndPherb wrote:
Fri Jan 16, 2026 03:53
Thank you! Turns out one was installed through something else, and the other was the flatpak version. Now I need to figure out how to remove the non-flatpak one.
Again, .desktop files are a text format. Your own ones you can find in the Desktop directory with a file browser, I assume one comes with Raspberry Pi OS, like PCManFM where it would be "Home Folder > Desktop". The system's ones live in /usr/share/applications, where it might also be found, or /var/lib/flatpak/exports/share/applications/. The list used seems to be XDG_DATA_DIRS from the XDG specs. Looking through these directories should find the Luanti desktop files, and a text editor will tell you the method it uses in the Exec line.
/˳˳_˳˳]_[˳˳_˳˳]_[˳˳_˳˳\ Advtrains enthusiast | My map: Noah's Railyard | My Content on ContentDB ✝️♂

Astrobe
Member
Posts: 714
Joined: Sun Apr 01, 2018 10:46

Re: Two luantis?!?

by Astrobe » Post

Blockhead wrote:
Thu Jan 15, 2026 16:54
Yes, you should instead use a search engine for a lot of tasks. Here is the search I put into DuckDuckGo to help me write this answer:

site:forum.luanti.org flatpak where files
An even better piece of advice is to look for the official site (if you don't know that either, Wikipedia can be helpful and is reasonably trustworthy), then download from it. In this case, this would have led you to https://www.luanti.org/en/downloads/
My game? It's Minefall.

User avatar
pias25ASA
Member
Posts: 47
Joined: Mon Jul 01, 2024 17:18
GitHub: l3modz
IRC: NOTNA
In-game: piasza
Location: https://piasdraco.iceiy.com/l3modzinbox/
Contact:

Re: Two luantis?!?

by pias25ASA » Post

yeaaa, I have 2[two] Luanti/Minetest too. one[1]: Minetest 5.10.0, two[2]: Luanti 5.14.0.

I was install it from App Center Linux Ubuntu.

Image
https://imgur.com/a/1JRxiws

great, if all always update.

Best Regard :
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
reading Book Linux Administrator.
| Finished IT Computer; 2008. | https://twitch.tv/pias25_draco27072012/ |
^_^ ^_^ ^_^
[at]Intel i5 +16GBRAM +HDD:2TeraByte +:DualBootFedora43:Ubuntu24.04LTS +Monitor27inch" +waitingStandMonitor24inchi +KeyboardPcLamp +MouseRobotHead +waitingSSDbootable512GB +[url=https://www.twitch.tv/pias25_draco27072 ... &sort=time]piasza[/url].

User avatar
Blockhead
Moderator
Posts: 2987
Joined: Wed Jul 17, 2019 10:14
GitHub: Montandalar
IRC: Blockhead256
In-game: Blockhead Blockhead256
Location: Land Down Under
Contact:

Re: Two luantis?!?

by Blockhead » Post

Ubuntu is a stable release distribution, so its version of Luanti from apt will be frozen at the time of release. The version it gets frozen at depends on the distribution maintainers. [url=https://packages.ubuntu.com/questing/luanti]Ubuntu Package search[/rule] shows me 25.10 still has 5.10 include. They could have had 5.13, but probably just copied the package from Debian.

Now that I have explained this, I hope you see why a lot of people prefer Flatpak (or Snap or AppImage) or compiled from source, or rolling release Linux distributions.
/˳˳_˳˳]_[˳˳_˳˳]_[˳˳_˳˳\ Advtrains enthusiast | My map: Noah's Railyard | My Content on ContentDB ✝️♂

Post Reply

Who is online

Users browsing this forum: No registered users and 3 guests