• LeFantome@programming.dev
    link
    fedilink
    arrow-up
    10
    ·
    edit-2
    16 hours ago

    Tar is not a package manager, it is just a packaging format. AppImage has the same problem.

    Flatpak is a bit of a crappy package manager but at least it is one. And, due to its use of container technology, it allows the same packages to run on any Linux kernel (any Linux distro). That is pretty useful.

    Of the other package managers, apk 3 is my favourite but the only distro that uses it is Chimera Linux. Pacman is good. dnf / RPM is ok. apt / deb is in last place for me. The recent Ubuntu 25.04 launch snafu illustrates some of the problems with apt. The first Linus Tech Tips Linux challenge really highlighted the dangers of apt.

    I only used snap briefly but instantly hated it. Fstab was a mess. It was slow. It was proprietary. I fled before I could form an educated opinion.

    • Samueru_sama@programming.dev
      link
      fedilink
      English
      arrow-up
      3
      ·
      edit-2
      6 hours ago

      it allows the same packages to run on any Linux kernel (any Linux distro). That is pretty useful.

      flatpak itself depends on namespaces, so saying that it works on any kernel is quite a stretch.

      Can flatpak do this? This is a GIMP3 appimage running on ubuntu 10.04 without any container:

      The kernel is so old that even the appimage runtime itself complains of missing functions and has to fallback to a workaround.

      UPDATE: flatpak can’t work because bubblewrap itself can’t:

      PR_SET_NO_NEW_PRIVS is only available since kernel 3.5