this post was submitted on 16 Nov 2025
22 points (80.6% liked)

Open Source

43145 readers
463 users here now

All about open source! Feel free to ask questions, and share news, and interesting stuff!

Useful Links

Rules

Related Communities

Community icon from opensource.org, but we are not affiliated with them.

founded 6 years ago
MODERATORS
 

According to the Open Hub website, Linux has 37,016,567 lines of code, but this is small compared to NetBSD and OpenBSD, which have 72,065,568 and 81,902,070 lines of code, respectively.

Is there a reason why Linux has fewer lines of code compared to NetBSD and OpenBSD? I'd like to know.

you are viewing a single comment's thread
view the rest of the comments
[โ€“] ryannathans@aussie.zone 1 points 1 month ago (1 children)

You're probabry including ports/ which contains all the software available for the platform

[โ€“] strlcpy@lemmy.sdf.org 2 points 1 month ago* (last edited 1 month ago)

Those are just the packaging makefiles etc though, not the actual software sources (with some notable exceptions for bootstrapping, at least in NetBSD). Still it's comparing a kernel with an OS