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.

Comments:

No comments!

Post a comment:

Username
Password
  If you do not have an account to log in to yet, register your own account. You will not enter any personal info and need not supply an email address.
Subject:
Comment:

You may use Markdown syntax in the comment, but no HTML. Hints:

If you are attempting to contact me, ask me a question, etc, please send me a message through the contact form rather than posting a comment here. Thank you. (If you post a comment anyway when it should be a message to me, I'll probably just delete your comment. I don't like clutter.)