|Title||Install Stata from a terminal|
|Author||Chinh Nguyen, StataCorp|
Stata's installer allows you to install Stata/MP, Stata/SE, or Stata/IC from a terminal.
<array> <string>installer_choice_1</string> </array>
installer_choice_1: Stata/MP installer_choice_2: Stata/SE installer_choice_3: Stata/IC
sudo installer -package /Volumes/Stata/Install\ Stata.pkg -applyChoiceChangesXML mychoice.xml -target /
From a terminal, use the following command to mount the disk image:
hdiutil attach /path/to/Stata16.dmg
When the disk image is mounted, a message will display something like this:
/dev/disk7 GUID_partition_scheme /dev/disk7s1 Apple_HFS /Volumes/Stata
Take note of the entry with the mounted disk image named Stata. You will use the entry's /dev node path to unmount the disk image (/dev/disk7s1).
Using the device name of the mounted disk image, use the following command to unmount the disk image:
hdiutil detach /dev/disk7s1
Classroom and web training
Teaching with Stata
Statalist: The Stata Forum
Last updated: 16 November 2022
StataCorp LLC (StataCorp) strives to provide our users with exceptional products and services. To do so, we must collect personal information from you. This information is necessary to conduct business with our existing and potential customers. We collect and use this information only where we may legally do so. This policy explains what personal information we collect, how we use it, and what rights you have to that information.
These cookies are essential for our website to function and do not store any personally identifiable information. These cookies cannot be disabled.
Please note: Clearing your browser cookies at any time will undo preferences saved here. The option selected here will apply only to the device you are currently using.