touque.ca > Education Commons > Turing > OS X

Running the Turing IDE under OS X

Two options are available:

  1. Ready Made: Download the Turing IDE packaged by Oswald Pan.
  2. Do It Yourself: Follow the instructions on this page.

Download WineBottler

  1. Download the installer for the most recent stable version of WineBottler.
  2. Store the downloaded disc image (the .dmg file) in an appropriate location such as an installers or development directory.

Install Wine & WineBottler

  1. Navigate to the directory where you stored the WineBottler installer.
  2. Double-click the installer to mount the virtual disc.
  3. In the window which opens to reveal the contents of the disc (see image below), you’ll see two apps—Wine.app and WineBottler.app—and an alias of your Applications directory. In turn, drag and drop each app over the Applications alias. This copies the apps to the directory.
Screenshot of Finder view of mounted and opened WineBottler disc image
  1. When the copying operation is complete, control-click the small disc icon at the bottom of the WindBottler Combo window and choose “Eject ‘WineBottler Combo’.” (See image below.)
Screenshot of 'WineBottler Combo' Finder window with context menu 'Eject' item selected

Launch Wine

  1. Launch Wine as you would launch any other Mac application: from Launchpad or from your Applications directory. If you like, you can also drag the app to your Dock.
  2. The first time you launch Wine, you’ll see a warning that the app was downloaded from the Internet. Click “Open.” (See image below.)
Screenshot of Finder dialogue box warning that 'WineBottler.app' was downloaded from the Internet
  1. Wait for the verification process to end. (See image below.)
Screenshot of Finder progress bar advising of the verification of 'Wine.app'
  1. When Wine has been verified, its icon (a partially filled wine glass) will appear in the “menu extras” section on the right side of the Finder’s menu bar. (See image below.)
Screenshot of menu-extras section of Finder's menu bar

Install the Turing IDE

  1. In a Finder window, navigate to your user directory. (For example, when Victoria Windsor’s OS X user account was established, her user directory was called victoria.) If you’re uncertain as to the name of your user directory, look in the Users directory found in the root of your Mac’s hard drive.
  2. From your user directory, navigate to the newly installed Wine Files directory, then to the drive_c directory, then to the Program Files directory.
  3. In a second Finder window, navigate to the directory where you downloaded Turing 4.1 for Windows (Turing_4.1.zip) during Week 1 of the semester.
  4. Double-click Turing_4.1.zip to extract its contents: the Turing 4.1 directory.
  5. Move the Turing 4.1 directory to the Program Files directory of step 2. (See image below.)
Screenshot of Finder window showing the 'Wine Files' directory and its subdirectories including 'Turing 4.1'

Use WineBottler to create the Turing IDE App

  1. Launch WineBottler as you would launch any other Mac application: from Launchpad or from your Applications directory. If you like, you can also drag the app to your Dock.
  2. The first time you launch WineBottler, you’ll see a warning that the app was downloaded from the Internet. Click “Open.” (See image below.)
Screenshot of Finder dialogue box warning that 'WineBottler.app' was downloaded from the Internet
  1. On the button bar of the WineBottler window, choose “Advanced.” (See image below.)
Screenshot of WineBottler button bar with 'Advanced' selected
  1. In the section entitled “Program to install,” select the radio button which says This is the actual program, copy it and all files that are in the same folder.
  2. Click the button labelled “select File…” (it’s at the far right of the section) and navigate to the Turing 4.1 directory inside your Program Files directory. Select turing.exe and click “Open.”
  3. Check that radio-button selection and the file name match those shown in the image below. (Of course, in place of “victoria” you’ll see the name of your user directory.)
Screenshot of WineBottler 'Program to install' section
  1. Click the button labelled “Install.” It's in the bottom-right corner of the WineBottler window.
  2. In the dialogue box which appears, navigate to your Applications directory and change the “Save As” name to Turing IDE.app. (See image below.)
  3. Click “Save.”
Screenshot of WineBottler 'Save As' dialogue box showing 'Turing IDE.app' as the save-as name
  1. Wait as the installation process proceeds. (See image below.)
Screenshot of Finder progress bar advising of the creation of 'Turing IDE.app'
  1. If the app was successfully installed, you’ll see a confirmation message like the one shown below.
Screenshot of Finder progress bar advising of the creation of 'Turing IDE.app'

Launch Turing IDE

  1. Launch Turing IDE as you would launch any other Mac application: from Launchpad or from your Applications directory. If you like, you can also drag the app to your Dock.
  2. Remember that because the IDE is essentially a Windows program, you must use key sequences like control-C instead of command-C.
  3. If you encounter problems, don’t hesitate to ask your teacher.
  4. Enjoy programming in Turing!
Screenshot of Turing IDE app icon

touque.ca > Education Commons > Turing > OS X

[This page last updated 2016-03-05 at 16h25 Toronto local time.]