You are not logged in.
Ok, I tried the wiki, the man pages and searched the forums.
Somehow I remember seeing a post entitled "How many packages on your machine?" and there was a pacman query option to give you a total number of them installed. Something like:
pacman -Ql
or
pacman -Q
perhaps followed with a pipe and then a bash count command?
The above gives me a list, but not a total. Does anyone know a switch or option to add to the query to tally these up?
Last edited by Misfit138 (2007-07-03 00:53:21)
Offline
pacman -Q | wc -l
That should do it.
Offline
Thank you so very much! I could not glean this from the man pages.
Offline
What number comes up from......pacman -Ql | wc -l .......?
Prediction...This year will be a very odd year!
Hard work does not kill people but why risk it: Charlie Mccarthy
A man is not complete until he is married..then..he is finished.
When ALL is lost, what can be found? Even bytes get lonely for a little bit! X-ray confirms Iam spineless!
Offline
What number comes up from......pacman -Ql | wc -l .......?
126706
Offline
What number comes up from......pacman -Ql | wc -l .......?
What kind of question is that ?
Do you want to know the number of installed files for each user or something?
pacman roulette : pacman -S $(pacman -Slq | LANG=C sort -R | head -n $((RANDOM % 10)))
Offline