Skip to main content

Information about the building process and the installation of Mozart 2 is described on the official website: Mozart 2.

This page helps you to install Mozart 2 on three different OS: Windows 7/Windows 8, MacOS 10.8/10.9 and Linux.
There are some tips about frequent installation problems at the end of the page.

MacOS 10.8/10.9

First, get the last Mozart 2 build for your system: Builds on SourceForge, and install it (you juste have to drop it in a folder such as the Application folder).

Then, please download and install Aquamacs or any other version of Emacs for MacOS.

Click on the icon (by default, you have dropped it in the Application folder) to run Mozart.

  • There is no guarantee that Mozart2 works on an older MacOS version than 10.8. If there is no way to make it work, you can try to install Mozart 1.4.
  • There is no need to install TCL for MacOS.


Needed: tcl/tk, emacs and Mozart 2.

The first command install tk-dev, more precisely the last stable version of tk-dev. We do not guarantee that another version of tk-dev will work with Mozart in the future. The command is:
sudo apt-get install tk-dev

If a newer version of the package is installed, and this newer version is not compatible with Mozart, you can try these two commands:
sudo apt-get uninstall tk-dev
sudo apt-get install tk8.5-dev

The installation procedure of tk-dev should be like this:

sudo apt-get install emacs

Get the last Mozart 2 build for your system: Builds on SourceForge.
Note: If you run a 32 bits system, you have to look for the corresponding build in the list and not simply click on the first link.

Unzip the downloaded file, rename it "mozart" (this will simplify the other steps) and change the PATH variable to add the Mozart path.

In order to do that, open the file ~/.bashrc and add, at the end of the file, the line:  

In nano, type ctrl+o ("ctrl" and "o" pressed at the same time) to save, and then ctrl+x to quit.

You can now run the mozart OPI using the simple command: $oz

Note for Debian users

You probably have downloaded the build with the .deb extension. To install Mozart2, instead of unzipping it and renaming the folder, you simply have to click on the .deb file.

Windows 7 and Windows 8

The installation procedure is quite the same for the two versions of Windows.

Step 1: Download Mozart (for Windows) , unzip it and keep in mind the location where it is installed. Note that the path cannot contain spaces.

Step 2: Download the latest version of Emacs , unzip it and keep in mind the location again.

Step 3: Go to Control Panel > System and Security > System > Advanced System Settings > Environment Variables

(Note: Depending to your settings, you may see directly "System" in the Control Panel (without clicking on "System and Security").)
A window appears with two distinct blocs, named "User variables for YOUR_NAME" and "System Variables".

  • Concerning the upper box ("User variables for YOUR_NAME"):
    • Press the "New" button and fill "Variable Name" with "OZEMACS" and "Variable Value" with the path to the Emacs executable, for instance: "C:\emacs\bin\emacs.exe".

  • Again, press the "New" button and fill "Variable Name" with "OZHOME" and "Variable Value" with the path to the folder containing the bin folder that contains the Mozart executables (ozemulator, oz, etc.), for instance: "C:\mozart" (if the executables are contained in the bin contained in the folder you gave the path, e.g. "C:\mozart\bin\ozemulator.exe").

    • To summarize, you have added two variables OZEMACS and OZHOME. The first one contains a path like "C:\emacs\bin\emacs.exe"  and for the second one "C:\mozart".
  • Concerning the lower box ("System Variables"):
    • Select "Path" in the variables list, press "Edit" and add after a ";" the path to Mozart executables (for instance: "C:\mozart\bin;") and the path to emacs ("for instance: "C:\emacs\bin;"). After each of the two paths, please note the presence of ";" which marks the end of the path, don't forget it.

Step 4: Download ActiveTcl8. in the ActiveTCL website (the downloaded version is the x86 version of ActiveTCL 8.5.14, even if you are running a 64-bits Windows!). 

If the Browser window does not appear, even if you have downloaded ActiveTCL 8.5.14, then check in the upper panel of environment variables. Search for a variable with the name "Path" with as value "C:\Tcl\bin;%PATH%". If this variable does not exist, create it ("Variable Name = Path" and "Variable value = C:\Tcl\bin;%PATH%").

Step 5: Start to play with Mozart by running oz.exe (or the command line: $oz).


Concerning the use with Mozart2, TCL is only working with x86 executables from the version It is not working with 8.6 and seems to have some issues with Be careful with the version you run.

Some tips concerning frequent problems:

  • All systems:
    • Check there are no Unicode characters in paths.
  • Windows:
    • "error in process filter: make client process failed: permission denied" may mean you have a firewall problem.