54
submitted 6 months ago by AprilF00lz@lemmy.ml to c/linux@lemmy.ml
you are viewing a single comment's thread
view the rest of the comments
[-] lemmyreader@lemmy.ml 3 points 6 months ago

IDK about Coreboot, but Android has a completely different userland. The only thing it has in common with Linux is the kernel.

Completely different ? How so ? Last time I did an adb shell I could use ls and find afair.

[-] technom@programming.dev 3 points 6 months ago

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.

[-] Aatube@kbin.melroy.org 2 points 6 months ago

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/.

[-] boredsquirrel@slrpnk.net 1 points 6 months ago

Android is Linux+Stuff so it is a linux Distro XD

[-] Aatube@kbin.melroy.org 4 points 6 months ago

Not in my book.

(source: me book)

The differences said in the link above cause a drastically different developer & user experience.

this post was submitted on 25 Apr 2024
54 points (100.0% liked)

Linux

48210 readers
667 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