• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Jeanne Boyarsky
  • Liutauras Vilda
Sheriffs:
  • Rob Spoor
  • Bear Bibeault
  • Tim Cooke
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Piet Souris
Bartenders:
  • Frits Walraven
  • Himai Minh

Installing Linux packages on Mac OSX

 
clojure forum advocate
Posts: 3479
Mac Objective C Clojure
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.
 
blacksmith
Posts: 1332
2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.
 
Ranch Hand
Posts: 511
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Mac OS X is not based on FreeBSD, its based on a slightly derived version called BSD Darwin.

Cheers,
 
Hussein Baghdadi
clojure forum advocate
Posts: 3479
Mac Objective C Clojure
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks guys for your feedback.


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.
 
Ranch Hand
Posts: 323
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

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
Posts: 1332
2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.
 
Sheriff
Posts: 67537
173
Mac Mac OS X IntelliJ IDE jQuery TypeScript Java iOS
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
The default shell is bash as of Jaguar. Prior to that it was tcsh.
 
sharp shooter, and author
Posts: 1913
6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Some Linux packages can be installed (e.g. WebLogic, but it's essentially Java app in a Linux installer), but generally no, they don't work.
 
Simon Brown
sharp shooter, and author
Posts: 1913
6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Originally posted by Unnsse Khan:
Mac OS X is not based on FreeBSD, its based on a slightly derived version called BSD Darwin.

Cheers,



Well, since Darwin is based on FreeBSD, then I guess you say that Mac OS X is also based on FreeBSD.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic