![]() But for casual inspection, the pkgutil command is nice to know about. It's $20 shareware, and if one works in the above mode a lot, it could well be worth the investment. In researching this command, I discovered a nice GUI utility called Pacifist (OS X 10.8 or later) that can drill into, amongst others. Here's what a dump looks like for one of my. In these examples, the destination folder will be in the same folder as the package file, but one could define a path to somewhere else. Pkgutil -expand package-name.mpkg destination-folder NovemIn this article you will find the following: History of macOS List of mac OS versions Mac OS X 10.0 (Cheetah) Mac OS X 10.1 (Puma) Mac OS X 10.2 (Jaguar) Mac OS X 10.3 (Panther) Mac OS X 10.4 (Tiger) Mac OS X 10.5 (Leopard) Mac OS X 10.6 (Snow Leopard) Mac OS X 10.7 (Lion) OS X 10.8 (Mountain Lion) OS X 10. Pkgutil -expand package-name.pkg destination-folder In the simplest case, the terminal commands would be: The "man" page, of course, shows all the options. The easiest way to get started is to do a simple expand option and write it out to a named folder. ![]() It extracts the contents of the package file into its component pieces and can write it all out to a folder for inspection. In this case, one can use a nifty OS X command line tool called pkgutil. A different kind of tool is needed to analyze it. However, if Show Package Contents isn't provided as a contextual menu option for either type of installer, don't despair. Here is an example output of the command: netstat -rn Routing tables Internet: Destination Gateway Flags Refs Use Netif Expire default 192.168.20.1 UGSc 39 0 en0 127.0.0.1 127.0.0.1 UH 3 11132 lo0. The -n flag means to not resolve IPs to hostnames. pkg files inside them that may be amendable to Show Package Contents. This is the command to show routes on a Mac OSX: netstat -rn. mpkg files are meta-packages that may contain. That may or may not work depending on how the package file is constructed. One might think, at first, that the OS X command "Show Package Contents" will work on another package file, an installer that ends in. There is a contextual menu item, "Show Package Contents" that allows one to drill into the guts of an application and view all its resources. OS X recognizes application packages and knows how to give them their unique icon. If you happen to be faced with a package (.pkg) or meta-package (.mpkg) file and want to inspect its contents before you initiate an install, there's a nifty OS X utility that can dump out the files contained inside for your inspection.Īs OS X users, we're familiar with the fact that applications are actually complex folders in disguise-packages in developer lingo.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |