• NauticalNoodle@lemmy.ml
    link
    fedilink
    arrow-up
    9
    ·
    edit-2
    39 minutes ago

    I spent my time fighting AppImages until Canonical started to force Snap on me. I hated Snap so bad it forced me to switch distros. Now I appreciate Flatpak as a result and I don’t find AppImages all that bad, either. Also, I haven’t found myself in dependency-hell nor have I crashed my distro from unofficial Repos in well over a decade.

    -It’s a long way of saying It works for me and it’s not Snap.

  • The_Walkening [none/use name]@hexbear.net
    link
    fedilink
    English
    arrow-up
    3
    ·
    edit-2
    23 minutes ago

    I like the idea of them because I don’t like dealing with dependencies changing and breaking stuff and I don’t really care too much about disk space in the context of non-game desktop apps, as I don’t tend to install lots of them.

    That being said I absolutely hate that permissions are all over the place and flatpak doesn’t ship a GUI to manage them by default, nor do you get any indication as to what permissions a program has until you try some functionality (like filesystem or camera access) only to find out it doesn’t work out of the box.

  • 𝘋𝘪𝘳𝘬@lemmy.ml
    link
    fedilink
    arrow-up
    10
    ·
    2 hours ago

    Flatpaks are great for situations where installing software is unnecessary complex or complicated.

    I have Steam installed for some games, and since this is a 32 bits application it would install a metric shit-don of 32 bit dependencies I do not use for anything else except Steam, so I use the Flatpak version.

    Or Kdenlive for video editing. Kdenlive is the only KDE software I use but when installing it, it feels like due to dependencies I also get pretty much all of the KDE desktop’s applications I do not need nor use nor want on my machine. So Flatpak it is.

    And then there is software like OBS, which is known for being borderline unusable when not using the only officially supported way to use it on Linux outside of Ubuntu – which is Flatpak.

    • dropped_packet@lemmy.zip
      link
      fedilink
      arrow-up
      1
      ·
      34 minutes ago

      This is the main benefit. However, i’m finding the software I use requires less dependencies and libraries these days.

      I barely even use flatpaks anymore. Almost everything is in official repos. I couldn’t tell you the last time I had a dependency conflict.

  • Bluewing@lemmy.world
    link
    fedilink
    arrow-up
    15
    ·
    2 hours ago

    I have used rpms, AppImages, Flatpaks, and source. I have even used a snap or two when I had no other choice.

    If you can’t work with them all, can you even say you Linux Bro?

    • AnIntenseMoist@lemmy.world
      link
      fedilink
      arrow-up
      6
      ·
      2 hours ago

      Bro, TRUTH. I have preferences but when you gotta get something done, it doesn’t matter how the app comes bundled. I’d run .exe’s through Wine if I needed to.

  • Bjarne@feddit.org
    link
    fedilink
    arrow-up
    16
    arrow-down
    4
    ·
    edit-2
    1 hour ago

    iit: nerds unable to comprehend that building a piece of software from source in not something every person can do.

    EDIT: or doesn’t want to do

    • jwmgregory@lemmy.dbzer0.com
      link
      fedilink
      arrow-up
      12
      arrow-down
      1
      ·
      edit-2
      3 hours ago

      one of my least favorite things about arch and other rolling distros is that yay/pacman will try and recompile shit like electron/chromium from source every few days unless you give it very specific instructions not to - which is annoying as shit bc compiling the entirety of chrome from source takes hours even with decent hardware.

      granted, i fucking hate google products too but if you’re doing any web dev it’s necessary sometimes.

      idk im definitely willing to admit i might be the idiot here. managing your packages with pacman might just be routine to some people. to me arch is the epitome of classic bad UX in an open source project. it’s like they got too focused on being cmatrix-style terminal nerds and forgot to make their software efficiently useable outside of 5 very specific people’s workflows. it’s not even the terminal usage that is bad about arch. plenty of things are focused on that and… don’t do it shittily? idk…

      • ayaya@lemdro.id
        link
        fedilink
        English
        arrow-up
        2
        ·
        edit-2
        35 minutes ago

        All of the normal Arch packages are pre-built, so the only way you’d be compiling things that often is if you installed a large amount of things from the AUR. Make sure you get the bin versions instead of git versions.

        The google-chrome and chromium packages are already a binaries so my guess is you need ungoogled-chromium-bin. You can also use the Chaotic AUR repo to get pre-built binaries of a lot of the most common AUR packages. But ideally you should avoid using the AUR when it’s not necessary.

        While using the AUR is common, it’s a bit frustrating you are blaming Arch for your experience. If you only use pacman you would never compile anything, or have very many conflicts. It’s like if you added 20 different PPAs on Ubuntu and then complained about the problems that arose from that.

        • jwmgregory@lemmy.dbzer0.com
          link
          fedilink
          arrow-up
          2
          ·
          2 hours ago

          sometimes you’re working with particular releases or builds that don’t, but like i said i might be the idiot lol.

          i like the concept of arch. i don’t like the way i need to come up with a new solution for how im managing my packages virtually every few days that often requires novel information. shit, half the time you boot up an arch system if you have sufficient # of packages there is 9/10 times a conflict when trying to just update things naively. like i said it’s cool on paper and im sure once you use it as a daily driver for awhile it just becomes routine but it’s more the principle of the user experience and its design philosophy that i think might be poor.

          arch is for techies in the middle of the bell curve imo… people on the left and the right, when it comes to something as simple as managing all my packages and versions, want something that just worksTM - unless i specifically want to fuck with the minutiae.

        • jwmgregory@lemmy.dbzer0.com
          link
          fedilink
          arrow-up
          3
          arrow-down
          1
          ·
          3 hours ago

          is garuda like endeavorOS or manjaro where it’s technically still an arch-based rolling release distro but the OS maintainers hold packages from upstream mainline arch?

          i don’t hate that model, it’s more fun to use as an end user for sure, but i feel like it kind of defeats the point of arch’s entire ethos lmao.

      • ahoneybun@lemmy.world
        link
        fedilink
        arrow-up
        2
        ·
        3 hours ago

        I get that with NixOS even if I use a tablet as my release. It’s pretty annoying if it is too new and not cached yet.

  • lemmyknow@lemmy.today
    link
    fedilink
    arrow-up
    2
    ·
    2 hours ago

    Honestly, i’m not entirely sure what Flatpaks are all about. Not sure I could explain them. But I use them. I’ve used apt. I’ve even used Pacman and Yay in Manjaro for a few years. Now, I also Flatpak (no longer on Manjaro, though. I no longer boot to a blank screen every 6 months or so! Very nice!)

    • Flatfire@lemmy.ca
      link
      fedilink
      arrow-up
      3
      ·
      1 hour ago

      Flatpaks are basically containers, allowing applications to maintain their own dependencies separate from your system. It’s similar to a Windows program shipping with its own precompiled DLLs, helping prevent dependenct conflicts when you go to update something you installed with pacman or yay.

  • shapis@lemmy.ml
    link
    fedilink
    arrow-up
    2
    arrow-down
    1
    ·
    2 hours ago

    It just doesnt work half the time. I avoid them as much as possible.

  • T Jedi@bolha.forum
    cake
    link
    fedilink
    arrow-up
    26
    ·
    4 hours ago

    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.

    • pineapple@lemmy.ml
      link
      fedilink
      English
      arrow-up
      11
      ·
      4 hours ago

      Installing flatpaks via the terminal is so much faster for some reason, so I always do it that way.

      • T Jedi@bolha.forum
        cake
        link
        fedilink
        arrow-up
        5
        ·
        3 hours ago

        It is mostly trial and error. I use it mostly to set envvars.

        As an example, I add the ~/.themes folder and the GTK_THEME to allow some apps to get the themes I downloaded.

        • Outwit1294@lemmy.today
          link
          fedilink
          arrow-up
          1
          ·
          1 hour ago

          Oh, so flatpaks cannot automatically get system themes?

          If it is trial and error, is it really useful for a normal user?

          • T Jedi@bolha.forum
            cake
            link
            fedilink
            arrow-up
            1
            ·
            1 minute ago

            System themes, probably most of them work. But most of them don’t bother watching the user themes or icons folder.

            I don’t think Flatseal is that useful for the majority of users, no. But it is a good tool to have in mind when the need arises.

  • relic4322@lemmy.ml
    link
    fedilink
    arrow-up
    2
    arrow-down
    1
    ·
    2 hours ago

    never tried flatpak, snaps were so bad as to never consider non-native installs or just use docker instances when I need to run something weird. so dunno.

    whats the use case for a flatpak exactly? maybe im not the target audience???

    • squaresinger@lemmy.world
      link
      fedilink
      arrow-up
      1
      ·
      2 hours ago

      Flatpaks mean you don’t have to compile everything from scratch and solve dependency conflicts if you want a newer version of a program than what’s available in your distro’s repo, of if it’s something that doesn’t have a native version at all.

  • pineapple@lemmy.ml
    link
    fedilink
    English
    arrow-up
    5
    ·
    edit-2
    4 hours ago

    I am definitely a fan. A lot of people say that flatpaks are bad because of sandboxing but I haven’t seemed to have any issues with it.

    Although I do try to use dnf when a dnf package is available (I use fedora)

  • Allero@lemmy.today
    link
    fedilink
    arrow-up
    32
    arrow-down
    10
    ·
    6 hours ago

    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.

    • nitrolife@rekabu.ru
      link
      fedilink
      arrow-up
      16
      arrow-down
      3
      ·
      edit-2
      6 hours ago

      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.

      • Papamousse@beehaw.org
        link
        fedilink
        arrow-up
        1
        ·
        2 hours ago

        Old guy here too, used un*x before linux existed in the 90s. I still use a Debian based distro (MX) without systemd and no snap/flatpak/whatever. Just build/compile or install .deb and dependencies. Lastly unfortunately I had to install a flatpak to test “deskflow”, the first time I installed one, I feel dirty now :-(

      • grinka@lemmy.zip
        link
        fedilink
        English
        arrow-up
        3
        ·
        2 hours ago

        Flatpak is not single binary, Flatpaks have shared runtime (For example Freedesktop, GNOME, KDE runtimes)

        • nitrolife@rekabu.ru
          link
          fedilink
          arrow-up
          5
          ·
          2 hours ago

          Provided that flatpack has a common parent container, which is not always the case. More precisely, it almost never does. Because someone updates flatpack to new versions of the parent containers, and someone else does not.

          • grinka@lemmy.zip
            link
            fedilink
            English
            arrow-up
            2
            ·
            2 hours ago

            More precisely, it almost never does.

            I don’t know any flatpak in my system that don’t use runtime (I have around 50 flatpak apps installed), or am I misunderstanding your point

            • nitrolife@rekabu.ru
              link
              fedilink
              arrow-up
              4
              ·
              edit-2
              2 hours ago

              runtime have versions too. If one runtime version use only one flatpack than exactly same as just static linking binary. Flatpack have just docker layeredfs and firejail in base.

              id: org.gnome.Dictionary runtime: org.gnome.Platform runtime-version: '45' <- here sdk: org.gnome.Sdk command: gnome-dictionary

              • grinka@lemmy.zip
                link
                fedilink
                English
                arrow-up
                1
                ·
                2 hours ago

                I see problem in that only in unmaintained apps (like org.gnome.Dictionary), I have only GNOME 47 & 48 for example and both of them still updating

                • nitrolife@rekabu.ru
                  link
                  fedilink
                  arrow-up
                  2
                  ·
                  2 hours ago

                  In the initial stage of shared library support, everything was exactly the same. Let’s look at it in 5 years… When some soft will archived and die, some stop maintaining, some new crated and brakes old dependencies…

      • Allero@lemmy.today
        link
        fedilink
        arrow-up
        9
        arrow-down
        4
        ·
        edit-2
        6 hours ago

        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.ru
          link
          fedilink
          arrow-up
          8
          arrow-down
          1
          ·
          6 hours ago

          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.

          • Allero@lemmy.today
            link
            fedilink
            arrow-up
            6
            arrow-down
            2
            ·
            edit-2
            5 hours ago

            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.ru
              link
              fedilink
              arrow-up
              4
              arrow-down
              1
              ·
              edit-2
              5 hours ago

              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.

              • Allero@lemmy.today
                link
                fedilink
                arrow-up
                5
                arrow-down
                1
                ·
                5 hours ago

                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.ru
                  link
                  fedilink
                  arrow-up
                  2
                  ·
                  edit-2
                  2 hours ago

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

                  Tell this to canonical, they even firefox put in the snap. You know that when choosing “quickly compile something for a flatpack” and “support 10+ distributions”, the developers will choose a flatpack. Which in general looks fine, until you realize that everything is just scored on the mainline of libraries and molded on anything. The most striking example of this is Linphone. just try to compile it…

    • JustEnoughDucks@feddit.nl
      link
      fedilink
      arrow-up
      9
      arrow-down
      1
      ·
      6 hours ago

      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.

      • Allero@lemmy.today
        link
        fedilink
        arrow-up
        3
        arrow-down
        1
        ·
        edit-2
        6 hours ago

        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 :)

    • brax@sh.itjust.works
      link
      fedilink
      arrow-up
      11
      arrow-down
      7
      ·
      edit-2
      6 hours ago

      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.

      • Allero@lemmy.today
        link
        fedilink
        arrow-up
        9
        arrow-down
        8
        ·
        6 hours ago

        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.

        • Eyck_of_denesle@lemmy.zip
          link
          fedilink
          arrow-up
          1
          ·
          5 minutes ago

          Do all laptops users have this option? Also you keep saying megabytes when it’s never just a few megabytes. It downloads atleast a few gbs worth of data just for one gui app.

        • nitrolife@rekabu.ru
          link
          fedilink
          arrow-up
          9
          ·
          6 hours ago

          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.

          • Allero@lemmy.today
            link
            fedilink
            arrow-up
            6
            arrow-down
            3
            ·
            6 hours ago

            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.ru
              link
              fedilink
              arrow-up
              5
              arrow-down
              1
              ·
              5 hours ago

              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. =)

              • Allero@lemmy.today
                link
                fedilink
                arrow-up
                4
                arrow-down
                2
                ·
                5 hours ago

                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

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

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