OSX/installer
Aus SchnallIchNet
< OSX
Version vom 14. Juli 2011, 14:32 Uhr von Cbs (Diskussion | Beiträge) (Die Seite wurde neu angelegt: „== installer == how to install .pkg or .mpkg packages through console. # download package e.g. MacTeX-2010.mpkg.zip # unzip the package # install: installer -…“)
installer
how to install .pkg or .mpkg packages through console.
- download package e.g. MacTeX-2010.mpkg.zip
- unzip the package
- install:
installer -pkg ./MacTeX-2010.mpkg -target /
install package 'MacTeX-2010.mpkg' to target disk /
this (/) is the default target for most cases...
this only differs if you have 2 disks or a non standart partitioning configuration
mount .dmg
mount a dmg-file
hdiutil attach ./file.dmg
umount a dmg-file
hdiutil detach ./file.dmg