My preferred install method is either apt
or building from source.
A couple of releases ago snapd
came in and after playing it with on multiple machines I didn't liked it. So I purged it and have been living very happily after.
Except for getting Firefox switch to official repos. At first it was a pain.
So then another thing called flatpak
came around and I didn't have any use case for it. But I remember reading about it in CHANGELOGs and some people seemed very excited about it.
Today I finally found an interesting software that can be only deployed via snapd or via flatpak. It's called utm_no
and can be found here: GitHub - stuartlangridge/utm_no: Remove tracking parameters from copied URLs, for Ubuntu and other Linux OSes
But as odd as that might sound I did not found a way to build it from source and I believe that documentation is totally missing. Leaving me with no other choice than to install via flatpak.
After doing my homework:
I now know a little bit more about it but it seems that this does not reflect the reality of my system.
The first thing that comes to mind is that there is nothing listed with flatpak:
$ flatpak list
$
But yet there is nothing to update:
$ flatpak update
Looking for updates…
Nothing to do.
$
Of course all system updates are applied and my system is running 22.04-latest-everything
So then I tried getting creative:
sudo git clone https://github.com/stuartlangridge/utm_no/
Cloning into 'utm_no'...
remote: Enumerating objects: 183, done.
remote: Counting objects: 100% (183/183), done.
remote: Compressing objects: 100% (115/115), done.
remote: Total 183 (delta 105), reused 130 (delta 56), pack-reused 0
Receiving objects: 100% (183/183), 69.07 KiB | 1.19 MiB/s, done.
Resolving deltas: 100% (105/105), done.
$ cd utm_no/flakpak
$ /usr/bin/flatpak install flathub org.kryogenix.utm_no.yml -y
Looking for matches…
error: No remote refs found similar to ‘flathub’
$ sudo /usr/bin/flatpak install flathub org.kryogenix.utm_no.yml -y
Looking for matches…
error: No remote refs found similar to ‘flathub’
$ ./launcher.sh
/usr/bin/python3: No module named utm_no
$ sudo ./launcher.sh
/usr/bin/python3: No module named utm_no
$
So at this point I got to ask: what is it that I do not understand with flatpak?