<< Prev | - Up - | Next >> |
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.
Download the binary tarballs for your particular platform from: http://www.mozart-oz.org/download/view.cgi?action=tar
Unpack the tarballs by executing
% cd /usr/local
version
% gzip -cd mozart--
platform.tar.gz | tar xvf -
version
% gzip -cd mozart--
platform-contrib.tar.gz | tar xvf -
version
% gzip -cd mozart--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.
Do one of the following steps:
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''.
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''.
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/* .
Make your Web browser Mozart enabled, see Appendix B.
<< Prev | - Up - | Next >> |