0

The command

flatpak list --app

will only list installed applications, not shared / platform components / libraries like FreeDesktop, Gtk, bare, core22 etc.

Is there an equivalent for Snap? Gandered at (to no avail):

snap list --help
P Varga
  • 512

1 Answers1

0

I have found out that the answer is that currently no, snap is not capable of listing only installed apps, and will list all snaps which includes those installed as dependencies, base snaps, platform components, etc.

The accepted answer to the question that was incorrectly suggested as a duplicate, https://askubuntu.com/a/1434373/782055, suggests running

ls -l /snap/bin
ls -l /var/lib/snapd/snaps

That doesn't provide an answer as the first command only lists binaries (but some snaps don't install any), and the second one lists all snaps including ones that aren't apps.

P Varga
  • 512