Sophie

Sophie

distrib > Mandriva > 2010.0 > i586 > media > contrib-release > by-pkgid > bd5c3d824c3db63ffd9226c15941e6ad > files > 1434

mozart-1.4.0-1mdv2010.0.i586.rpm

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD><TITLE>3 Unix Tarballs</TITLE><LINK href="ozdoc.css" rel="stylesheet" type="text/css"></HEAD><BODY><TABLE align="center" border="0" cellpadding="6" cellspacing="6" class="nav"><TR bgcolor="#DDDDDD"><TD><A href="node2.html#chapter.rpm">&lt;&lt; Prev</A></TD><TD><A href="index.html">- Up -</A></TD><TD><A href="node4.html#chapter.src.get">Next &gt;&gt;</A></TD></TR></TABLE><DIV id="chapter.tarball"><H1><A name="chapter.tarball">3 Unix Tarballs</A></H1><P> 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. </P><P> To install a binary Mozart release on a Unix system you only have to read this section, and optionally <A href="node13.html#appendix.emacsunix">Appendix&nbsp;A</A> if you have not yet installed Emacs but want to develop Oz applications yourself. </P><P> 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 </P><BLOCKQUOTE class="code"><CODE>/usr/local/mozart</CODE></BLOCKQUOTE><P> Replace this string in the following if you want to install into a different directory. </P><P> After installation you should make your web browser Mozart application enabled, which is described in <A href="node14.html#appendix.applets">Appendix&nbsp;B</A>. </P><P></P><OL type="1"><LI><P>Download the binary tarballs for your particular platform from: <A href="http://www.mozart-oz.org/download/view.cgi?action=tar"><CODE>http://www.mozart-oz.org/download/view.cgi?action=tar</CODE></A> </P></LI><LI><P>Unpack the tarballs by executing </P><BLOCKQUOTE class="code"><CODE>%&nbsp;cd&nbsp;/usr/local<BR>%&nbsp;gzip&nbsp;-cd&nbsp;mozart-</CODE><I>version</I><CODE>-</CODE><I>platform</I><CODE>.tar.gz&nbsp;|&nbsp;tar&nbsp;xvf&nbsp;-<BR>%&nbsp;gzip&nbsp;-cd&nbsp;mozart-</CODE><I>version</I><CODE>-</CODE><I>platform</I><CODE>-contrib.tar.gz&nbsp;|&nbsp;tar&nbsp;xvf&nbsp;-<BR>%&nbsp;gzip&nbsp;-cd&nbsp;mozart-</CODE><I>version</I><CODE>-doc.tar.gz&nbsp;|&nbsp;tar&nbsp;xvf&nbsp;-</CODE></BLOCKQUOTE><P> </P><P> Replace <I>version</I> and <I>platform</I> appropriately. Depending on which packages you selected during download you may skip one or more of the last three commands. </P></LI><LI><P>Do one of the following steps: </P><P></P><OL type="a"><LI><P>If you are using <CODE>csh</CODE> or <CODE>tcsh</CODE> as your shell: extend your <CODE>$<SPAN class="variablename">PATH</SPAN></CODE> environment variable: </P><BLOCKQUOTE class="code"><CODE>setenv&nbsp;PATH&nbsp;${<SPAN class="variablename">PATH</SPAN>}:/usr/local/mozart/bin</CODE></BLOCKQUOTE><P> </P><P> You should add the above line to the your startup file <CODE>~/.cshrc</CODE> (otherwise remote managers for creation of new Oz engines will not work, see <A href="../system/node48.html#chapter.remote">Chapter&nbsp;13 of ``System Modules''</A>. </P></LI><LI><P>If you are using a Bourne compatible shell like <CODE>bash</CODE>: extend your <CODE>$<SPAN class="variablename">PATH</SPAN></CODE> environment variable: </P><BLOCKQUOTE class="code"><CODE><SPAN class="builtin">export</SPAN>&nbsp;<SPAN class="variablename">PATH</SPAN>=${<SPAN class="variablename">PATH</SPAN>}:/usr/local/mozart/bin</CODE></BLOCKQUOTE><P> </P><P> You should add the above line to the your startup file <CODE>~/.login</CODE> (otherwise remote managers for creation of new Oz engines will not work, see <A href="../system/node48.html#chapter.remote">Chapter&nbsp;13 of ``System Modules''</A>. </P></LI><LI><P>Some people do not want to change each users <CODE>$<SPAN class="variablename">PATH</SPAN></CODE> variable, but prefer drawing links from a common bin directory to the Mozart bin directory. In this case however you have to edit </P><BLOCKQUOTE class="code"><CODE>/usr/local/mozart/bin/oz</CODE></BLOCKQUOTE><P> slightly at the beginning: simply uncomment and adapt the line </P><BLOCKQUOTE class="code"><CODE>#<SPAN class="comment">OZHOME=/usr/local/mozart</SPAN></CODE></BLOCKQUOTE><P> appropriately. Then you can draw links like this: </P><BLOCKQUOTE class="code"><CODE>%&nbsp;cd&nbsp;/usr/local/bin<BR>%&nbsp;ln&nbsp;-s&nbsp;/usr/local/mozart/bin/*&nbsp;.</CODE></BLOCKQUOTE><P> </P></LI></OL><P> </P></LI><LI><P>Make your Web browser Mozart enabled, see <A href="node14.html#appendix.applets">Appendix&nbsp;B</A>. </P></LI></OL><P> </P></DIV><TABLE align="center" border="0" cellpadding="6" cellspacing="6" class="nav"><TR bgcolor="#DDDDDD"><TD><A href="node2.html#chapter.rpm">&lt;&lt; Prev</A></TD><TD><A href="index.html">- Up -</A></TD><TD><A href="node4.html#chapter.src.get">Next &gt;&gt;</A></TD></TR></TABLE><HR><ADDRESS><A href="http://www.ps.uni-sb.de/~duchier/">Denys&nbsp;Duchier</A>, <A href="http://www.ps.uni-sb.de/~kornstae/">Leif&nbsp;Kornstaedt</A>, <A href="http://www.ps.uni-sb.de/~scheidhr/">Ralf&nbsp;Scheidhauer</A> and&nbsp;<A href="http://www.ps.uni-sb.de/~schulte/">Christian&nbsp;Schulte</A><BR><SPAN class="version">Version 1.4.0 (20090610)</SPAN></ADDRESS></BODY></HTML>