Skip to main content
MedCalc
Mail a PDF copy of this page to:
(Your email address will not be added to a mailing list)
working

MedCalc installation on a Mac using Wine

Wine is a compatibility layer that allows you to run Windows software directly on macOS, Linux, and ChromeOS systems. It uses the open-source Wine technology to translate Windows commands into native system calls, eliminating the need for a Windows license or virtual machine. For details, see WineHQ.org

Install MedCalc using Wine on Mac

Open the Terminal application on your Mac.

Install Homebrew (if not already installed) by running the following command:

/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"

Once Homebrew is installed, update it by running:

brew update

Install the stable version of Wine using Homebrew:

brew install --cask --no-quarantine wine-stable

If you do not already have it, install wget:

brew install wget

First install the Arial font (MedCalc will work much better with this font).

wget https://sget.nl/arial32.exe
wine arial32.exe

Next, get the MedCalc installer:

wget https://www.medcalc.org/download/medcalcsetup64.exe

Start the installer:

wine medcalcsetup64.exe

and complete the MedCalc setup wizard.

An icon 'MedCalc.lnk' will be displayed on the desktop. You can use this to start MedCalc.

How to create a macOS Launchpad icon for MedCalc

You need to wrap the EXE in a tiny macOS App Bundle:

  • Go to Applications in Finder and open the Automator app.
  • Click New Document
  • Choose Application
  • Double-click “Run Shell Script” (shown in the 2nd column)
  • Add the following script, replacing YOURNAME with your Mac user name (the one you see in the Users folder).
    /usr/local/bin/wine "/Users/YOURNAME/.wine/drive_c/Program Files/MedCalc/medcalc.exe"
  • Save the app in Applications (File - Save ...)

    Automator

Launchpad will show MedCalc - but not using the MedCalc icon.

To assign the correct icon to the app:

  • Copy the desired icon image to the clipboard. You can find a MedCalc icon in

    /Users/YOURNAME/.wine/drive_c/Program Files (x86)/MedCalc/

    or you click the following icon to save it in your downloads folder:
    Mac icon
  • In Finder, goto Applications
  • Get Info on the MedCalc application
  • In the dialog box, click the current icon in the upper left of the dialog box, and then paste the new image using command-v

Wine configuration - Registry editor

Use the command winecfg in Terminal for additional Wine configurations, and regedit for the registry editor.

Important: in winecfg, on the Drives tab, do not change the path for the z: drive. It must point to /

Make text in user interface larger

You may find that the text used in the MedCalc user interface is too small.

To enlarge, use winecfg in Terminal. In the dialog box, on the Graphics tab, enlarge the Screen resolution.

Wine configuration

Close the dialog box and restart MedCalc.

How to remove a Windows program from Wine

To uninstall a program use the following command in Terminal:

wine uninstaller

In the dialog box, you can select the programs you want to uninstall:

Wine uninstaller

How to uninstall Wine and Homebrew from your Mac

To uninstall Wine, use the following command in Terminal:

brew uninstall --cask wine-stable

To remove Homebrew, use:

/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/uninstall.sh)"

See also