user@ncase:~$ flatpak list
Ref Options
org.DolphinEmu.dolphin-emu/x86_64/stable system,current
org.freedesktop.Platform.GL.nvidia-396-54/x86_64/1.4 system,runtime
org.freedesktop.Platform.ffmpeg/x86_64/1.6 system,runtime
org.freedesktop.Platform/x86_64/1.6 system,runtime
org.gtk.Gtk3theme.Adapta-Eta/x86_64/3.22 system,runtime
org.kde.Platform/x86_64/5.11 system,runtime
org.kde.Platform/x86_64/5.9 system,runtime
user@ncase:~$ flatpak list --app
Ref Options
org.DolphinEmu.dolphin-emu/x86_64/stable system,current
user@ncase:~$ flatpak uninstall
As you can see, I only have 1 flatpak app installed, but I have a lot of flatpak runtimes installed. Are they safe to uninstall, or are they still in use somehow?
To add to @karel's answer: The command
flatpak uninstall --unused
uninstalls all unneeded runtimes.The six Flatpak runtimes that are installed are being used by the DolphinEmu Flatpak app (org.DolphinEmu.dolphin-emu/x86_64/stable), so it is not safe to uninstall them.
Assuming that you no longer have any Flatpak apps installed it's safe to remove all the installed Flatpak runtimes with a command of the form
flatpak uninstall --runtime ID-of-1st-app ID-of-next-app ID-of-last-app
. These Flatpak runtimes will get automatically reinstalled the next time that you install a Flatpak app from the flathub remote, so it makes sense to not uninstall these Flatpak runtimes unless you are sure that you don't want to install any more Flatpak apps.