Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'This hint is nutso, use /usr/sbin/installer' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
This hint is nutso, use /usr/sbin/installer
Authored by: babbage on Oct 11, '05 06:56:39PM

If you're going to the trouble to poke at the .pkg with Terminal, you might as well just do it the right way by using the installer command:

sudo installer -pkg MyDownlad.pkg -target / -verbose

This will install the package "MyDownload" to the root of the filesystem, verbosely telling you every file that's getting installed.

sudo installer -pkg AnotherDownlad.pkg -target /Volumes/FirewireHD

This will install the package "AnotherDownload" to an external firewire drive named "FirewireHD", without bothering with the verbose output.

You can also try installer -help or man installer for more information.

Yes, you could unpack the .pax

[ Reply to This | # ]