Using ARCH/AUR and FLATPAK on EndeavourOS, compatibility and questions

Hi friends.

All the programs I need are in the ARCH/AUR repositories, but I need to install the FLATPAK version of Wine, Lutris or Bottles to run a Windows program that may be dangerous, and I feel safer using the FLATPAK version since I have been said that it works like a sandbox and is safer when running Windows software.

I just installed FLATPAK and I want to download Wine, for example, but I have Wine from the Arch repositories. If I download Wine from FLATPAK, will it produce some type of incompatibility with Arch’s Wine, or can I have the same program from different repositories?

Also, can I use yay to install FLATPAK packages, or do I have to learn the FLATPAK installation commands?

Once FLATPAK is installed, if I want to remove it from EndeavourOS KDE, will I be able to remove it like a normal package? (I guess by first removing all the FLATPAK packages that I installed).

I’m sorry if this question is a bit dumb.

Thanks in advance.

Make sure you really investigate how flatpaks sandboxing works. Flatpak sandboxing is very limited, the defaults are defined by the flatpak and many of the malicious things a Windows program could do(successfully) may not be protected by flatpak sandboxing.

Repo packages and flatpaks can coexist. You could end up with things like multiple launchers that look the same though since you will have more than one version of the same program installed.

You cannot use yay, you either need to learn the flatpak commands or use a GUI like discover to install them.

Yes, you can remove it. I can’t remember if you need to remove the flatpaks first or if they get removed automatically but I would recommend removing them first to be safe.


Thank you very much, I managed to install it, but I have a problem.

I have Wine, Lutris and Bottles in both repositories, but only 1 appears in the start menu instead of 2, how can I find the other one and differentiate it?

They’re supposed to appear duplicates or something.

First you need to determine which one is in the menus and which one is missing. Also, if you just installed flatpak, you may need to reboot/relogin to get the flatpak entries to show up in the menu.

1 Like

I have reboot EOS for the second time, and only 1 wine, 1 lutris and 1 bottles appear.

I have entered Flatseal and the 3 installed appear, so I don’t know how to make the 3 that are hidden appear.

Again, which ones are missing from the menus? Are the repo packages missing, or the flatpaks?

1 Like

I’m so sorry, I don’t know. I mean, nothing has disappeared, Wine, Lutris and Bottles still appear, but I don’t know if they are from Arch, or if Flatpak overwrote these shortcuts from the start menu.

When opening the applications from the start menu, I can’t tell if it is the Arch version or the Flatpak version:

What does ps ax | grep -i bottles return when bottles is launched from the menu?

1 Like

I forgot to say, I installed first from the Arch repository, and then the 3 versions of Flatpak, so it is possible that the shortcuts of the 3 versions of Arch have disappeared. What I say may not make sense, since it is the first time I install the same program from several repositories.

[septem@septem ~]$ ps ax | grep -i bottles
   4938 pts/0    S+     0:00 grep -i bottles
[septem@septem ~]$

Was bottles running when you ran that command?

1 Like

Oh sorry, no, Bottles didn’t start working.

You need to run the command while it is open.

1 Like

Oh sorry I’m dumb, now I understand, I have to run it in the terminal while I have Bottles open:

[septem@septem ~]$ ps ax | grep -i bottles
   4981 ?        S      0:00 bwrap --args 45 bottles
   4991 ?        S      0:00 bwrap --args 45 bottles
   4992 ?        Sl     0:03 /usr/bin/python3 /app/bin/bottles
   5088 pts/0    S+     0:00 grep -i bottles
[septem@septem ~]$ 

I ran:

[septem@septem ~]$ sudo flatpak list
[sudo] password for septem: 
Name                            Application ID                             Version Branch       Installation
Flatseal                        com.github.tchx84.Flatseal                 2.0.2   stable       system
Bottles                         com.usebottles.bottles                     51.9    stable       system
Lutris                          net.lutris.Lutris                          0.5.13  stable       system
Freedesktop Platform            org.freedesktop.Platform                   23.08.0 23.08        system
i386                            org.freedesktop.Platform.Compat.i386               23.08        system
Mesa                            org.freedesktop.Platform.GL.default        23.1.6  22.08        system
Mesa (Extra)                    org.freedesktop.Platform.GL.default        23.1.6  22.08-extra  system
Mesa                            org.freedesktop.Platform.GL.default        23.1.6  23.08        system
Mesa (Extra)                    org.freedesktop.Platform.GL.default        23.1.6  23.08-extra  system
nvidia-535-104-05               …freedesktop.Platform.GL.nvidia-535-104-05         1.4          system
Mesa                            org.freedesktop.Platform.GL32.default      23.1.6  22.08        system
Mesa                            org.freedesktop.Platform.GL32.default      23.1.6  23.08        system
nvidia-535-104-05               …eedesktop.Platform.GL32.nvidia-535-104-05         1.4          system
ffmpeg-full                     org.freedesktop.Platform.ffmpeg-full               22.08        system
ffmpeg-full                     org.freedesktop.Platform.ffmpeg-full               23.08        system
i386                            org.freedesktop.Platform.ffmpeg_full.i386          22.08        system
i386                            org.freedesktop.Platform.ffmpeg_full.i386          23.08        system
openh264                        org.freedesktop.Platform.openh264          2.1.0   2.2.0        system
GNOME Application Platform ver… org.gnome.Platform                                 44           system
i386                            org.gnome.Platform.Compat.i386                     44           system
Breeze GTK theme                org.gtk.Gtk3theme.Breeze                   5.27.6  3.22         system
Wine                            org.winehq.Wine                            8.0.2   stable-23.08 system
DXVK                            org.winehq.Wine.DLLs.dxvk                  2.2     stable-22.08 system
DXVK                            org.winehq.Wine.DLLs.dxvk                  2.2     stable-23.08 system
Gecko                           org.winehq.Wine.gecko                              stable-22.08 system
Gecko                           org.winehq.Wine.gecko                              stable-23.08 system
Mono                            org.winehq.Wine.mono                               stable-22.08 system
Mono                            org.winehq.Wine.mono                               stable-23.08 system
[septem@septem ~]$ 

That is probably the flatpak version running.

1 Like

Thanks, I can launch the Flatpak version by running ID name, it works correct.

Once I’ve done the testing I need with Flatseal etc, how do I remove all the Flatpak and Flatpak packages?

I mean, apart from uninstalling each package manually, and then uninstalling Flatpak with Pacman, is there any other way to do it?

flatpak remove --all
sudo pacman -R flatpak
1 Like

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.