Hi all. Since Mac OSX based on FreeBSD, does this mean that any package that could be installed on FreeBSD, could be installed on Mac OSX ? does this mean that any Linux software package (like bin, rpm) could be installed on Mac OSX ? thanks.
Warren Dew
blacksmith
Ranch Hand
Joined: Mar 04, 2004
Posts: 1328
posted
0
Not sure exactly what you mean by "package". A binary executable wouldn't be directly portable from Linux on x86; you'd need to recompile the source code. Then again, the same is true if you wanted to move it from, say, Linux on x86 to Linux on PPC.
It's also to be noted that BSD Unix is somewhat different from Linux.
Unnsse Khan
Ranch Hand
Joined: Nov 12, 2001
Posts: 511
posted
0
Mac OS X is not based on FreeBSD, its based on a slightly derived version called BSD Darwin.
It's also to be noted that BSD Unix is somewhat different from Linux
well, we can run Linux commands (like ls, pwd ....) on Mac OSX, right ? This is why I want to leave M$ Windows, They have occupied my mind.
M Beck
Ranch Hand
Joined: Jan 14, 2005
Posts: 323
posted
0
Originally posted by John Todd: well, we can run Linux commands (like ls, pwd ....) on Mac OSX, right ?
well, those aren't really Linux commands as such, they're more generally Unix commands. the exact details of them might vary a little between different Unix "dialects" (such as Linux, BSD, and MacOS X) - the precise list of options they take might be a bit different, for example - but the general gist of them is pretty much the same in every Unix-like OS, so MacOS X should have them, yes.
This is why I want to leave M$ Windows, They have occupied my mind.
oh, that's not something to be mad about, that's perfectly natural. Unix is very user-friendly, to those it chooses to pick for its friends at least... and it seems you've been picked!
Warren Dew
blacksmith
Ranch Hand
Joined: Mar 04, 2004
Posts: 1328
posted
0
Originally posted by M Beck:
well, those aren't really Linux commands as such, they're more generally Unix commands. the exact details of them might vary a little between different Unix "dialects" (such as Linux, BSD, and MacOS X) - the precise list of options they take might be a bit different, for example - but the general gist of them is pretty much the same in every Unix-like OS, so MacOS X should have them, yes.
Yes, Mac OS X has them.
A lot of the slight differences are dependent on which command line shell you use. One can minimize the transition differences by picking the same shell as one used on Linux. I believe the newer versions of OS X changed the default shell to match Linux' default shell, though I'm not certain of that.