Created
August 7, 2015 11:51
-
-
Save sprohaszka/dd8f26acb0a4390eeee9 to your computer and use it in GitHub Desktop.
Install dmg or pkg from terminal (command line)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//http://commandlinemac.blogspot.fr/2008/12/installing-dmg-application-from-command.html | |
hdiutil mount jdk.dmg | |
sudo installer -pkg /Volumes/JDK\ 7\ Update\ 60/JDK\ 7\ Update\ 60.pkg -dominfo | |
sudo installer -pkg /Volumes/JDK\ 7\ Update\ 60/JDK\ 7\ Update\ 60.pkg -target the_chosen_domain | |
hdiutil unmount "/Volumes/Chicken of the VNC/" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment