So I recently installed Cachyos and I am now met with this problem.

There are kind of 2 main contenders here and I’m split between them. What do you use?

There is pacman + aur and then there is flatpak. Pacman has deep system integration and is much more lightweight but it has deep system integration and requires sudo to install. flatpak has sandboxing and easy permission management but it’s bloated and possibly less performant?

Of course if the package isn’t available on flathub then I will have to use the aur but when both are available it’s hard to decide.

  • communism@lemmy.ml
    link
    fedilink
    arrow-up
    2
    ·
    4 hours ago

    Yay

    I only use flatpak for one Python program because it has a lot of runtime dependencies I don’t want to bother with. I generally wouldn’t use flatpak.

  • JackbyDev@programming.dev
    link
    fedilink
    English
    arrow-up
    2
    ·
    7 hours ago

    There is pacman + aur and then there is flatpak.

    This is sort of like asking “which fruit juice do you use, an acme apple juicer or a blamco orange juicer.” If I need a flatpak, I use flatpak. Sometimes things only have flatpaks and aren’t on the AUR.

    If it’s on both, nowadays I typically prefer the non-flatpak version, but that’s just sort of vibe based, I don’t really have a good reason. I think I ran into a few (very minor) problems with flatpaks (that were probably easy to fix) that I didn’t have with the non-flatpak version and that skewed me in that direction.

  • SayCyberOnceMore@feddit.uk
    link
    fedilink
    English
    arrow-up
    4
    ·
    10 hours ago

    when both are available it’s hard to decide.

    It’s easy to decide: AUR (only)

    Personally, I use pacman for as much as I can, then dip into yay for anything else.

  • Obin@feddit.org
    link
    fedilink
    arrow-up
    3
    ·
    edit-2
    14 hours ago

    I have both yay and paru on the two Arch systems I manage, because pacman tends to break those occasionally through dependencies and that way I don’t have to do the whole makepkg bit again and instead can update the one with the other. I still find it asinine that these aren’t in the repos or the functionality isn’t integrated in to pacman, but since Arch’s entire philosophy is based on simplicity, I guess the chosen solution to secure user packages is security by obscurity.

    (I only still use Arch on those systems because I haven’t gotten around to migrate them to Gentoo yet, after implementing a binpkg repo and custom profiles many years ago so compiling on the weaker machines is essentially unnecessary, btw.)

  • iglou@programming.dev
    link
    fedilink
    arrow-up
    5
    ·
    17 hours ago

    My reason for using arch linux is to have as little bloat as possible. So, pacman. Yay sometimes for AUR stuff, but my need for it is rare.

  • mub@lemmy.ml
    link
    fedilink
    arrow-up
    3
    ·
    18 hours ago

    pacman / yay

    I also like pacseek as it provides a simple tui for package search and getting info about packages.

  • woodsb02@lemmy.ml
    link
    fedilink
    arrow-up
    2
    ·
    18 hours ago

    For command line apps, I use paru for AUR. For desktop apps, if they’re available as a flatpak, I prefer that for the increased security provided by the sandbox. Otherwise I use Arch packages or AUR. I even uninstall GNOME apps (calendar, weather) from pacman, and install their flatpaks.

  • TruePe4rl@lemmy.ml
    link
    fedilink
    English
    arrow-up
    1
    ·
    20 hours ago

    pacman + yay + appman (in cases where appimage is more convenient)

    If you need something from AUR, Chaotic AUR builds some of them.

    Technically I also use managers for certain languages and environments, so sometimes cargo, pip, luarocks, … whatever.

    I did try to use flatpak in the past, but I just found it annoying. If you do not explicitly need it’s capabilities for a certain app it is mostly makes accessing app’s config and data a major annoyance imo.

  • DefinitelyNotBirds@lemmy.ml
    link
    fedilink
    arrow-up
    28
    arrow-down
    1
    ·
    2 days ago

    Pacman plus the AUR is the move on Arch based distros. The AUR gives you access to basically everything, and paru or yay handles the build chain without pain. Flatpak has its place for apps that ship messy runtime dependencies, but for most things it adds an unnecessary isolation layer. Have you tried paru as your AUR helper yet?

    • thingsiplay@lemmy.ml
      link
      fedilink
      arrow-up
      16
      ·
      2 days ago

      I sometimes prefer Flatpak over AUR, because I do not trust everyone on the AUR to run scripts with root rights on my system. At least Flatpaks are a bit sandboxed (even if the sandbox is an illusion) and the programs don’t install and run with root rights. Sometimes the Flatpak is from the original developer and the script in AUR is not. Or the AUR script is not updated well and often enough, unlike day one Flatpak updates. But Flatpaks do not integrate well in your system and applications can look out of place too. There is a lot to consider, besides what you already mentioned.

      I use both, prefer the AUR in optimal cases.

  • Ooops@feddit.org
    link
    fedilink
    arrow-up
    9
    ·
    edit-2
    2 days ago

    Paru, so Pacman & AUR…

    With exactly one exception: Steam via flatpak because that’s the single package left that would need 32bit libraries from multilib-repo since Wine finally left those dependencies behind.

    • OUwUO@programming.dev
      link
      fedilink
      arrow-up
      2
      ·
      16 hours ago

      Upvoted for Topgrade. It’s honestly so good on any system that employs more than one ‘updatable microcosm’,

      • Random Dent@lemmy.ml
        link
        fedilink
        English
        arrow-up
        1
        ·
        5 hours ago

        It’s like magic too, because any new weird kind of package manager I add, it’s just picks it up and starts updating it. It can even update Windows apparently.

  • thingsiplay@lemmy.ml
    link
    fedilink
    arrow-up
    15
    ·
    2 days ago

    I use yay, as it comes by default with EndeavourOS. It’s basically an AUR helper that uses pacman and works quite the same.

    Flatpak is a different package manager and has nothing to do with your system packages. They are not exclusive, I use both. So what you basically asking isn’t which package manager people use, but rather which package format.

    • v_krishna@lemmy.ml
      link
      fedilink
      English
      arrow-up
      3
      ·
      2 days ago

      Same here, I tried a number of arch derivatives and arch as well when I got a new desktop last year (after many years of mac work computers, iMac desktop for my kids, mostly Alpine images in the cloud/on k8s, and many many years of mostly Debian and fedora derivatives before I had kids and had time to putter around with *nix). Endeavor suited my needs (some local LLM stuff, personal browsing, a few OSS projects, and Steam) and yay has generally worked great to bridge the gap between pacman and aur.

  • AstroLightz@lemmy.world
    link
    fedilink
    arrow-up
    3
    ·
    edit-2
    1 day ago

    pacman /w chaotic-aur.

    I don’t need the AUR directly, a GUI, or other managers. Just what came with my system + chaotic works just fine.

    edit: typo