While I generally appreciate the new universal software package approaches like snap or flatpak, I started to feel uncomfortable concerning how to actually tell whether an app installed on my system (16.04 LTS Unity) is a snap app or a flatpak app or even a native app.
To me, it becomes annoying to have an app installed twice or even three times. The 'Dash' search doesn't tell you which one is which. Neither does the Gnome / Ubuntu software center. So, how can I decide which version to remove in order to keep the system as clean as possible?
which app
(replace 'app' with the binary name) will show/snap/bin/app
. If it's a deb thendpkg -S $(which app)
will tell you which deb it came from. If it's a flatpak then it'll likely show the fqdn (dotted name) like `org.organisation.app``. – popey Mar 02 '23 at 11:37