Skip to content

Instantly share code, notes, and snippets.

@larsthegeek
Created May 3, 2012 00:00
Show Gist options
  • Save larsthegeek/2582039 to your computer and use it in GitHub Desktop.
Save larsthegeek/2582039 to your computer and use it in GitHub Desktop.
install dmg/pkg on os x via command line
cd ~/Desktop
curl -O http://darwinports.opendarwin.org/downloads/DarwinPorts-1.2-10.4.dmg
hdiutil attach DarwinPorts-1.2-10.4.dmg
cd /Volumes/DarwinPorts-1.2/
sudo installer -pkg DarwinPorts-1.2.pkg -target "/"
hditutil detach /Volumes/DarwinPorts-1.2/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment