73
submitted 2 months ago by lemmyreader@lemmy.ml to c/linux@lemmy.ml
you are viewing a single comment's thread
view the rest of the comments
[-] lemmyvore@feddit.nl 4 points 2 months ago

Unrelated but curious, why do people say that nixpkgs is the largest package repo? Debian unstable has over 200k packages.

[-] sushibowl@feddit.nl 10 points 2 months ago

They say that because https://repology.org/repositories/statistics/total says so. Debian unstable has 38k packages according to that page.

[-] lemmyvore@feddit.nl 1 points 2 months ago* (last edited 2 months ago)

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.

[-] frozencow@lemmy.world 1 points 2 months ago

I don't know exactly how Repology works, but I was interested as well.

This holds what sources are being used for repology in Debian: https://github.com/repology/repology-updater/blob/master/repos.d/deb/debian.yaml This repository seems to be used to merge/split package names: https://github.com/repology/repology-rules

The packages of Debian are split into different subpackages (dev, lib, doc and its base). This happens for Nix as well, but packages there just have different outputs. For instance, openssl has as outputs: bin debug dev doc man out. I don't think repology counts those outputs, so it shouldn't count subpackages as well. I guess these rules are merging these together: https://github.com/repology/repology-rules/blob/master/800.renames-and-merges/openssl.yaml.

load more comments (3 replies)
load more comments (3 replies)
load more comments (4 replies)
this post was submitted on 29 Apr 2024
73 points (91.0% liked)

Linux

45530 readers
2033 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS