You are not logged in.
Hi,
Is there a way to query the number of packages in a given repository by means of pacman. Or yaourt, perhaps.
Offline
Don't know of a direct way, though you could pipe the output of pacman -Sl though wc
Offline
expac has a repo option; you could play with that...
Offline
Using mcmillan's idea:
pacman -Sl | grep *repo* | wc -l
For example, to get a count of how many packages are in multilib:
pacman -Sl | grep multilib | wc -l
149
This can be verified using the package search on the Arch website.
Machine: Lenovo ThinkCenter M92 (M3209) - Inte i7-3770 CPU
Offline
Offline