Edit: here is some context because people are getting mad
the reason i asked because my friend asked me to install linux on his laptop because he wanted to look like a cringey hacker so i installed it but after i installed linux few days after he reinstalled windows(i am not sure why but he said he can’t run bluestack, i suggested other VMs but he wouldn’t have any other way but that’s not reason i think he switched he was being dismissive) and now his mic and web cam is not working and some other stuff, so he’s asking me again to reinstall linux constantly and i don’t want to do that again (why? My school is far from my home around 9km/5.5 and i go there by my bicycle so after school I don’t wanna waste my time installing linux)so i was just ranting didn’t expect to make people mad
Honestly, Docker is solving the problems in a lot of practice.
Its kinda stupid that so many dependencies need to be kept track of that its easier to spin up a (vm-like) environment to run Linux binaries more properly. But… it does work. With a bit more spit-shine / polish, Docker is probably the way to move forward on this issue.
But Docker is just not there yet. Because Linux is Open Source, there’s no license-penalties to just carrying an entire Linux-distro with your binaries all over the place. And who cares if a binary is like 4GB? Does it work? Yes. Does it work across many versions of Linux? Yes (for… the right versions of Linux with the right compilation versions of Docker, but yes!! It works).
Get those Dockers a bit more long-term stability and compatibility, and I think we’re going somewhere with that. Hard Drives these days are $150 for 12TB and SSDs are $80 for 2TB, we can afford to store those fat binaries, as inefficient as it all feels.
I did have a throw-away line with MUSL problems, but honestly, we’ve already to incredibly fat dockers laying around everywhere. Why are the OSS guys trying to save like 100MB here and there when no one actually cares? Just run glibc, stop adding incompatibilities for honestly, tiny amounts of space savings.