I am installing a C++ library using the Installer application(its a .mpkg file) The installation is successful, but I cannot find the location of the library to set an environmental variable. I have checked the /private/var/log/install.log, but the destination folder is not listed. Is there another log I can check, or a way to determine the installation destination through the .mpkg? Thank you very much for your time, Adam

4 Answers 4


Simply open the package with the standard OS X Installer, and hit ⌘I (or through menus: File>Show files).

For more information or to act upon the files, use the excellent Pacifist package manager.


Use pkgutil --pkg-info packageid and look for the listed "location" to see where the installation root was; then pkgutil --files packageid will show the installed files relative to that root location.

$ cd ~/Desktop/InsomniaT.mpkg/Contents/Resources/Kernel\ Module.pkg/Contents/
$ ls
Archive.bom    Archive.pax.gz Info.plist     PkgInfo        Resources
$ lsbom Archive.bom
.   41775   0/80
./System    40755   0/0
./System/Library    40755   0/0
./System/Library/Extensions 40755   0/0
./System/Library/Extensions/InsomniaT.kext  40755   0/0
./System/Library/Extensions/InsomniaT.kext/Contents 40755   0/0
./System/Library/Extensions/InsomniaT.kext/Contents/Info.plist  100644  0/0 1900    1578584638
./System/Library/Extensions/InsomniaT.kext/Contents/MacOS   40755   0/0
./System/Library/Extensions/InsomniaT.kext/Contents/MacOS/InsomniaT 100644  0/0 107860  966116348
$ gzip -cd Archive.pax.gz | pax | more
  • This only works on old-style (bundle-based) packages, and only shows the file paths relative to the installation root, and if the installation root wasn't "/"... Nov 18, 2011 at 1:58

You should be able to view the details of what was installed using pkgutil.

You can use pkgutil --packages to get the exact name of the package and then pkgutil --files package to see what files were installed.

  • that command just gives me the package names, not their destination
    – wespiserA
    Nov 17, 2011 at 19:07

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .