Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

agnos.is Forums

  1. Home
  2. Linux
  3. Fan of Flatpaks ...or Not?

Fan of Flatpaks ...or Not?

Scheduled Pinned Locked Moved Linux
linux
307 Posts 170 Posters 0 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A [email protected]

    Certainly a fan, and I don't understand the hate towards it.

    Flatpaks are my preferred way of installing Linux apps, unless it is a system package, or something that genuinely requires extensive permissions like a VPN client, or something many other apps depend on like Wine.

    The commonly cited issues with Flatpaks are:

    • Performance. Honestly, do you even care if your Pomodoro timer app takes up 1 more megabyte of RAM? Do you actually notice?
    • Bloat. Oh, yes, an app now takes 20 MB instead of 10 MB. Again, does anybody care?
    • Slower and larger updates. Could be an issue for someone on a metered traffic, or with very little time to do updates. Flatpaks update in the background, though, and you typically won't notice the difference unless you need something newest now (in which case you'll have to wait an extra minute)
    • Having to check permissions. This is a feature, not a bug. For common proponents of privacy and security, Linuxheads grew insanely comfortable granting literally every maintainer full access to their system. Flatpaks intentionally limit apps functionality to what is allowed, and if in some case defaults aren't good for your use case - just toggle a switch in Flatseal, c'mon, you don't need any expertise to change it.

    What you gain for it? Everything.

    • Full control over app's permissions. Your mail client doesn't need full system permissions, and neither do your messengers. Hell, even your backup client only needs to access what it backs up.
    • All dependencies built in. You'll never have to face dependency hell, ever, no matter what. And you can be absolutely sure the app is fully featured and you won't have to look for missing nonessential dependencies.
    • Fully distro-agnostic. If something works on my EndeavourOS, it will work on my OpenSUSE Slowroll, and on my Debian 12. And it will be exactly the same thing, same version, same features. It's beautiful.
    • Stability. Flatpaks are sandboxed, so they don't affect your system and cannot harm it in any way. This is why immutable distros feature Flatpaks as the main application source. Using them with mutable distributions will also greatly enhance stability.

    Alternatives?

    AppImages don't need an installation, so they are nice to see what the program is about. But for other uses, they are garbage-tier. Somehow they manage both not to integrate with the system and not be sandboxed, you need manual intervention or additional tools to at least update them/add to application menu, and ultimately, they depend on one file somewhere. This is extremely unreliable and one should likely never use AppImages for anything but "use and delete".

    Snaps...aside from all the controversy about Snap Store being proprietary and Ubuntu shoving snaps down people's throats, they were just never originally developed with desktop applications in mind. As a result, Snaps are commonly so much slower and bulkier that it actually starts getting very noticeable. Permissions are also way less detailed, meaning you can't set apps up with minimum permissions for your use case.

    This all leaves us with one King:

    And it is Flatpak.

    justenoughducks@feddit.nlJ This user is from outside of this forum
    justenoughducks@feddit.nlJ This user is from outside of this forum
    [email protected]
    wrote on last edited by
    #101

    The few things I don't like about flatpaks (which become a problem on atomic distros that use almost all flatpak by design):

    • Some types of embedded development is essentially impossible with flatpaks. Try getting the J-link software connected with nrftools and then everything linked to VScodium/codeoss

    • Digital signing simply doesn't work, won't work for the foreseeable future, and is not planned to get working,

    • Flatpaks sometimes have bugs for no reasons when their package-manager counterparts don't (e.g. in KiCAD 8.0, the upper 20% or so of dialog boxes were unclickable with the mouse, but I could select and modify them with the keyboard, only the flatpak version)

    • The status on whether it is still being actively developed or not (at least I hear a fair amount of drama surrounding it)

    But besides those small things, it seem great to me.

    A 1 Reply Last reply
    8
    • B [email protected]

      Flatpaks, appimages, snaps, etc: why download dependencies once when you can download them every time and bloat your system? Also, heaving to list installed flatpaks and run them is dumb too, why aren't they proper executables? "flatpak run com.thisIsDumb.fuckinEh" instead of just ./fuckinEh

      No thanks. I'll stick to repos and manually compiling software before I seek out a flatpak or the like.

      This shit is why hobbies and things should be gatekept. Just look at how shit PC design is these days. Now they're coming after the OS.

      A This user is from outside of this forum
      A This user is from outside of this forum
      [email protected]
      wrote on last edited by
      #102

      As I said, dependencies typically don't take that much space. We're not in the '80s, I can spare some megabytes to ensure my system runs smoothly and is managed well.

      As per naming, I agree, but barely anyone uses command line to install Flatpaks, as they are primarily meant for desktop use. In GUI, Flatpaks are shown as any other package, and all it takes is to push "Install" button.

      If you want to enjoy your chad geeky Linux, you still can. Go for CachyOS, or anything more obscure, never to use Flatpaks again. At the same time, let others use what is good and convenient to them.

      nitrolife@rekabu.ruN E 2 Replies Last reply
      9
      • justenoughducks@feddit.nlJ [email protected]

        The few things I don't like about flatpaks (which become a problem on atomic distros that use almost all flatpak by design):

        • Some types of embedded development is essentially impossible with flatpaks. Try getting the J-link software connected with nrftools and then everything linked to VScodium/codeoss

        • Digital signing simply doesn't work, won't work for the foreseeable future, and is not planned to get working,

        • Flatpaks sometimes have bugs for no reasons when their package-manager counterparts don't (e.g. in KiCAD 8.0, the upper 20% or so of dialog boxes were unclickable with the mouse, but I could select and modify them with the keyboard, only the flatpak version)

        • The status on whether it is still being actively developed or not (at least I hear a fair amount of drama surrounding it)

        But besides those small things, it seem great to me.

        A This user is from outside of this forum
        A This user is from outside of this forum
        [email protected]
        wrote on last edited by
        #103

        Thanks for the input! Yes, there are still certain issues with Flatpaks (for me it was aforementioned VPNs which also don't work through Distrobox, and it would be quite odd anyway). But overall, they manage most apps well, just as you say.

        1 Reply Last reply
        2
        • nitrolife@rekabu.ruN [email protected]

          I've been working on Linux for 15 years now and I perfectly remember the origin of many concepts. If you look at it through time, what would it be like:

          1. We can build applications with external dependencies or a single binary, what should we choose?
          2. The community is abandoning a single binary due to the increased weight of applications and memory consumption and libraries problems
          3. Dependency hell is coming
            ...
          4. Snap, flatpack, appimage and other strange solutions are inventing something, which are essentially a single binary, but with an overlay (if the developer has hands from the right place, which is often not the case)
          5. Someone on lemmy says that he literally doesn't care if the application is built in a single binary, consumes extra memory and have libraries problems. Just close all permissions for that application...

          Well, all I can say about this is just assemble a single binary for all applications, stop doing nonsense with a flatpack/snap/etc.

          UPD: or if you really want to break all the conventions, just use nixos. You don't need snap/flatpack/etc.

          A This user is from outside of this forum
          A This user is from outside of this forum
          [email protected]
          wrote on last edited by [email protected]
          #104

          I don't mind other solutions, as long as they have the key features Flatpak offers, namely:

          • Being open-source
          • Having app permission system
          • Having bundled dependencies
          • Integrating decently with the system

          Times are changing, and memory constraints for most programs are generally not relevant anymore.

          nitrolife@rekabu.ruN 1 Reply Last reply
          7
          • A [email protected]

            As I said, dependencies typically don't take that much space. We're not in the '80s, I can spare some megabytes to ensure my system runs smoothly and is managed well.

            As per naming, I agree, but barely anyone uses command line to install Flatpaks, as they are primarily meant for desktop use. In GUI, Flatpaks are shown as any other package, and all it takes is to push "Install" button.

            If you want to enjoy your chad geeky Linux, you still can. Go for CachyOS, or anything more obscure, never to use Flatpaks again. At the same time, let others use what is good and convenient to them.

            nitrolife@rekabu.ruN This user is from outside of this forum
            nitrolife@rekabu.ruN This user is from outside of this forum
            [email protected]
            wrote on last edited by
            #105

            It's not the 80s, and I can save a few megabytes to keep my system running smoothly and well-managed.

            And then it turns out that you have 18 libssl libraries in diffirent fpatpacks, and half of them contain a critical vulnerability that any website on the Internet can use to hack your PC. How much do you trust the limitations of flatpack apps? are you sure that a random hacker won't hack your OBS web plugin and encrypt your entire fpatpack partition (which some "very smart" distributions even stuff office into, and your work files will be hidden there). People have come up with external dependencies for a reason.

            A 1 Reply Last reply
            5
            • A [email protected]

              I don't mind other solutions, as long as they have the key features Flatpak offers, namely:

              • Being open-source
              • Having app permission system
              • Having bundled dependencies
              • Integrating decently with the system

              Times are changing, and memory constraints for most programs are generally not relevant anymore.

              nitrolife@rekabu.ruN This user is from outside of this forum
              nitrolife@rekabu.ruN This user is from outside of this forum
              [email protected]
              wrote on last edited by
              #106

              Times are changing, and memory constraints for most programs are generally not relevant anymore.

              But there are gaps in the libraries that, unlike distributions with dependencies, can no longer be managed. And all the security of your system depends on a small flatpack access control, which 99% of users do not understand at all and, with any problems simply opens access to the entire home directory.

              A 1 Reply Last reply
              6
              • nitrolife@rekabu.ruN [email protected]

                It's not the 80s, and I can save a few megabytes to keep my system running smoothly and well-managed.

                And then it turns out that you have 18 libssl libraries in diffirent fpatpacks, and half of them contain a critical vulnerability that any website on the Internet can use to hack your PC. How much do you trust the limitations of flatpack apps? are you sure that a random hacker won't hack your OBS web plugin and encrypt your entire fpatpack partition (which some "very smart" distributions even stuff office into, and your work files will be hidden there). People have come up with external dependencies for a reason.

                A This user is from outside of this forum
                A This user is from outside of this forum
                [email protected]
                wrote on last edited by
                #107

                Fair criticism!

                However, the extent of the damage is limited by flatpak and whatever permissions you have set, and, if I understand it correctly, you cannot attack one flatpak through the other unless they share access to some files.

                Also, I haven't seen this kind of attack in the wild (maybe I'm not informed enough?) as opposed to rogue maintainers injecting malware into packages.

                On an unrelated note: apparently, there is finally some Russian Lemmy instance? That's a welcome change.

                nitrolife@rekabu.ruN 1 Reply Last reply
                4
                • A [email protected]

                  Fair criticism!

                  However, the extent of the damage is limited by flatpak and whatever permissions you have set, and, if I understand it correctly, you cannot attack one flatpak through the other unless they share access to some files.

                  Also, I haven't seen this kind of attack in the wild (maybe I'm not informed enough?) as opposed to rogue maintainers injecting malware into packages.

                  On an unrelated note: apparently, there is finally some Russian Lemmy instance? That's a welcome change.

                  nitrolife@rekabu.ruN This user is from outside of this forum
                  nitrolife@rekabu.ruN This user is from outside of this forum
                  [email protected]
                  wrote on last edited by
                  #108

                  However, the extent of the damage is limited by flatpak and whatever permissions you have set, and, if I understand it correctly, you cannot attack one flatpak through the other unless they share access to some files.

                  there is a problem here that permissions are also set by the packages developers. User in most cases click accept all and alll done.

                  On an unrelated note: apparently, there is finally some Russian Lemmy instance? That's a welcome change.

                  Well... Appeared 2 years ago. It's just that practically no one needs it. 😃

                  A 1 Reply Last reply
                  2
                  • nitrolife@rekabu.ruN [email protected]

                    Times are changing, and memory constraints for most programs are generally not relevant anymore.

                    But there are gaps in the libraries that, unlike distributions with dependencies, can no longer be managed. And all the security of your system depends on a small flatpack access control, which 99% of users do not understand at all and, with any problems simply opens access to the entire home directory.

                    A This user is from outside of this forum
                    A This user is from outside of this forum
                    [email protected]
                    wrote on last edited by [email protected]
                    #109

                    I'm not saying Flatpak is perfect, but it appears to be the best we have.

                    I absolutely agree more needs to be done to explain permissions and have sane defaults. Flatseal in particular could introduce more warnings, and this is where non-technical users set their permissions.

                    In my experience, most Flatpaks do not request full home folder access by default, and making Flatpak access everything everywhere typically requires user intervention.

                    Native apps, meanwhile, just run with full system-wide access; I get it that they're more vetted and more properly updated, but this is an unhealthy and insecure arrangement.

                    nitrolife@rekabu.ruN 1 Reply Last reply
                    6
                    • shrewdcat@lemmy.zipS [email protected]
                      This post did not contain any content.
                      M This user is from outside of this forum
                      M This user is from outside of this forum
                      [email protected]
                      wrote on last edited by [email protected]
                      #110

                      Idk how, but one time I tried installing something as a flatpak and it took like 300+MB and a very long time. I figured something was wrong, found a way to install it normally and it took like 10MB and installed quickly. Idk what went wrong, but I'll never touch this garbage again

                      Edit: oh they're not for arch. Maybe they should have told me before the 300mb slog

                      Z 1 Reply Last reply
                      3
                      • lettuceeatlettuce@lemmy.mlL [email protected]

                        Flatpaks are pretty great for getting the latest software without having to have a cutting edge rolling release distro or installing special repos and making sure stuff doesn't break down the line.

                        I use Flatpaks for my software that I need the latest and greatest version of, and my distros native package for CLI apps and older software that I don't care about being super up to date.

                        My updater script handles all of it in one action anyways, so no biggie on that either.

                        Flatpaks are the best all-in-one solution when compared to Appimages or Snaps imo.

                        M This user is from outside of this forum
                        M This user is from outside of this forum
                        [email protected]
                        wrote on last edited by
                        #111

                        without having to have a cutting edge rolling release distro

                        Oh, that explains why they're completely bloated & useless to me. Arch btw

                        1 Reply Last reply
                        0
                        • shrewdcat@lemmy.zipS [email protected]
                          This post did not contain any content.
                          H This user is from outside of this forum
                          H This user is from outside of this forum
                          [email protected]
                          wrote on last edited by
                          #112

                          Honestly, I am a little scarred from snap.

                          Otherwise I'm agnostic on flatpaks - I've used a couple and they're ok? They just remind me of old windows games that dump all their libraries in a folder with them.

                          On a modern system the extra space and loss of optimisation is ok, but on older hardware or when you're really trying to push your system to run something it technically shouldn't, I can see it being an issue.

                          1 Reply Last reply
                          1
                          • A [email protected]

                            I'm not saying Flatpak is perfect, but it appears to be the best we have.

                            I absolutely agree more needs to be done to explain permissions and have sane defaults. Flatseal in particular could introduce more warnings, and this is where non-technical users set their permissions.

                            In my experience, most Flatpaks do not request full home folder access by default, and making Flatpak access everything everywhere typically requires user intervention.

                            Native apps, meanwhile, just run with full system-wide access; I get it that they're more vetted and more properly updated, but this is an unhealthy and insecure arrangement.

                            nitrolife@rekabu.ruN This user is from outside of this forum
                            nitrolife@rekabu.ruN This user is from outside of this forum
                            [email protected]
                            wrote on last edited by [email protected]
                            #113

                            this is a system for work tasks. Of course, I understand what the developers are going for. that is Android. And it's really nice to read the Internet on android. But try to do something more complicated than that and you'll realize that it's hell. However, I don't mind if such distributions appear. Why not? I just don't understand people who voluntarily limit their abilities. And why you don't just install Android 64?

                            The flatpack approach automatically remove everything low-level from the equation. Do you want to write directly to the graphics card buffer? Read the input? Do I set the fan rotation parameters directly in the /proc? All these applications will never work in flat pack.

                            On the other hand, flatpack is superfluous and for convenience. You can simply build an executable file without dependencies and configure firejail for it yourself... That's all. Or run the file from another user. That is so popular exactly bacause RedHat pushed them. Literaly like Canonical pushed snap.

                            A 1 Reply Last reply
                            3
                            • nitrolife@rekabu.ruN [email protected]

                              However, the extent of the damage is limited by flatpak and whatever permissions you have set, and, if I understand it correctly, you cannot attack one flatpak through the other unless they share access to some files.

                              there is a problem here that permissions are also set by the packages developers. User in most cases click accept all and alll done.

                              On an unrelated note: apparently, there is finally some Russian Lemmy instance? That's a welcome change.

                              Well... Appeared 2 years ago. It's just that practically no one needs it. 😃

                              A This user is from outside of this forum
                              A This user is from outside of this forum
                              [email protected]
                              wrote on last edited by
                              #114

                              Permissions are also set by the packages developers

                              True, and I don't think it is healthy not to let them to. But it would be nice to either have some vetting on the matter, or ask user about which permissions they agree for when they install Flatpak.

                              Appeared 2 years ago

                              Ого, то есть примерно когда я сам здесь очутился. Никогда не слышал о ру инстансах, хоть и искал. Теперь, кажется, нашёл)

                              Берёте человечка на борт? Не обещаю сделать Рекабу главным инстансом, но всегда полезно быть по обе стороны Чебурнета, а то последнее время с забугорными беды бывают.

                              1 Reply Last reply
                              1
                              • nitrolife@rekabu.ruN [email protected]

                                this is a system for work tasks. Of course, I understand what the developers are going for. that is Android. And it's really nice to read the Internet on android. But try to do something more complicated than that and you'll realize that it's hell. However, I don't mind if such distributions appear. Why not? I just don't understand people who voluntarily limit their abilities. And why you don't just install Android 64?

                                The flatpack approach automatically remove everything low-level from the equation. Do you want to write directly to the graphics card buffer? Read the input? Do I set the fan rotation parameters directly in the /proc? All these applications will never work in flat pack.

                                On the other hand, flatpack is superfluous and for convenience. You can simply build an executable file without dependencies and configure firejail for it yourself... That's all. Or run the file from another user. That is so popular exactly bacause RedHat pushed them. Literaly like Canonical pushed snap.

                                A This user is from outside of this forum
                                A This user is from outside of this forum
                                [email protected]
                                wrote on last edited by
                                #115

                                All these applications will never work in flat pack.

                                They don't have to! Flatpak doesn't remove all other ways to install software. But for 95% of use cases, it will do just fine.

                                Firejail is good, but it only solves sandboxing part of the equation, and there's so much more to Flatpaks than that. Also, it's more painful to configure and is more sysadmin-oriented.

                                nitrolife@rekabu.ruN 1 Reply Last reply
                                4
                                • shrewdcat@lemmy.zipS [email protected]
                                  This post did not contain any content.
                                  T This user is from outside of this forum
                                  T This user is from outside of this forum
                                  [email protected]
                                  wrote on last edited by
                                  #116

                                  I've heard Flatpaks aren't great at CLI tools, is that true ?

                                  As a Nix user, I'm glad Flatpaks exist for other people, but I only ever use them when a package is not available from Nix directly. Seeing as Nix is literally the biggest package manager out there, it's a pretty rare occurrence.

                                  P T 2 Replies Last reply
                                  2
                                  • shrewdcat@lemmy.zipS [email protected]
                                    This post did not contain any content.
                                    B This user is from outside of this forum
                                    B This user is from outside of this forum
                                    [email protected]
                                    wrote on last edited by
                                    #117

                                    Most of us refugees just want windows but cool.

                                    1 Reply Last reply
                                    4
                                    • shrewdcat@lemmy.zipS [email protected]
                                      This post did not contain any content.
                                      jedi@bolha.forumJ This user is from outside of this forum
                                      jedi@bolha.forumJ This user is from outside of this forum
                                      [email protected]
                                      wrote on last edited by
                                      #118

                                      About the image: The joke's on you, I install my flatpaks via the terminal.

                                      I've started using flatpaks more after starting using Bazzite and I liked them more than I expected. As a dev, I still need my work tools to be native, but most of my other needs are well covered by flatpaks.

                                      Tip: Flatseal is a great config manager for flatpaks' permissions.

                                      O P hallettj@leminal.spaceH 3 Replies Last reply
                                      31
                                      • jedi@bolha.forumJ [email protected]

                                        About the image: The joke's on you, I install my flatpaks via the terminal.

                                        I've started using flatpaks more after starting using Bazzite and I liked them more than I expected. As a dev, I still need my work tools to be native, but most of my other needs are well covered by flatpaks.

                                        Tip: Flatseal is a great config manager for flatpaks' permissions.

                                        O This user is from outside of this forum
                                        O This user is from outside of this forum
                                        [email protected]
                                        wrote on last edited by
                                        #119

                                        I installed flatseal but I never understand what is essential and what is not.

                                        jedi@bolha.forumJ 1 Reply Last reply
                                        6
                                        • T [email protected]

                                          I've heard Flatpaks aren't great at CLI tools, is that true ?

                                          As a Nix user, I'm glad Flatpaks exist for other people, but I only ever use them when a package is not available from Nix directly. Seeing as Nix is literally the biggest package manager out there, it's a pretty rare occurrence.

                                          P This user is from outside of this forum
                                          P This user is from outside of this forum
                                          [email protected]
                                          wrote on last edited by
                                          #120

                                          Yes it is true. Flatpak is for gui apps only, at least as far as I know.

                                          1 Reply Last reply
                                          2
                                          Reply
                                          • Reply as topic
                                          Log in to reply
                                          • Oldest to Newest
                                          • Newest to Oldest
                                          • Most Votes


                                          • Login

                                          • Login or register to search.
                                          • First post
                                            Last post
                                          0
                                          • Categories
                                          • Recent
                                          • Tags
                                          • Popular
                                          • World
                                          • Users
                                          • Groups