this post was submitted on 25 Apr 2024
46 points (85.9% liked)
Linux
48153 readers
774 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
- Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.
- No misinformation
- No NSFW content
- No hate speech, bigotry, etc
Related Communities
Community icon by Alpár-Etele Méder, licensed under CC BY 3.0
founded 5 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
Android, ChromeOS, Coreboot, WSL2 are all Linux Distros
IDK about Coreboot, but Android has a completely different userland. The only thing it has in common with Linux is the kernel. Nearly everything else is different. Everything else I agree, but only if you mean WSL2, which is basically an enhanced virtual machine, instead of WSL1, which translates system calls to Windows.
Completely different ? How so ? Last time I did an
adb shell
I could usels
andfind
afair.There are two components that define a Linux distribution. The first is the kernel. The other is the core user land that includes the coreutils and libc. This part is made of GNU coreutils and glibc or compatible alternatives like busybox and musl. Every Linux distro has this. The other user land software stack are also similar across distributions, like X/Wayland, QT/GTK, dbus, XDG, etc.
In Android, everything in the user land is different. It doesn't have the same coreutils or libc unless you install it. ls and find are so common across *nixes that Android coreutils may be reimplementing it. Then you have APKs, surfaceflinger, etc that are not part of regular Linux distros.
An easy test for this is to see if a Linux program compiled for your platform runs on your OS. Linux programs easily run on alternative distros. But Linux programs won't run on Android or vice-versa, unless you install a compatibility layer.
Maybe I exaggerated, but what I meant is that Android lacks many ubiquitous components of Linux distros. For more information you can read https://arstechnica.com/gadgets/2009/02/an-introduction-to-google-android-for-developers/.
Android is Linux+Stuff so it is a linux Distro XD
Not in my book.
(source: me book)
The differences said in the link above cause a drastically different developer & user experience.