PDA

View Full Version : A couple pacman function questions



YodaMstr
July 13th, 2008, 07:19 PM
I remember a thread on the official forums a while back that gave a command which listed the number of total installed packages and such as that. I also remembered a command that listed true orphan packages which had not been explicitly installed. Could someone point me in the right direction on these? Also, is there a command to show the total size of all the packages installed so far? Thanks.

Dr Small
July 13th, 2008, 07:37 PM
I haven't searched, but this should do it.
For Total Packages:

pacman -Q | wc -l

For Orphans:

pacman -Qe | wc -l

kpkeerthi
July 14th, 2008, 06:17 AM
To find the orphans, you should use

pacman -Qdt