3 Unix Tarballs

Installing Mozart is a very simple task; you can do without super-user privileges or special knowledge about system administration. A Mozart binary distribution configures itself on startup. Therefore installation of Mozart only consists in unpacking one or more archive file.

To install a binary Mozart release on a Unix system you only have to read this section, and optionally Appendix A if you have not yet installed Emacs but want to develop Oz applications yourself.

A Mozart binary tarball release can be installed in any directory. There are no paths compiled into the binaries. The system configures itself on startup. In the following we explain the installation of Mozart into the directory

/usr/local/mozart

Replace this string in the following if you want to install into a different directory.

After installation you should make your web browser Mozart application enabled, which is described in Appendix B.

  1. Download the binary tarballs for your particular platform from: http://www.mozart-oz.org/download/view.cgi?action=tar

  2. Unpack the tarballs by executing

    % cd /usr/local
    % gzip -cd mozart-
    version-platform.tar.gz | tar xvf -
    % gzip -cd mozart-
    version-platform-contrib.tar.gz | tar xvf -
    % gzip -cd mozart-
    version-doc.tar.gz | tar xvf -

    Replace version and platform appropriately. Depending on which packages you selected during download you may skip one or more of the last three commands.

  3. Do one of the following steps:

    1. If you are using csh or tcsh as your shell: extend your $PATH environment variable:

      setenv PATH ${PATH}:/usr/local/mozart/bin

      You should add the above line to the your startup file ~/.cshrc (otherwise remote managers for creation of new Oz engines will not work, see Chapter 13 of ``System Modules''.

    2. If you are using a Bourne compatible shell like bash: extend your $PATH environment variable:

      export PATH=${PATH}:/usr/local/mozart/bin

      You should add the above line to the your startup file ~/.login (otherwise remote managers for creation of new Oz engines will not work, see Chapter 13 of ``System Modules''.

    3. Some people do not want to change each users $PATH variable, but prefer drawing links from a common bin directory to the Mozart bin directory. In this case however you have to edit

      /usr/local/mozart/bin/oz

      slightly at the beginning: simply uncomment and adapt the line

      #OZHOME=/usr/local/mozart

      appropriately. Then you can draw links like this:

      % cd /usr/local/bin
      % ln -s /usr/local/mozart/bin/* .

  4. Make your Web browser Mozart enabled, see Appendix B.


Denys Duchier, Leif Kornstaedt, Ralf Scheidhauer and Christian Schulte
Version 1.4.0 (20080702)