They both work great. I use paru because I prefer the color coded and highly readable diffs for AUR packages.
alias yay=âparu -Syuâ
Plus performance is much better with Rust as it uses the ownership model whereas Go has a garbage collector, slowing the entire program down.
I would honestly recommend pikaur
because with both paru
and yay
you canât type sudo paru -S <packagename>
for a package that is inside the AUR, it wonât allow you to run it as root. And if there is a build then it will keep prompting you for a root password. Unless you use --sudoloop
but honestly more typing so I might as well stick with pikaur
, as you can type sudo pikaur -S <packagename>
.
In many memory intensive programs you see this difference in performance. But in the discussion of Yay vs Paru, this is completely irrelevant. Both Yay and Paru are performant enough and suffer from the same bottlenecks that are not due to the memory allocation, so you canât really see a difference in performance.
Thatâs a bad idea, if you try to search for a package thinking youâre using yay -Ss package
you will actually run paru -Syu -Ss package
, which is almost certainly not what you want. If you must use an alias do it like this:
alias yay=paru
paru
just on its own defaults to paru -Syu
, just like yay
, so this will create fewer problems. But there will still be some, because yay
âs options are not fully identical to paru
âs options. For example, yay -Yc
wonât work, because paru -Yc
means nothing, paru
expects -c
, etcâŚ
I donât like my computer lying to me, so I donât use aliases like that. Itâs a bit like drinking skimmed milk, and pretending Iâm not actually drinking water and being lied to.
Yeah Yay is performant enough but why would they have the same bottlenecks?
I really like how fish
handles this using abbreviations. Rather than âlyingâ, it expands them in place. So, typing yay
and then space will automatically change it to paru
.
I donât use yay. This was simply and example of how to make it easy to type. However correct I donât believe you should do that with any package manager as you are correct things can get complicated. Actually I have several alias for several package management functions and believe the alias should be a description of what is going on for instance
to install packages I have the alias install and so on and so on.
I prefer to use pacman for packages from the default repos and the AUR helper for only AUR packages.
You missed a word at the end of the sentence: collected
Not sure if it was mentioned here before, but yay
is way more active in terms of developmentâŚ
(not that it really matters though)
I like both.
I use both.
The differences are mostly quite minor. Depending on how you use and what you do with them, you might find more useful differences.
You should try both, mess about and learn both configurations and look at them side by side doing the same job.
In some ways, yay has a nicer format - here you can see YAY has pretty green arrows
But paru does nicer diffs.
Also, my brain tells me that, because PARU is written using the mighty RUST and Yay is written with Go, paru should be better.
Also, if you check the activity - it would appear that YAY has more activity.
Does this just mean that itâs buggier? I havenât noticed any differences, though the package search does vary slightly⌠so Iâm quite likely to open both like this - side by side - when doing a quick search to see whatâs available.
BTW for turning your monitor into an ebook, Arianna sucks, better go with Foliate it does crash a LOT but itâs still very nice.
I am currently using yay because it came with EndevourOS. What are the minor differences?
In paru you type âparuâ and in yay you type âyayâ
There really is no huge difference between then other than that.
I switched from yay to aurutils yesterday, I ran into a package that refused to build and last time I ran Arch I was using aurutils to build AUR packages because it allowed you to build them in a clean chroot. This time the package that refused to build I was able to build, I also like aurutils better because itâs just a tool for the AUR and then it adds the built package to a local repo, after which you can install the package using pacman.