Sophie

Sophie

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

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

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD><TITLE>2 Linux RPM Packages</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="node1.html#chapter.windows">&lt;&lt; Prev</A></TD><TD><A href="index.html">- Up -</A></TD><TD><A href="node3.html#chapter.tarball">Next &gt;&gt;</A></TD></TR></TABLE><DIV id="chapter.rpm"><H1><A name="chapter.rpm">2 Linux RPM Packages</A></H1><P> There is very little to say about installing Mozart by means of an RPM package apart from the fact that it works as usual. This chapter is mainly intended for persons that never used rpm before, but run a rpm based Linux installation (like <A href="http://www.redhat.com/">RedHat</A>). </P><P> Mozart is split up in three binary rpm packages: </P><TABLE align="center" bgcolor="#f0f0e0" id="table.rpm.bin"><TR valign="top"><TH><P>Package Name</P></TH><TH><P>Content</P></TH></TR><TR valign="top"><TD><P><CODE>mozart</CODE></P></TD><TD><P>The base system. Contains all you need to run demos and develop Oz programs with Mozart.</P></TD></TR><TR valign="top"><TD><P><CODE>mozart-doc</CODE></P></TD><TD><P>The Mozart documentation. Although the package takes up a lot of disk space, you are very much encouraged to install it.</P></TD></TR><TR valign="top"><TD><P><CODE>mozart-contrib</CODE></P></TD><TD><P>Mozart Contributions. Software packages that are not in the core of the system, but might come in handy for applications: regular expression matching, data base interfaces, and so on.</P></TD></TR></TABLE><P> </P><P> You first have to download the packages you want from <A href="http://www.mozart-oz.org/download/view.cgi?action=rpm"><CODE>http://www.mozart-oz.org/download/view.cgi?action=rpm</CODE></A>. </P><P> In order to install a rpm package you have to become <CODE>root</CODE>: </P><BLOCKQUOTE class="code"><CODE>su&nbsp;-</CODE></BLOCKQUOTE><P> Then install the <CODE>mozart</CODE> package first (it will have a filename similar to <CODE>mozart-1.0.0.012199-21.i386.rpm</CODE>): </P><BLOCKQUOTE class="code"><CODE>rpm&nbsp;-Uvh&nbsp;mozart-1.0.0.012199-21.i386.rpm</CODE></BLOCKQUOTE><P> Similarly, you can install the <CODE>mozart-doc</CODE> and <CODE>mozart-contrib</CODE> packages. </P><P> These packages depend only on other packages that are shipped with the 5.2 (Apollo) release of RedHat, however it also should work with the 5.0 (Hurricane) and 5.1 (Manhattan) releases. In case you come across an error message like the following </P><BLOCKQUOTE class="code"><CODE>failed&nbsp;dependencies:<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;libgmp.so.2&nbsp;is&nbsp;needed&nbsp;by&nbsp;mozart-1.0.0.012199-21<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</CODE></BLOCKQUOTE><P> you have to install the <CODE>gmp</CODE> rpm package. It ships with RedHat 5.2 but not with earlier releases. It is available from:</P><P><A href="ftp://ftp.redhat.com/pub/redhat/redhat-5.2/i386/RedHat/RPMS/gmp-2.0.2-5.i386.rpm"><CODE>ftp://ftp.redhat.com/pub/redhat/redhat-5.2/i386/RedHat/RPMS/gmp-2.0.2-5.i386.rpm</CODE></A></P><P> or from one of the RedHat mirrors. </P><P> If you now open a new shell on your computer, all Mozart related commands are automatically available. Just try </P><BLOCKQUOTE class="code"><CODE>oz</CODE></BLOCKQUOTE><P> to start the Oz Programming Environment. Note that the commands are available only after you started a new shell (or logged in again). </P><P> The toplevel html page for the documentation resides at the following url: </P><BLOCKQUOTE><CODE>file:///usr/lib/mozart/doc/index.html</CODE></BLOCKQUOTE><P> </P><P> The webpage for downloading also gives additional information on which system the rpm packages were build. </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></DIV><TABLE align="center" border="0" cellpadding="6" cellspacing="6" class="nav"><TR bgcolor="#DDDDDD"><TD><A href="node1.html#chapter.windows">&lt;&lt; Prev</A></TD><TD><A href="index.html">- Up -</A></TD><TD><A href="node3.html#chapter.tarball">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>