LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   if it works for mac, why not linux? (https://www.linuxquestions.org/questions/linux-software-2/if-it-works-for-mac-why-not-linux-611369/)

dlublink 01-05-2008 01:21 PM

if it works for mac, why not linux?
 
Hello,

I understand that Mac OS X is based on a BSD variant. Mac OS X is fully unix compliant.

Linux is mostly Unix compliant, can I install Mac OS X programs on my Linux? Why why not?

If I install a BSD, will it work?

The reason I ask is I just bought a Dance Dance software that runs on Mac OS or Windows, but not linux. I don't want to abandon my open source OS for Mac or Windows.

Thanks,

David

pixellany 01-05-2008 01:27 PM

If I understand things correctly, OS-X is built on top of BSD---ie there is a layer of stuff between the applications and the basic OS. This layer is proprietary.

Emerson 01-05-2008 01:31 PM

OS X is not built on top of BSD. In fact, OS X kernel has nothing to do with BSD. There is some BSD userland stuff ported for Mac OS X. And BSD itself cannot run Linux programs natively. So the answer for OP would be: There is no cross-compatibility between OS X and BSD and Linux.

dguitar 01-05-2008 02:05 PM

Quote:

XNU's BSD component uses FreeBSD as the primary reference codebase (although some code might be traced to other BSDs). Darwin 7.x (Mac OS X 10.3.x) uses FreeBSD 5.x. As mentioned before, BSD runs not as an external (or user-level) server, but is part of the kernel itself.
XNU is the OS X kernel.

More info...

pixellany 01-05-2008 02:37 PM

I stand corrected.

(For the non-computer-scientist (includes me) the distinction between "built on" and "built using" might not mean much.)

I did not realize that Linux apps would not work on BSD....Can they be MADE to work?

Emerson 01-05-2008 04:28 PM

Thanks to dquitar we know now there is BSD subsystem present in the OS X kernel, used mainly for networking. Thanks for that correction. Still, this does not mean good news for OP. The platform and apps running on it are not BSD nor can Mac programs be run on BSD.
Linux ABI can be easily installed under BSD, so running Linux binaries is possible - not natively though.


All times are GMT -5. The time now is 09:38 AM.