39
submitted 1 year ago* (last edited 1 year ago) by cyclohexane@lemmy.ml to c/linux@lemmy.ml

Yes, I know so much of Alpine's lightweightness comes from not using glibc.

But still, the other options I see are far from being slimmed down. Debian, Ubuntu server, CentOS... They all could use some cuts.

What's the most slimmed down non-desktop distro that still has a glibc base? I honestly don't care if it has its own package manager (build tool handles this for me). Just wanna use it in containers for running server apps.

you are viewing a single comment's thread
view the rest of the comments
[-] PureTryOut@lemmy.kde.social 8 points 1 year ago
[-] cyclohexane@lemmy.ml 11 points 1 year ago

I'm running this on a low resource arm64 device. I have had trouble cross compiling to arm64 musl (availability of pre compiled binaries is low).

It also caused me a bunch of random small issues. For example nodejs doesn't officially support musl binaries. Bunch of random small things, like sdkman not working on musl.

[-] placatedmayhem@lemmy.ml 11 points 1 year ago

Yes, weird corner cases in musl cause a lot of things to misbehave when run on musl. For example, DNS upgrade to TCP, which is required for certain queries and covered by one of the DNS RFCs, wasn't implemented in musl for the longest time, although I think it finally got implemented recently. However, there are other cases like this fwiu.

[-] oldfart@lemm.ee 2 points 1 year ago

Installing Python packages with pip is a hit-and-miss too

[-] Penguincoder@beehaw.org 2 points 1 year ago

nodejs doesn’t officially support musl

Correct; unofficially and it causes some issues when running a NodeJS app on Musl. @cyclohexane@lemmy.ml you can try another unofficial alpine image, or just go with Debian slim

[-] PureTryOut@lemmy.kde.social 1 points 1 year ago

Don't recommend that glibc Alpine image please. You can't just have 2 libc's and expect everything to just work, it's just asking for problems. Either deal with Musl or choose a different distro.

this post was submitted on 13 Sep 2023
39 points (97.6% liked)

Linux

48009 readers
890 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