Is mac based on linux or unix

To quote Apple's Kernel Programming Guide:. The kernel, along with other core parts of OS X are collectively referred to as Darwin. Darwin is a complete operating system based on many of the same technologies that underlie OS X. Based on everything above we can confidently say, OS X is not a distribution , in the sense of Linux distribution. Similarly, other mentioned OSs are POSIX compliant and are certified Unix systems, but again they differ in kernels and variations on underlying system calls which is why there exist books on Solaris system programming and it's a worthy subject in its own right.

Therefore, they aren't distributions in the sense Linux distributions are - a common core with variations on utilities. In case of Linux, you see books on Linux system programming or Linux kernel programming, not system programming specific to distribution, because there's nothing system-specific about a particular distribution. Confirmation of what we see here can be found in official documentation. In other words, they are based on the same foundation, but they don't share exactly same one in the sense Linux distros share the kernel.

Note that the word distribution appears to be mostly used when referencing operating systems which have the Linux kernel at its core. To quote this answer on our site in response to the question whether different BSD versions use same kernels:. They are not distributions in the sense of Linux distributions. Consider the copyright notice from this document:. Is macOS an Unix distribution? If it isn't, how could one correctly refer to macOS' beinghood in the Unix operating system family i.

Image source: Before you can build a kernel, you must first obtain source code. Source code for the OS X kernel can be found in the Darwin xnu project on http: To find out your current kernel version, use the command uname -a. If you run into trouble, search the archives of the darwin-kernel and darwin-development mailing lists for information. The list archives and subscription information can be found at http: Cocoa - An advanced object-oriented development platform for OS X.

Mac OS X Is Not a Linux Distribution but ...

Cocoa is a set of frameworks with programming interfaces in both Java and Objective-C. Darwin - Another name for the core of the OS X operating system.

Darwin is open source technology. The acronym stands for X is Not Unix. Apple has released this family of software as a free and open source operating system named Darwin. Distribution or Release? Hybrid XNU ". Solaris Unix SVR4. Join , subscribers and get a daily digest of news, geek trivia, and our feature articles.

Unix’s Design Lives On Today

Most operating systems can be grouped into two different families. The initial release of Unix had some important design attributes that live on today. Even graphical programs are likely calling simpler utilities in the background to do the heavy lifting. This also makes it easy to create shell scripts , stringing together simple tools to do complicated things. Unix also had a single file system that programs use to communicate with each other.

Like any history going back over 40 years, the history of Unix and its descendants is messy. One group of Unix descendants were developed in academia. It was originally designed to run only on Apple Macintosh hardware systems. Interestingly, the Latest versions of Mac OS are based on a unix core system after Apple bought the company that Steve jobs worked at after he left apple which was at the time developing a Unix based operating system.

Today, the distinctions you're referring to are almost all software meaning the OS , and not hardware. So, before Apple decided to switch over to Intel processors - all Apple hardware used a processor architecture called Power PC. Since Apple switched over to the Intel x86 architecture, now there are many similarities between PCs and Macs. For example, you can build what is known as a hackintosh which is a computer that can run OS X but is not manufactured by Apple but you need to use very specific PC hardware to accomplish this.

Mac OS X Is Not a Linux Distribution, But

The reason why you need specific hardware is the developers at Apple have basic assumptions regarding the hardware found inside of the computers that they sell. For example, for a given model of Mac MacBook Air, iMac, MacBook, etc the need to support thousands of device drivers for video cards, hard drive controllers, network cards does not exist.

Apple is able to control the hardware that goes into each machine, which means the range of supported devices is fairly low. Many external devices USB or Firewire sound cards are supported by OS X, but this is due to the fact that 3rd parties are willing to develop drivers specifically for OS X instead of Apple having to worry about supporting a wide range of hardware. Linux was developed by Linux Torvalds in while attending the University of Helsinki.

  • 10 Unix commands every Mac and Linux user should know.
  • 10 Unix commands every Mac and Linux user should know | InfoWorld;
  • ARCHIVED: What is Mac OS X?!
  • What Is Unix, and Why Does It Matter?!

Torvalds became curious about operating systems and frustrated by the licensing of MINIX, which limited it to educational use only. He began to work on his own operating system which eventually became the Linux kernel. Later, Linux matured and further Linux kernel development took place on Linux systems.

Sun Microssystems now owned by Oracle had an entire line of both desktop, laptop and server platforms that ran various versions of UNIX as well as Suns operating system called Solaris, Open Solaris, etc. Many UNIX variants are proprietary, meaning you might not necessarily have access to the source code for some or all parts of the OS.

The idea behind Linux is to make everything open source, meaning the source code is available to be viewed, edited, recompiled and re-released without fear of legal action being taken against you. Each operating system has its pros and cons. To me it all really comes down to what you are trying to do. If you want to play cutting edge games, Windows has traditionally been your best bet.

In terms of the operating system GUI, I personally think Apple has the upper hand with OS X, but this point could be debated for hours between two people that have differing opinions. If you are trying to run a web server, firewall, IDS or anything to do with networking - you would want to look at what Linux has to offer. Linux has a much higher learning curve for non technical people, but has been improving a lot in that regard. As such, "Mac" is one type of "PC". Originally developed by Bell Labs, though I don't know who owns it now.

Unix vs Linux

It was originated in, I think, the 80s by Linus Thorvolds sp? It's both a yes and no answer, but if you want just one, then it's No.

Contact us

Microsoft does not create it's own hardware for windows semantics - yes, they make mice, and tablet PCs, etc, but leave this aside for now. But with UNIX and Linux - well, these are quite broad families of operating systems - check out http: As long as your computer's architecture such as x86, x, IA64, etc matches the Windows version you are using, then it will work.

Note that each "Edition" of Windows such as Windows 7 Pro can come in a few architectures, which is why you'll find different installation media for each version have a look at the. Mac OSX is a little different. Mac does care what hardware you use it on.