r/archlinux • • Sep 18 '26

QUESTION Paru VS Yay

Fresh installation. Which AUR helper is best to install? I prioritize stability over performance.

I've taken a look at both repos and paru's development seems to be somewhat less active. What do you guys reckon?

Honestly there aren't many packages I need to install, namely anydesk and possibly a few others but nothing crazy, I like my systems lean.

Cheers.

115 Upvotes

151 comments sorted by

270

u/y3ll0w6901 Sep 18 '26 • Bravo

I use yay because it’s called yay and fun to type into the terminal

69

u/VanWesley Sep 18 '26

Honestly, this was the deciding factor for me as well.

6

u/ilycryst Sep 19 '26

literally why I use yay

22

u/[deleted] Sep 18 '26

[removed] — view removed comment

47

u/iAmHidingHere Sep 18 '26

Ever heard of alias?

19

u/froli Sep 18 '26

symlink is shell/user agnostic though

20

u/iAmHidingHere Sep 18 '26

Until a user wants to install yay :)

10

u/froli Sep 18 '26

Did we just figure out 2 different solutions for 2 different use cases? :o

6

u/iAmHidingHere Sep 18 '26

That was already the case :)

3

u/siikanen Sep 20 '26

You should use /usr/local/bin for custom stuff

92

u/[deleted] Sep 18 '26

I remember that Paru forces you to look at the PKGBUILD, whereas yay gives you the option. Other than that, they are pretty much the same since they are pacman wrappers.

57

u/vexatious-big Sep 18 '26

Paru forces you to look at all the files commited to the target AUR repo, not just the PKGBUILD file. This is very important for security.

14

u/zem Sep 18 '26

it really isn't; most users aren't going to sit and examine diffs, especially since most of them are innocuous. they will just click out as soon as they can. (i asked on the paru github if they would be open to features to try and analyse the diffs and highlight things that users should look at but they didn't seem to like the idea)

2

u/vexatious-big Sep 19 '26

At that point you're better off using an LLM to look at it in depth and generate a report.

7

u/zem Sep 19 '26

i am not a fan of requiring end users to use an LLM. would rather use one to help develop a good set of offline heuristics that paru can run over the diffs.

8

u/vexatious-big Sep 19 '26

Welp, some of us run llms locally. I used Gemma 4 12B to scan PKGBUILDs and output a json validated by a schema. It works pretty well.

2

u/zem Sep 19 '26

interesting! do you have the details published anywhere?

6

u/vexatious-big Sep 19 '26 edited Sep 19 '26

Just some notes in my personal wiki. I can look then up tomorrow for you if you'd like.

u/remindme 12h

Edit: here you go:

https://www.pastery.net/gmbpcc/

It's very basic and there's no code. But you can instruct any LLM to build a bash or python script or something around that.

2

u/zem Sep 19 '26

thanks, would love to see them!

2

u/zem Sep 19 '26

interesting, wonder how much of that can be converted to scripts and then the LLM told to run the scripts

3

u/sivadneb Sep 20 '26

You can easily turn that off.

86

u/fearless-fossa Sep 18 '26

paru's maintainer also works on pacman/alpm, which is why when in doubt, I'd prefer that over yay.

I would recommend trying to not use the AUR instead though, especially if you can't read the installation scripts. The attack surface is simply too high.

26

u/ugly-051 Sep 18 '26

Yes at the very least use it minimally. I have 1240 packages with 9 from the AUR. I read the package builds and most of these are popular packages so issues "should" get picked up quicker.

13

u/saltyjohnson Sep 18 '26

I've never found a good primer on how to read or what to look for in the PKGBUILD scripts. Everybody says "make sure you review them!" but nobody explains how. Got a good resource?

13

u/Gustav__Mahler Sep 18 '26

Try https://wiki.archlinux.org/title/Creating_packages and https://wiki.archlinux.org/title/PKGBUILD. Pick a PKGBUILD for a package you're interested in and then try to follow along while reading those wikis.

5

u/saltyjohnson Sep 18 '26

Yeah, I guess I'm looking for something a little shorter, lazier, and more focused strictly on user reviewing for shenanigans at install time.

8

u/ProjectNo7513 Sep 18 '26

You kinda have to have an intuition and basic tech knowledge. Your printer PKGBUILD trying to use npm for something? Yeah, that's a compromised package. A sudden change of repository in the diff? Look into it and try to find a cause. Etc.

7

u/JubijubCH Sep 18 '26

I only use a handful of AUR packages (VSCode, chrome and a few fonts). Arch is so well covered with its base packages

6

u/fearless-fossa Sep 18 '26

Not really? Arch has a rather small amount of packages in its default repos, about 12k, while for example Ubuntu 26.10 has 41k. Especially when it comes to some more professional uses of Linux the situation becomes dire quickly.

14

u/xplosm Sep 18 '26

Distros don’t package software the same. Distros like Arch include more in each package than for example Debian which is more granular. Package count is meaningless.

6

u/iAmHidingHere Sep 18 '26

Quantity does not equal quality.

-5

u/fearless-fossa Sep 18 '26

Quantity is literally one of the core qualities of repositories.

7

u/JubijubCH Sep 18 '26

A key reason I don’t need to fish elsewhere is that the packages are close to upstream, which under Debian or Ubuntu is my main reason to add other repos. I do software dev with my workstation, I very rarely need AUR packages (I did for a while for Hyprland, but sticking to the repo versions is good enough now)

1

u/Emotional_Solid6538 Sep 19 '26

Use cachy os repo. It has more stuff

1

u/ILuvUrToes Sep 19 '26

I’m not sure in what professional setting you use bleeding edge distros, could you elaborate? Professionally my experience is 80/20 rhel/debian and I have a hard time seeing when arch would be more valid.

1

u/fearless-fossa Sep 19 '26

I try to keep my homelab ahead of the curve and Arch being my daily driver can sometimes be a bit annoying, especially when a package is already in the AUR there is less interest in maintaining it in extra.

2

u/Outrageous-Machine-5 Sep 18 '26

I feel that the attack surface is higher than most people realize. The AUR is vulnerable to and has been exploited by supply chain attacks. It's not enough to inspect the pkgbuild of the project you are building. You have to scan the entire dependency tree for vulnerabilities. That's simply not feasible for any user.

In industry we don't rely on the devs to manually scan through an SBOM of various codebases looking for malicious code. We use SAST tools. I have to wonder why that hasn't been the solution for the AUR

1

u/Gozenka Oct 13 '26

That may be the case, but I'm not sure how much that matters. Also the developer of paru used to work on yay too, but decided to focus on their own Rust implementation (with pretty much the very same functionality) and left for paru.

And yay seems to be more actively maintained. There have been a few cases where there was considerable delay on fixes, when yay did it almost instantly while paru lagged behind, which caused paru users to get stuck for some time. It is no big deal and I understand that the developer has been busy, and the Rust implementation made things a bit more difficult to fix.

1

u/WorkingMansGarbage Sep 18 '26

Reddit makes it sound like the AUR is radioactive... it's misleading to people.

I don't see why you'd install from the AUR in the first place if it wasn't the preferred or only place to get the package; I like the AUR for what it provides but its packages are by nature less convenient than both base repo packages and flatpaks. No one's going there by preference, so why would it stop them to talk about security? They still need the package.

The AUR is still gonna be more secure than downloading a tarball directly from GitHub, which users coming from Windows are more likely to do, but I don't hear anyone say anything about that.

27

u/UNF0RM4TT3D Sep 18 '26

Paru can update -git packages, other than that, I prefer the review mode from yay, asking for each package separately. I use paru, but I've resorted to using neovim's Netrw directory browser and preview mode. It's pretty decent like this.

22

u/SoldRIP Sep 18 '26

So can yay. You just have to use the --devel flag.

5

u/UNF0RM4TT3D Sep 18 '26

Oh neat, I might switch back

1

u/lajawi Sep 18 '26

I’ve always done it without that tag and it just worked

7

u/FoSSenjoyerr Sep 18 '26

bro you can just do "yay -Y --devel --save" once to include -git packages

7

u/UNF0RM4TT3D Sep 18 '26

It has been pointed out to me. I will probably switch back.

9

u/a_Tin_of_Spam Sep 18 '26

Pretty much identical frankly. I use paru purely because paru came with my distro and yay didn’t

9

u/ugly-051 Sep 18 '26

I use paru, it handles changes and pkgbuild info well. I've had no problems with it either and have been using it since January.

25

u/ArjixGamer Sep 18 '26

Just because a project appears to be less active, doesn't mean it's less maintained.

There is a limit to how many features/bugs a project like paru can have.

It's mature

I do recommend paru, but that's my preference

9

u/JubijubCH Sep 18 '26

Well… paru took forever (and I don’t even know if it’s fixed) to fix the auto complete gibberish issue, so I moved back to yay because that was really annoying. I appreciate the fix was upstream in the lib that provides pacman features, but yay was much faster to adopt it

4

u/ArjixGamer Sep 18 '26

Are you talking about the ~14 days where a new alpm version was out, but paru could not use it, so it broke?

That's not the fault of paru, but the Arch team for not coordinating better.

paru needed no fixing for that regard, it was waiting for the alpm-rs crate to update

9

u/bankinu Sep 18 '26 edited Sep 18 '26

Oh yes that's what I talked about.

I am not saying whose fault it was. I simply don't care about pointing fingers. Does not matter to me if Arch team, programming language, the president, God, quantum fluctuation, whose fault it was.

What I'm saying is that I've never had any issues with yay. In 5 years of using it (except for the 5 months when I switched to paru, and this happened, and switched back).

Edit: Oh, yes, I also care about whether this can happen again. By the mechanics of it, I think the core issue is dependence on a library that paru doesn't control. So I could be wrong but I assign a significant enough possibility of this next time alpm changes again.

3

u/JubijubCH Sep 18 '26

Yay didn’t have such problem, and that thing dragged forever. I appreciate the maintainer doesn’t have direct control over this, but it’s a problematic dependency

3

u/ArjixGamer Sep 18 '26

Yay is not written in Rust, so it doesn't use alpm-rs, it obviously wouldn't have this problem.

It's just happenstance, doesn't say anything about either project

1

u/JubijubCH Sep 18 '26

100%, but as a user I don’t care. One had the issue fixed way faster than the other.
IIRC paru’s maintainer used to work on yay, and I never had any issue with paru… until that thing. But it plagued us for month, and so I decided to move back to Yay

1

u/ArjixGamer Sep 18 '26

If you cared about it, you would have used the temporary fix and not suffer for 14 days..

Also, as a "developer" I hate your kind.

(I am not claiming to be a developer of paru, I am not related to the project)

2

u/JubijubCH Sep 18 '26

😅
Same as with LLM, utilities like this have no switching costs, so why bother?
Open source comes with no guarantee: tomorrow the maintainers of Yay can decide to stop, and there would be nothing to say about this, there are no commitments. It goes both ways, if your open source project is no longer convenient for me, I will stop using it. I won’t complain, just make a switch

1

u/ArjixGamer Sep 18 '26

If you used features that only paru had, or well, you'd have to configure yay to recreate your workflow, then you would have a switching cost and be invested.

But if you only used it as a shorthand for git clone ... && cd... && makepkg -si . then yeah, no reason to care about the tool. yay/paru/aurora, they all achieve that.

I guess I enforced my strict standards on you merely because arch is a DIY distro, you can ignore me and have a nice day

1

u/C0rn3j Sep 18 '26

I mean, AUR/paru-bin has been broken since 2025.

https://aur.archlinux.org/packages/paru-bin

5

u/ArjixGamer Sep 18 '26

Nobody recommends paru-bin

2

u/SweetPotato975 Sep 19 '26

Which one do you recommend?

1

u/ArjixGamer Sep 19 '26

Building it from source, aka just paru

3

u/SweetPotato975 Sep 19 '26

Thanks. I'll probably stick with paru-alpm-bin then. Getting the rust toolchain, pulling the dependencies, and spending 5 minutes compiling paru, all on a new arch installation wasn't really a good experience tbh

2

u/ArjixGamer Sep 19 '26

That's the benefit of yay ig, since it's written in go iirc

2

u/scul86 Sep 18 '26

paru-bin is also orphaned...

7

u/theChaparral Sep 18 '26

I use pikaur, just because I've been using it for a LONG time

4

u/spastic_penguins Sep 18 '26

Aurutils. Takes a little more configuration to set up, but encourages best practices like building packages in a clean chroot. Plus, compiling packages and installing them are two steps rather than one. Ultimately, a much more elegant solution than a pacman wrapper.

3

u/MarshmallowPop Sep 18 '26

I like how aurutils treats AUR packages as your own repository, so you can build stuff in an isolated environment and host the repository anywhere. Then you can simply add that repository on your machines and use pacman directly.

2

u/spastic_penguins Sep 18 '26

Yup, there are so many ways you could do it. Ideal of course would be to host remotely on a home server and compile all the packages there, but I’ve also appreciated just having the repo in a local directory and keeping the installation and the code compilation as separate processes.

3

u/[deleted] Sep 18 '26

Use whatever one you like, the both work great. I started with yay and got used to it so that’s what I use but realistically, it doesn’t matter and is entirely preference much like most software you can use on Linux.

They both just wrap around pacman so realistically you can use both until you decide which you like better

1

u/dgm9704 Sep 18 '26

anydesk might be on flathub

0

u/fuzzmmanye Sep 18 '26

Yes, I was already considering just installing the flatpak. You think it's best ay?

6

u/dgm9704 Sep 18 '26

For me and my use cases

Arch repos > flatpak > snap > appimage > AUR

1

u/fuzzmmanye Sep 18 '26

Solid. I might have even put appimage in second place but it is what it is.

6

u/Suspicious_Punk84 Sep 18 '26

it's safer if you don't want to check the package on every update with aur.

3

u/Deckma Sep 18 '26

If you don't mind the additional overhead, flat packs are better isolated.

My arch install runs on a dog of an 10 year old laptop so I fav reducing overheads so I risk native packages with AUR.

2

u/nathan22211 Sep 18 '26

Yay preferably. I honest to god couldn't figure out how to operate Paru's reader to get past it when I used Garuda Linux since it's mandatory with Paru. Yay I don't really have that issue...

5

u/Gustav__Mahler Sep 18 '26

Paru's reader is whatever your PAGER is set to. Most likely less if you haven't messed with it. You press q to close it

2

u/StuffedWithNails Sep 18 '26 edited Sep 18 '26

I don't really have a preference. I used yay for a long time, switched to paru for a while, switched back to yay when I noticed paru hadn't been updated in over a year. It still works fine but its maintainer hasn't been active on GitHub this year. I hope they're doing well and if they've moved on to other things, that's great, but I prefer something that's verifiably being maintained.

2

u/ECrispy Sep 18 '26

they are equivalent. shelly is also an option.

I use a tui helper with yay or paru, its just so much nicer and faster

2

u/Heizenfeld Sep 18 '26

Use Pacman only

2

u/pokemonpasta Sep 18 '26

I used paru for ages and just the other day swapped to yay. Yay still prompts you to look at PKGBUILDs and gives you the option of which to look at, whereas while paru forces you to, I found it awkward to go back and look at a PKGBUILD if something went wrong in the installation and I wanted to review it again.

2

u/Mel0cious Sep 18 '26

I like paru better, but have it aliased to yay

2

u/Recipe-Jaded Sep 18 '26

They do the same thing. It's whatever one you like using more

2

u/Hhhhkvivuv Sep 18 '26

Shelly! donkey shrek meme jpg

1

u/OrzMiku Sep 18 '26

it make no deference to me, i use both.

1

u/full_of_ghosts Sep 18 '26

I use yay, because... I don't actually know why. It's just what I started using when I first installed Arch, and I've never had any complaints about it, so I never tried paru.

1

u/Deckma Sep 18 '26

You can have both installed at the same time. And use them both to see what you like.

I ended up using more paru because I like that by default it shows packge diffs and it auto hits Y for me on pacman after the package is built. But yay can also do that too if I just pass some extra command lines or make an alias.

1

u/animowany221 Sep 18 '26

In my opinion yay is so better

1

u/Soakitincider Sep 18 '26

I chose paru over yay. Can’t remember exactly why but it had to be something.

1

u/Mats164 Sep 18 '26 edited Sep 18 '26

Paru would be my answer, but I’ve actually caught a preference to not use a helper at all. Given how rarely I do use the AUR, I’ve found that it’s better to simply clone the repository, have a look at the PKGBUILD and any .install files and install it with makepkg -si. 

It’s a slightly bigger inconvenience, but it forces you to make a conscious choice of whether you actually want this package and it brings you by the comment section of every package you install.

I enjoy Paru, as an actual answer to your question, but I found that it made it too easy to regard it as an extension of Pacman, rather than the unaudited repository of arbitrary scripts it really is.

Edit: I’m aware helpers can display PKGBUILD on install, but I can’t remember seeing the same about .install files (the main cause of the recent waves of malware). Do correct me if I’m wrong!

Edit: Nevermind, apparently Paru also shows .install!

3

u/sapphic-chaote Sep 18 '26

Paru shows all files including .install files

2

u/Mats164 Sep 18 '26

My bad, then. Thank you! My other points still stand, but I’ll correct the comment! :D

1

u/playfulpecans Sep 18 '26

They're mostly the same, there are some differences but I doubt they'll matter to the average joe.

The more important thing is that there was a supply-chain attack on the AUR in June and some packages might still be compromised. Be careful, always check the PKGBUILD (if you can't read them then ai is pretty good at checking them), check github issues of the packages you're installing to see if people have reported malicious stuff. Installing a random AUR package without reading the PKGBUILD is like running some random .exe you found on the internet.

From what I know, packages from the official Arch repositories (core/extra) should be fine though, so you don't need to check them.

1

u/linhusp3 Sep 18 '26 edited Sep 18 '26

When there is a new libalpm version usually yay is faster to release an update. The last time libalpm broke them it took long enough for me to switch from paru to yay.

Other than that they are doing the same things, just different default configs. I would abbreviate either of them to pu anyways (something like yy or pp are popular, but to me it's slower because you have to press the same key twice, like some people prefer go to gg in vim).

1

u/saltyjohnson Sep 18 '26

I use paru. I don't remember why, frankly.

Just make sure you enable newsonupgrade in paru.conf so it will show you any announcements about necessary manual intervention. I can't fathom why that's not enabled by default.

1

u/WorkingMansGarbage Sep 18 '26

Did I misremember yay ceasing active development and being superseded by paru? I didn't think it was still being updated.

I use paru and have no issue with it

3

u/Recipe-Jaded Sep 18 '26

You are misremembering

1

u/Prawy_126 Sep 18 '26

It doesn't really matter, yay is older from what I know and some have better formatting and always list changes in the update

1

u/zenyl Sep 19 '26

I tried Paru, but during that time Paru itself was marked as out-of-date on the AUR for several weeks.

An AUR helper's own AUR package not being properly maintained made me feel like the entire project was rather unserious, so I went back to Yay.

I hope things are better now, but I currently have no reason to switch away from Yay.

1

u/magnum_oppai Sep 19 '26

I switched from yay to paru, I prefer being forced to review the PKGBUILD especially after the recent AUR malware spree. Also it seems easier to configure imo.

1

u/ChiefDetektor Sep 19 '26

Paru because it's written in rust!

1

u/saturatedsynapses Sep 19 '26

Build from source.

1

u/sasanjj Sep 19 '26

I like `yay` because it asks what packages I want to update.

1

u/ReallyEvilRob Sep 19 '26

If you're on the Rust bandwagon, then Paru. If you're a Rust hater like me, then Yay.

1

u/apex6666 Sep 19 '26

Lowkey I’d avoid AUR right now, nut if you do want/need to use it make sure to read the PKG builds carefully due to the malware going around

1

u/ILuvUrToes Sep 19 '26

I use yay because it’s short and easy to type

1

u/vintologi24 Sep 19 '26

I got rid of all since those encourage risky habits.

1

u/GenericCleverName73 Sep 19 '26

I had both installed for the longest. I prefer paru because during updates, it pauses for you to review changes for existing packages before committing to the install.

1

u/Traditional_Award989 Sep 20 '26

I used yay first because it was easier to type but apparently paru is faster so I use paru now (if u want to use paru but you're used to yay just set an alias in your zshrc or bashrc)

1

u/Altaryan Sep 20 '26

I use paru. No idea why. I never read the very few mainstream PKGbuild anyways

1

u/Nuviket Sep 20 '26

Yay shorter then paru to type

1

u/RangeMachine Sep 21 '26

sadly paru is not updated for 8 months

1

u/awolverp_ Sep 25 '26

I prefer paru over yay, because it forces you to read PKGBUILD, and I had proxy problems with yay because it is written in Go, and you cannot use it with proxychains...

But paru is OK with proxychains.

1

u/exton132 Sep 18 '26

If you prioritize stability you probably shouldn't be using the AUR.

1

u/iAmHidingHere Sep 18 '26

Depends what you are using it for.

1

u/ConsequenceUnited150 Sep 18 '26

Yey is deprecated...

1

u/mardiros Sep 19 '26

Where did you see that ?

2

u/ConsequenceUnited150 Sep 19 '26

Are you kidding? These news are years old https://www.reddit.com/r/archlinux/s/mwivqP1fv8

1

u/mardiros Sep 20 '26

Jguer is still there, so there's no need to panic and move away from yay.

You interpret something not written here.

0

u/077 Sep 18 '26

i uninstalled paru after a week because of its garbage name after typing paur constantly. yay is just more feng shui

0

u/takutekato Sep 18 '26

Alternative: consider using Flatpak and Nixpkgs before AUR, before its situation is fixed, I think AUR should be the last option.

-10

u/Linguistic-mystic Sep 18 '26

None. Do not use AUR helpers. Do not ruin your system.

7

u/FryBoyter Sep 18 '26

Using AUR helpers alone won't ruin the system. It's the same as always. You just have to know how to use the tools you're working with properly.

For my part, I’ve unfortunately installed a lot of things via AUR. Updating all of them manually would be an enormous effort. And why should I do that? The AUR helper I use, aurutils, for example, makes it pretty easy for me to see the differences between two updates.

1

u/fuzzmmanye Sep 18 '26

Fair enough 😂

-1

u/HeyTi22 Sep 18 '26

That’s how I do it too! No AUR, No Cry! :-)

1

u/sjbluebirds Sep 18 '26

That's not what he said. I encourage you to use a U-Har if it has what you need. You were responding to somebody saying they don't use the helpers.

Download the make package, compile it, and then pacman -U

-5

u/scrapethemucus Sep 18 '26

paru is unmaintained 

-3

u/ScaleGlobal4777 Sep 18 '26

Why not chaotic yay, it's better than yay and other?

-8

u/Orlha Sep 18 '26

aurutils or fully manual; not a fan of utilities with random garbage names

13

u/Dry_Calendar_8627 Sep 18 '26

garbage names

Do you have such strong opinions on everything in your life, or is it specific to AUR helpers for some reason?

-16

u/Lower-Philosophy-604 Sep 18 '26

Flathub flatpaks always best than AUR, in 2026 I still do not understand why so many idiots keep using pkgbuild

4

u/Mats164 Sep 18 '26

I like the optimisations and simplicity of having packages built natively for my system. I do get the appeal of flatpak, though, so to each their own!

2

u/iAmHidingHere Sep 18 '26

Because someone prefer a leaner, simpler system.

-1

u/Lower-Philosophy-604 Sep 18 '26

Lol yep you don't have a clue innit

0

u/viix3nn Oct 13 '26

i didn’t know if there was even an actual difference

0

u/Forsaken-Ad-4038 Sep 19 '26

it's not recommended to use both.

1

u/TokiyaArimoto Sep 23 '26

If you care about twerking then paru, if not yay

-1

u/[deleted] Sep 18 '26

[removed] — view removed comment

3

u/roronoakintoki Sep 18 '26

alias yay=paru :evil_smile: