You are not logged in.

#1 2020-09-07 08:01:10

MPK7736
Member
Registered: 2019-11-03
Posts: 3

How to sort AUR packages by popularity while installing something ?

AUR providers like yay, trizen, etc. have their own syntaxes to install something. But none of them provide documentation about how to sort out the packages in "popularity" order instead of default "alphabetical order". There's a percentage for every package that shows "popularity" i.e, total no of installs to that package from all users. That's what I want to sort them, not by alphabetical order.

Last edited by MPK7736 (2020-09-07 08:04:24)

Offline

#2 2020-09-07 08:16:48

sabroad
Member
Registered: 2015-05-24
Posts: 242

Re: How to sort AUR packages by popularity while installing something ?

pacman doesn't send reports on installed packages like some other managers.

There's pkgstats but it's entirely optional (and, I'd argue, not widely installed).


--
saint_abroad

Offline

#3 2020-09-07 08:19:26

Awebb
Member
Registered: 2010-05-06
Posts: 6,688

Re: How to sort AUR packages by popularity while installing something ?

If you don't want to get in touch with the makers of whatever you think an "AUR provider" is, then it's time to write your own AUR helper. https://wiki.archlinux.org/index.php/Au … _interface

Offline

#4 2020-09-07 08:20:40

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 25,372

Re: How to sort AUR packages by popularity while installing something ?

man yay wrote:

  --sortby <votes|popularity|id|baseid|name|base|submitted|modified>
              Sort AUR results by a specific field during search.

I'm sure other helpers will have similar flags, so I'm not quite certain which documentation you are reading to make the claim that they do not document this.

Last edited by V1del (2020-09-07 08:22:09)

Offline

#5 2020-09-07 08:32:58

Mr.Elendig
#archlinux@freenode channel op
From: The intertubes
Registered: 2004-11-07
Posts: 4,097

Re: How to sort AUR packages by popularity while installing something ?

Sidenote: the voting stats are pretty useless.


Evil #archlinux@libera.chat channel op and general support dude.
. files on github, Screenshots, Random pics and the rest

Offline

Board footer

Powered by FluxBB