this post was submitted on 08 Apr 2026
49 points (98.0% liked)

Linux

64644 readers
698 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 6 years ago
MODERATORS
 

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.

top 50 comments
sorted by: hot top controversial new old
[–] DefinitelyNotBirds@lemmy.ml 21 points 1 week ago (2 children)

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?

[–] pineapple@lemmy.ml 1 points 6 days ago

I haven't actually installed an aur helper yet but when I end up needing one, I think I will go with paru.

[–] thingsiplay@lemmy.ml 14 points 1 week 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.

[–] thingsiplay@lemmy.ml 15 points 1 week ago (1 children)

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 2 points 1 week 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.

[–] ada@piefed.blahaj.zone 9 points 1 week ago

I don't like Flatpak, so that makes it an easy choice for me. Flatpak apps never quite integrate properly

I like having Flatpaks as a fallback option, but if something is available in the arch repos, aur or chaotic-aur, I'll always go there first

[–] Nibodhika@lemmy.world 8 points 1 week ago (9 children)

Your question is not Arch specific, it's "should I use flatpaks?" And the answer in my opinion is probably no.

Flatpaks are a good idea to isolate certain applications and to provide a uniform way of installing packages. So there might be some apps that are not available in your native package manager, but do provide flatpaks. For those cases flatpaks are probably preferred. But Arch based distros have the AUR, so there are a lot of apps that aren't packaged for Arch that you can still get as a native package. Sure, using the AUR is risky and if you're not on actual Arch things might break sporadically because of mismatched dependencies (although I think CachyOS is full parity of packages with Arch, so that's maybe more of a Manjaro warning).

But flatpaks are clunky, bloated, require annoying permissions to be set to do basic things, and require you to update two package managers to do a full system update. They are more appealing for systems where you don't want to give users root access but still allow them to install programs, but for your own computer I have never seen the appeal.

[–] FukOui@lemmy.zip 2 points 1 week ago* (last edited 1 week ago) (1 children)

I guess you could put it that way. For most general applications, I prefer to use flatpak over pacman. Pacman and arch's repos to me are still very confusing over other package managers (dnf, apt, etc)

[–] Nibodhika@lemmy.world 2 points 1 week ago

What makes it confusing to you?

load more comments (8 replies)
[–] Ooops@feddit.org 6 points 1 week ago* (last edited 1 week ago) (1 children)

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.

[–] pineapple@lemmy.ml 1 points 6 days ago

That's interesting I have steam installed through pacman and I haven't had any issues.

[–] juipeltje@lemmy.world 6 points 1 week ago

You can choose between things like flatpak or aur packages, but you're gonna have to use pacman either way, since your core packages are still managed by pacman even if you decide to install most things through flatpak. Just wanted to point that out in case you were thinking of not using it at all anymore, cause it's definitely not good to have your system get extremely out of date overtime. Having said that, it's a matter of preference. The aur has more packages available, but flatpak has verified packages available, so assuming you stick to those, it could be safer. It also offers things like sandboxing. When i was on arch i only used the aur. I usually go with whatever has the most packages available or whatever is most convenient.

[–] Maiq@piefed.social 5 points 1 week ago (1 children)

Look into the Chaotic AUR. It offers pre compiled AUR programs. Almost every app I really need has been there. If it's not in there and I really need it and will get used often I'll get it from the AUR.

I dont really like flatpaks much. I'll use it if it's easy and I dont plan on using the app much. Apps like Bottles. They are nice to have but rarely do I use it.

[–] pineapple@lemmy.ml 1 points 6 days ago (1 children)

Why would you download precompiled AUR binaries? it just seams more stable and secure to compile yourself, with this your trusting a third party when you didn't have to.

[–] Maiq@piefed.social 2 points 5 days ago

For me it's convenience, i try to not have a bunch of aur packages. Some big packages can take a good while to compile.

Chaotic is also trying to combat threats by reviewing packages from maintainers that are not in their trust database. While not absolutely perfect at least they are trying to do something.

The aur is a use at your own rick batch of packages. Last year there were some malicious packages running wild. AUR expects the user to do their own due diligence and do you really have time to read every bit of code you are about to install for every update in all the possible languages they could be written in? This is why I try to limit my dependence on the aur if possible chaotic or otherwise.

[–] Cyber@feddit.uk 5 points 1 week 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.

[–] IEatDaFeesh@lemmy.world 5 points 1 week ago (2 children)

What do you mean by "bloated"? How many more bytes does the flatpak version have compared to its counterpart?

[–] pineapple@lemmy.ml 1 points 6 days ago (1 children)

I did a quick search and for steam the pacman package installed size is 19mb while the flathub package installed size is 51mb.

That's actually a way bigger difference than I thought it would be.

[–] IEatDaFeesh@lemmy.world 1 points 5 days ago

If 40 MB is important to you then it seems like a no brainer to use pacman.

[–] FauxLiving@lemmy.world 6 points 1 week ago* (last edited 1 week ago) (1 children)

Depends on the program, they don't use system libraries so if they have a lot of dependencies then they'll be larger.

An example:

Steam Flatpak: 35MB

Steam pacman: 19MB

On one hand, it's only a few MB. On the other hand, it's 54% larger.

Flatpaks can also depend on other flatpaks. For example, graphics card support requires about 1-1.5GB of flatpak dependencies even though your system already has graphics card drivers.

[–] CodenameDarlen@lemmy.world 6 points 1 week ago

I just don't understand how people still use Flatpak.

Once I had to download a small app 400kB more or less, and suddenly it started downloading 200MB of environment packages.

Never again.

[–] CrabAndBroom@lemmy.ml 5 points 1 week ago (2 children)

I use an unholy blend of paru, Flatpak, Docker and AppImage apps (no Snap!) with Topgrade to update it all.

[–] pineapple@lemmy.ml 1 points 6 days ago

Topgrade seems really cool, I wonder how it compares to arch-update

[–] OUwUO@programming.dev 2 points 1 week ago (1 children)

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

load more comments (1 replies)
[–] Aceofspades@lemmy.ca 4 points 1 week ago

Personally, I use pacman when possible and flatpak when it's not. I try to avoid the aur as I have had too many problems with missing dependencies or version conflicts. Plus, I don't generally need things that are not in the repositories so it rarely comes up.

"But flatpaks are not lean!" While this is true, I find flatpaks don't break my system. Flatpaks do use more resources, from storage to RAM, but I have plenty of both so it's not really a concern.

[–] iglou@programming.dev 4 points 1 week 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.

[–] SolarPunker@slrpnk.net 4 points 1 week ago

Always use native pkgs if possibile (so use pacman/paru)

[–] milk@discuss.tchncs.de 4 points 1 week ago

I use native packages wherever possible, then flatpak's after that, and then aur pretty much only for things that don't run well in flatpaks. I really don't want to have to look through 50 different pkgbuilds every time there's an update and the downsides to flatpaks are, I believe, largely overstated

[–] mub@lemmy.ml 4 points 1 week ago

pacman / yay

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

[–] MonkderVierte@lemmy.zip 4 points 1 week ago* (last edited 1 week ago) (6 children)

Yay. Add ssu (a 120 loc C tool) as "sudobin" in it's config and you've got a passwordless package manager.

And btw, that question is covered already.

load more comments (6 replies)
[–] nothx@hexbear.net 3 points 1 week ago* (last edited 1 week ago) (1 children)

I just reinstalled arch last weekend and have both paru and yay installed. Only real difference between them is yay is Go and paru is Rust. Both work great and very similarly. I think the paru dev originally worked on yay.

I tend to choose the pacman and aur over flatpaks or snaps, something about the isolation layer never sat right with me.

load more comments (1 replies)
[–] Kangy@lemmy.dbzer0.com 3 points 1 week ago

Shelly is another option, comes pre installed on CachyOS. It's aiming to modernise pacman. It's been pretty good for my usage.

It has a GUI that can handle native repos, the AUR, flatpaks and app images. It can also be used in your CLI as well

[–] AstroLightz@lemmy.world 3 points 1 week ago* (last edited 1 week 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

[–] woodsb02@lemmy.ml 3 points 1 week 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.

[–] Obin@feddit.org 2 points 1 week ago* (last edited 1 week 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.)

[–] bad1080@piefed.social 2 points 1 week ago

i used their version of discover (forgot the name) and found it has mostly everything i was looking for (surprisingly so)

[–] communism@lemmy.ml 2 points 1 week 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.

[–] nothx@hexbear.net 2 points 1 week ago

Im running arch proper, nothing come pre-installed. But I originally used paru and then installed yay cuz I was troubleshooting something. Never removed it.

Fo what it’s worth, it doesn’t hurt anything to have multiple installed so you can see which you like. They shouldn’t interfere with eachother.

load more comments
view more: next ›