Ubuntu – Is it safe to uninstall flatpak runtimes for apps I no longer have installed

flatpak

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?

Best Answer

To add to @karel's answer: The command flatpak uninstall --unused uninstalls all unneeded runtimes.