Quickly view installed (Gentoo, portage) package sizes
2024-12-13 11:04 - Linux
I've known about gentoolkit for a while. For that time equery has been my standard way to inspect portage. Turns out there's (a whole collection of useful portage tools, including) also the "q applets". These Q applets are typically faster, and one of them will report the installed size of packages.
$ qsize -m | sort -t , -k 3 -n | column -t -s , ... sys-devel/gcc: 1746 files (1742 unique) 100 non-files 282 MiB dev-lang/rust-bin: 131 files (125 unique) 31 non-files 474 MiB sys-kernel/linux-firmware: 4204 files 379 non-files 1218 MiB sys-kernel/gentoo-sources: 81770 files 5322 non-files 1291 MiB
I've got reason to inspect installed package size and I just found this. And it executes in only a few seconds on my machine with nearly 800 packages installed.