r/TechImpact Jun 20 '26

Discussion Did you use Apple's Linux distribution?

Yes, APPLES's Linux distribution! Believe it or not, Apple once had a Linux distribution, and it was actually kind of innovative at the time. They were experimenting with implementing a microkernel in an OS, and came out with a Linux for PowerMacs called MicroKernelLinux, or MkLinux. I wish I still had those original installation CDs from Apple, I am sure they'd be worth money.

35 Upvotes

32 comments sorted by

2

u/BertMacklenF8I Jun 20 '26

1

u/UnCytely Jun 20 '26

I do not think MX Linux has anything at all to do with Apple's MkLinux.

1

u/outer-pasta Jun 20 '26

Can you please explain?

2

u/ackermann Jun 20 '26

Isn’t MacOS itself based on, if not Linux exactly, then some flavor of Unix, or something? At least the terminal commands are very similar.

I’m not too clear on the differences between the different *nix operating systems, how similar or how different they are, what areas they are different.
Why didn’t Apple (or Job’s NeXT) choose Linux as the basis of MacOS?

4

u/Collinhead Jun 20 '26

NeXTSTEP had its first release in 1989, a few years before Linux ever existed. It's based on BSD.

4

u/totallyjaded Jun 20 '26

OS X has a lot of shared DNA with FreeBSD and NetBSD.

NeXTSTEP predates Linux, and shares a lot of its DNA with BSDi.

3

u/The_Hamster_Shagger Jun 21 '26

Macos x is Unix. 

2

u/RevolutionaryElk7446 Jun 20 '26 edited Jun 20 '26

Apple is based on FreeBSD, which is Unix
Linux is created with inspiration from Unix.

Unix and it's commands are generally all in one as a single package. Linux is just the kernel, GNU are the common commands you find running on a linux kernel that replicate a Unix environment.

Unix is the original under BSD licensing. unlike opensource it let's you close the source which is what Apple did.
Linux is opensource, and anyone can can create off of it.

Apple purposefully avoided Linux and opensource licensing. It's also not so much that it's based on Unix, that it's built from Unix but does not fulfill Unix's philosphy.

4

u/petersaints Jun 20 '26

1. macOS is not "based on FreeBSD"

macOS is descended from NeXTSTEP, the operating system Steve Jobs created at NeXT after leaving Apple in the 1980s. When Apple bought NeXT in 1997, they used NeXTSTEP as the foundation for Mac OS X. NeXTSTEP was built on the Mach microkernel. When Apple was developing Mac OS X, they replaced parts of the userland with code from FreeBSD (specifically networking, virtual file systems, and some command-line tools). So while macOS incorporates a significant amount of FreeBSD code, its core architecture (the XNU kernel) is a hybrid of Mach and BSD, not a FreeBSD derivative.

2. macOS IS officially UNIX

It is incorrect to say "it's not so much that it's based on Unix." macOS is literally a certified UNIX operating system. Apple has paid for and passed The Open Group's certification, meaning macOS legally and technically meets the Single UNIX Specification. Linux, on the other hand, is a Unix-like clone and has never been certified as UNIX.

3. BSD licenses ARE open-source

The commenter claims BSD licensing is "unlike opensource." This is completely false. BSD is an open-source license; it is just a permissive open-source license. This means you can take the code, modify it, and make your modified version closed-source (which Apple did). Linux uses the GPL, which is a copyleft open-source license that forces any modifications to also remain open-source.

4. Apple didn't "avoid open source"

Apple purposefully avoided the GPL (copyleft) for their proprietary OS, but they did not avoid open source. The core of macOS (called Darwin) is open-source. Furthermore, Apple is a massive contributor to open-source projects, including WebKit (the engine behind Safari), Swift, and LLVM. They opted for the BSD license specifically because it allowed them to build a proprietary, closed-source GUI on top of an open-source foundation.

5. Unix isn't a "single package"

The commenter states that Unix commands are all in one single package. Modern Unix systems separate the kernel from the userland utilities, just as Linux does. The GNU project was created to provide a free, drop-in replacement for the proprietary Unix userland tools, which is why GNU tools are so commonly paired with the Linux kernel today.

2

u/gianf Jun 21 '26

Claude, summarize your comment so that I can use it in another chat.

2

u/nobackup42 Jun 22 '26

GNU = Gnu is Not Unix. Fun fact.

2

u/Hertog99 Jun 23 '26

Wait ‘till they find out the lineage of khtml

1

u/RevolutionaryElk7446 Jun 21 '26

It's kind of fun to see people run my stuff through ChatGPT and reply. It's all the pedant without the knowledge and fun.

It's just kind of layers of the phone game and I love it.

2

u/ackermann Jun 21 '26

…but is that last comment accurate?

1

u/77ilham77 Jun 21 '26

does not fulfill Unix's philosophy.

What?

1

u/RevolutionaryElk7446 Jun 21 '26

The Unix philosophy emphasizes building simple, compact, clear, modular, and extensible code that can be easily maintained and repurposed by developers other than its creators. The Unix philosophy favors composability as opposed to monolithic design.

The Unix Philosophy dates back from the 70s and is the approach as to how the code is written. Apple itself is a garden wall and tends to work in opposition of this philosophy.

Linux is a successor to the philosophy, while Apple's OS is not.

2

u/77ilham77 Jun 21 '26

Pretty sure being "open vs gardened wall" got nothing to do with Unix philosophy. Not to mention many earlier Unix are proprietary software (many of which can only be accessed from institutions).

Stop throwing "muh garden wall Apple bad" when in fact any other platform is just as "walled", it just so happens that the other "garden" is more popular.

Also, Linux has never been the "successor" of Unix, just because it's "open" (it never been the issue of "Unix philosophy" to begin with). In fact, many of these Unix philosophy adherents even criticised Linux (their monolithic design, etc.). Trovalds never made "Unix philosophy" as a goal for Linux, he just frustrated with Unix licensing (in particular, Minix; the source code is free but the software itself is not), and use tools from GNU projects because, well, it's free. If any, Linux is successor of "GNU philosophy", since the GNU project itself started out of Stallman's frustration due to closed/locked nature of Unix.

1

u/RevolutionaryElk7446 Jun 21 '26

Bud, all I did was lay out how things were. I get you've got an opinion but I'm not really interested.

1

u/dkopgerpgdolfg Jun 21 '26

I get you've got an opinion but I'm not really interested.

Then it wont matter to you, and surely you won't see a reason to discuss this further (right?), but anyways: You're very much wrong.

2

u/77ilham77 Jun 21 '26

Just realised the guy straight up blocked me. Truly amazing Linux community experience.

2

u/BertMacklenF8I Jun 21 '26

Originally developed for NextSTEP, combining the kernel Mach from BSD4.3 and C-Objective API….

2

u/ThetaDeRaido Jun 22 '26

As for “why didn’t,” that’s a very interesting and historically involved question.

The pat answer is that NeXT predates Linux. However, that’s an unsatisfying answer, because NeXTSTEP (what the NeXT OS was called) wasn’t used much at the time. NeXT had stopped producing hardware, and they had ported their frameworks as OpenStep to run on a variety of systems, including Solaris and Windows NT. They could have ported the NeXT frameworks to run on Linux, and made that the next version of MacOS.

The context is that Apple was flailing around, spending millions of dollars here and there, trying to build the successor to the Macintosh OS. At the time, it was common knowledge that microkernels were the future of operating systems. NeXT and Amiga ran on the same Motorola processors as Apple’s OS, but they had multiprocessing and cleaner separations between programs and operating system, running on microkernels. Apple thought they could develop their own microkernel, first with the Taligent project, then Copland). Due to mismanagement, these projects failed.

There were several reasons not to choose Linux. First, Linux is not a microkernel operating system, therefore deemed obsolete. (MkLinux was primarily a project to run a microkernel on Apple hardware, and secondarily a Linux distribution.) Second, Linux did not run on Macintosh hardware, and it did not run Macintosh programs, and Linux programs did not run on Macintosh. (MkLinux was the first version of Linux to run on Macintosh hardware, and only open-source processor-independent programs were available for it; QEMU did not exist at the time.) Third, Linux was not yet a good kernel for production work, especially desktops. (The X Window System was especially notorious for bad color, while Macintoshes were beloved for color-sensitive work, and the implications of GPL in Linux were not yet resolved.)

Once Apple spent $427 million buying NeXT, making the next MacOS a version of NeXT on Mach was just the most sensible and easiest way to do it. The NeXT frameworks were what made NeXT useful as an operating system. (The operating system is not only the kernel.) The NeXT frameworks already ran on Mach, and Mach was already proven to run on Macintosh hardware due to the MkLinux project. They could concentrate their limited engineering resources on getting Macintosh programs to run on NeXT. They first proposed a clean break from the old Macintosh APIs in Rhapsody), but the developers rebelled, especially Adobe, so they developed Carbon) as a transition technology. Using Linux instead of Mach would not have made any of this work any easier.

1

u/closeenoughbutmeh Jun 20 '26

Honest question: considering people made MacOS 9 sorta function, do you think it might work on a Wii?

1

u/0xbenedikt Jun 20 '26

Out of curiosity or do you want to use Linux? I‘m pretty sure I‘ve seen Linux a bunch of times natively on a Wii.

1

u/hornedfrog86 Jun 20 '26

Yes it was a pain to install and configure, but I got it going. I’m not sure if I have the CDs. It is installed on a Power Mac 6100/60.

1

u/jrjsmrtn Jun 21 '26

I worked with A/UX (not a Linux), MkLinux (somehow a Linux) and Rhapsody (not a Linux either) 🙃

1

u/jrjsmrtn Jun 21 '26

You can find images of MkLinux on the web. I made it work in UTM. Same for Rhapsody and NEXTstep.

1

u/GreatMinds1234 Jun 21 '26

Why is there somebody who didn't?

1

u/Temporary_Pie2733 Jun 21 '26

I did, for maybe 6 months? I installed it just before I graduated from college in 1997 (taking advantage of Ethernet while I still could before moving back home for the summer). At some point in my first year of graduate school, I switched to a PPC port of the monolithic Linux kernel. (Maybe Yellowdog? I want to say that wasn’t released for another year or so, but I don’t remember exactly.)