I’ve been using arch for a while now and I always used Flatpaks for proprietary software that might do some creepy shit because Flatpaks are supposed to be sandboxed (e.g. Steam). And Flatpaks always worked flawlessly OOTB for me. AUR for things I trust. I’ve read on the internet how people prefer AUR over Flatpaks. Why? And how do y’all cope with waiting for all the AUR installed packages to rebuild after every update? Alacritty takes ages to build for me. Which is why I only update the AUR installed and built applications every 2 weeks.

  • SayCyberOnceMore@feddit.uk
    link
    fedilink
    English
    arrow-up
    0
    ·
    6 months ago

    It’s not like the AUR packages need recompiling after every update, so I’m using standard Arch repos + AUR and that’s it.

    Everything will be using the same (bleeding edge) dependencies, so if something breaks, I can find what changed and fix it and / or roll-back and / or report it to the dev.

    I’ve been down this whole scenario with Windows back in the day… DLL hell, InstallShield packaging, compiled zips, weird %PATH% sets for execution, the lot… and at the end, it’s always simpler to use common libraries and work with the devs to fix bugs - after all, they’re usually developing on a “normally” packaged system anyway.

  • 240p@lemmy.sdf.org
    link
    fedilink
    arrow-up
    0
    ·
    edit-2
    6 months ago

    I use Silverblue and in general I like their philosophy. For other distros, it can be summed up as:

    • Flatpaks for GUI applications
    • Your choice of package manager for everything else

    On Silverblue anything non-Flatpak is best installed inside a container. On a non-atomic distro I’d just install using the system’s default package manager.

  • Strit@lemmy.linuxuserspace.show
    link
    fedilink
    arrow-up
    0
    ·
    6 months ago

    Nonfree software does not have the ability to be rebuilt on each update anyway, since it’s distributed as pre-built binaries. So they won’t build anyway.

    I tend to use AUR packages where possible if the package is not in the official repos. Only if the AUR package is broken do I turn to flatpaks.

    • asudox@lemmy.worldOP
      link
      fedilink
      arrow-up
      0
      ·
      edit-2
      6 months ago

      Right. So my priority should be like this:

      Proprietary: Flatpak

      Open Source: Official Repo then AUR

      • Strit@lemmy.linuxuserspace.show
        link
        fedilink
        arrow-up
        0
        ·
        6 months ago

        My priority is: Official repo, AUR then Flatpak.

        No matter what license it is. Although, if I need microsoft stuff I usually go flatpak there, so it’s sealed off.

      • GolfNovemberUniform@lemmy.ml
        link
        fedilink
        arrow-up
        0
        ·
        edit-2
        6 months ago

        This. Flatpak also provides additional privacy and security features to at least somewhat keep that proprietary garbage under control

  • LeFantome@programming.dev
    link
    fedilink
    arrow-up
    0
    ·
    6 months ago

    The AUR is the best thing about Arch. yay -Syu and everything is updated. Painless.

    I tend to use binary packages to avoid long compiles. If an update includes something that is going to take a while, I often exclude that package from the update. After everything else is updated, I can run it again to get the last package or two. They can just run in the background while I do other stuff. If it is a program I am going to use right away, I may put off the update of that package until I am done my session. This is pretty common with JetBrains updates for example.

    I do not have a single Flatpak.

  • UnfortunateShort@lemmy.world
    link
    fedilink
    arrow-up
    0
    ·
    6 months ago

    I prefer Flatpaks, not only because I support the format, but also because of containerization and the ability to clean up an application completely.

    I absolutely hate it when apps randomly place config files everywhere.

  • D_Air1@lemmy.ml
    link
    fedilink
    arrow-up
    0
    ·
    6 months ago

    I usually do distro repos, followed by aur, then flatpak if the aur version is too cumbersome (e.g. obs, game emulators). Funnily enough I use steam native because when I was using the flatpak. I had trouble with mods and things of that nature. A lot of that stuff either needs to be moved to different locations, straight up doesn’t work, or requires a bit of permission fiddling and I just didn’t wanna go through that. On the other hand. I believe there was a glibc issue on Arch that broke all games on steam native for a couple of days which the flatpak didn’t suffer from. Just goes to show nothing is perfect either way.

  • Random Dent@lemmy.ml
    link
    fedilink
    English
    arrow-up
    0
    ·
    edit-2
    6 months ago

    Personally I tend to go AUR first, then Flatpak and then Appimage if there’s no other choice. Snaps never lol

    The reason being, I find that Flatpaks sometimes have issues with not being able to access certain things in the filesystem which can cause problems. That’s presumably by design since they’re sandboxed and you can fix it with Flatseal or whatever, but it’s an extra level of fiddling that I can’t always be bothered with. I do prefer Flatpaks for certain things that are messy with dependencies though (looking at you, Steam.) Appimages I don’t really like because I hate having to go and check manually for updates for each one, it feels too much like Windows to me. But there are a couple of things that only have Appimage versions so I’ll suck it up.

    Snaps I just find to be a huge pain in the ass, and I’ve never found an app I need that doesn’t already have a version on the AUR or as Flatpak or an Appimage, so I really have no need for them.

    • Samueru@lemmy.ml
      link
      fedilink
      arrow-up
      0
      ·
      6 months ago

      Appimages I don’t really like because I hate having to go and check manually for updates for each one, it feels too much like Windows to me. But there are a couple of things that only have Appimage versions so I’ll suck it up.

      https://github.com/ivan-hc/AM

      • Random Dent@lemmy.ml
        link
        fedilink
        English
        arrow-up
        0
        ·
        6 months ago

        Oh that’s handy, thanks! I only have like 3 things as appimages but I already switched them over lol

  • lemmyvore@feddit.nl
    link
    fedilink
    English
    arrow-up
    0
    ·
    6 months ago

    people prefer AUR over Flatpaks. Why?

    Some stuff doesn’t work as Flatpak, or I actually prefer for it to be compiled against what’s actually on my system rather than a generic one-size-fits-all binary, or simply isn’t in Flatpak.

    Flathub is tiny (under 3k packages), AUR has over 85k – and yes I know that many of those are abandoned or maintained very loosely but even if you only count the packages updated in the last year that’s still over 10x bigger than Flathub.

    Examples: kernel modules, CLI tools, libraries, versions of apps compiled against old UI frameworks (like Claws-Mail with GTK2), obscure apps, drivers for obscure hardware, stuff with dubious legal standing like file sharing apps etc.

    how do y’all cope with waiting for all the AUR installed packages to rebuild after every update?

    I don’t. I disabled AUR updates and only update AUR packages when they break. Sometimes if I’m bored I’ll run a pamac checkupdates --aur and do a pamac build <package> on anything I see there that might be interesting to have a new version of. But most of the time like I said I wait for them to break, which happens surprisingly seldom.

    Alacritty takes ages to build for me.

    Yeah some apps are ridiculous. Pika Backup is another example, RPCS3, and so on. For some of those I actually resort to Flatpak.

    The choice is not always so clear cut because Flatpak stuff will tend to have random features present or missing. For example a while ago the Flatpak Handbrake could do accelerated encoding on the GPU, now it can’t. So I was forced to go back to native Handbrake.

  • limitedduck@awful.systems
    link
    fedilink
    arrow-up
    0
    ·
    6 months ago

    Users who don’t want redundant dependencies will probably prefer AUR packages. It can also be nice to manage all the packages with just the helper app. I try to install the binaries of apps from the AUR if they’re available to avoid the long build times.

  • ReallyZen@lemmy.ml
    link
    fedilink
    arrow-up
    0
    ·
    6 months ago

    An AUR package has been done for Arch by (supposedly) someone who knows what they are doing and needs it on their Arch Machine

    A Flatpak is something done by someone, to (supposedly) work everywhere, untested on Arch, that may or may not work. And crash (Ardour on Asahi). Or waste hours or you life to render files incorrectly (kdenlive on arch and asahi).

    Native versions work perfectly.

    I thought I was clever in using arch/aur for everything, but pull KDE or QT apps from Flatpak to keep my gnome install a bit more tidy… For this, you’d have to have those Flataks to work, and sometimes they don’t.

    • robber@lemmy.ml
      link
      fedilink
      arrow-up
      0
      ·
      edit-2
      6 months ago

      To be fair, there are a lot of Flatpacks published by the devs themselves (especially in the Gnome/GTK ecosystem).

  • gian @lemmy.grys.it
    link
    fedilink
    English
    arrow-up
    0
    ·
    6 months ago

    I am using both of them without any problem.

    The main advantage of Flatpaks (and things like AppImage) is that you have a single “executable” with everything you need and sometime that is useful even if the software is Opensource but the building dependencies are a nightmare. Subsurface (a dive log software) is an example.

    If the AUR package is a simple build (or a binary which is a converted package) then go for it. If you need to start building a lot of additional package from AUR to meet the dependencie then I would suggest, in order, to look for the Flatpak (or AppImage) package or to install an helper to build the packages

  • ParetoOptimalDev@lemmy.today
    link
    fedilink
    arrow-up
    0
    ·
    edit-2
    6 months ago

    I use flatpak steam and flatseal to remove user home permissions so games don’t see my files.

    I’d prefer to use Nix derivations and firejail but I couldn’t get it working last time I tried.

    My preference for nix expressions to flatpaks is for better reproducibility guarantees, easier introspection, easier debugging, and less duplication.

  • Fliegenpilzgünni@slrpnk.net
    link
    fedilink
    arrow-up
    0
    ·
    6 months ago

    AUR for niche stuff, Flatpak for everything else.

    I personally prefer Flatpak because:

    • It’s simple
    • It’s the recommended way of installation for most distros, especially image based ones, like Fedora Atomic for example
    • It’s accessible for everyone more easily
    • It works most of the time

    I use the AUR in a Distrobox container for software I can’t find any other installation method. For me, it’s to cumbersome to hop into the terminal and proceed with the installation.
    For Flatpaks, it’s just one click and it’s done.