Ask Different is a question and answer site for power users of Apple hardware and software. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I found that there are some differents between Max osx and linux jsut like ubuntu, etc. is there any introduction about that, or is there any one can make a introduction.

for example:

  1. ubuntu: /usr/lib/

  2. 10.8.2 osx:

    1. /usr/lib
    2. /usr/libexec
share|improve this question

While you can shove libraries anywhere you want, and use OS X very similarly to Linux, I suspect you are after information on "the OS X way" of doing things, in which case:

Your question is too broad. While similar in some ways, there are many fundamental differences than between software packaging on OS X and something like Ubuntu - well beyond "stuff goes here on Linux, and here on OS X".

For example, libraries typically live in "bundles" rather than folders like in /usr/lib - either as .Framework bundles which live in /Library/Frameworks or ~/Library/Frameworks (the framework bundles include headers, support versioning etc). Or shared libraries may live in application bundles... etc - each of these is a big topic by itself.

Without a more specific question, any answer shorter than a small book may not be very informative..

This article explains some of the basic locations, and their Linux-equivalents

Apple's documentation on this kind of stuff is extensive (e.g the intro to Frameworks)

share|improve this answer
Even better Apple doc is FileSystem basics – Mark Jan 21 '13 at 13:49
Thanks guys! I'm gonna check those out too +1 to you both. – Thomas Jan 21 '13 at 15:02

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.