Then that site is completely wrong. I’m not even sure where the 38k number comes from.
If you go to https://packages.debian.org/stable/, at the bottom of each branch page (selectable from the top list) is a link to a txt list of all packages for that branch.
If you run a quick wc -l through them you get 234k packages for sid (unstable), 130k for testing and 121k for bookworm (stable).
The wierd thing is that’s also what repology links to, but I don’t understand what they parse to arrive at that number.
The numbers are different because the site doesn’t naively count every line but merges some as a single package. For example, at the very top of the Debian list we have 0ad, 0ad-data, 0ad-data-common. These are all counted as one single “package.”
One might argue that doing the comparison in that way is more useful to an average user asking “which distribution has more software available.”
I guess it depends how aggressively they merge packages… Some software has different versions which are all useful. Some software has multiple packages which are different things, for example a theming engine can have packages for various widget libraries and various versions (GTK3, GTK4, QT5, QT6) as well as an icon theme.
On the other hand, repos like the AUR (probably nix too) have outright duplicated packages, made by independent contributors.
Unrelated but curious, why do people say that nixpkgs is the largest package repo? Debian unstable has over 200k packages.
They say that because https://repology.org/repositories/statistics/total says so. Debian unstable has 38k packages according to that page.
Then that site is completely wrong. I’m not even sure where the 38k number comes from.
If you go to https://packages.debian.org/stable/, at the bottom of each branch page (selectable from the top list) is a link to a txt list of all packages for that branch.
If you run a quick
wc -l
through them you get 234k packages for sid (unstable), 130k for testing and 121k for bookworm (stable).The wierd thing is that’s also what repology links to, but I don’t understand what they parse to arrive at that number.
The numbers are different because the site doesn’t naively count every line but merges some as a single package. For example, at the very top of the Debian list we have 0ad, 0ad-data, 0ad-data-common. These are all counted as one single “package.”
One might argue that doing the comparison in that way is more useful to an average user asking “which distribution has more software available.”
I guess it depends how aggressively they merge packages… Some software has different versions which are all useful. Some software has multiple packages which are different things, for example a theming engine can have packages for various widget libraries and various versions (GTK3, GTK4, QT5, QT6) as well as an icon theme.
On the other hand, repos like the AUR (probably nix too) have outright duplicated packages, made by independent contributors.
Right, and the stable and unstable versions of the same package don’t get counted twice.
It’s based on the stats found here. https://repology.org/repositories/statistics/total