back

by JNRowe·7y ago·view on hn ↗
> The last package count I made of unstable was over 70,000 distinct software packages. I think stable is well below that, though probably north of 40k.

For others, like me, interested in this you can grab a txt/JSON package list for mangling locally[1].

With the data I have grabbed it is 65k vs 57k.

> Though it wouldn't surprise me if a maximal install of software alone would be well over 100 GB.

A rough estimate[2] of just ``main`` on Buster:

  $ awk -F: '/^Installed-Size/ {print $2}' /var/lib/apt/lists/*buster_main* | numsum
  272960149
1. https://packages.debian.org/stable/ - Scroll to the bottom for links

2. https://www.debian.org/doc/debian-policy/ch-controlfields.ht...

2 comments
That's installed size in kB, correct? So, 273 GB, more or less, for "main".

"Well over 100 GB" ;-)

There is even talk on supporting packages that are larger than 10GB[1], so three or four hundred gigabytes might be passed quicker than we'd think...

1. https://lwn.net/Articles/789449/ - Gives a little information if you scan for "size"

Kudos for numsum!

After so many years using Linux, I still missed that one. Thanks!