Date: Sun, 20 Jan 2002 18:07:52 -0800 From: Murray Stokely <murray@FreeBSD.org> To: Robert Sexton <robert@kudra.com> Cc: doc@freebsd.org Subject: Re: Handbook submission. Message-ID: <20020121020752.GQ21973@freebsdmall.com> In-Reply-To: <20020120201554.A97261@kudra.com> References: <20020120201554.A97261@kudra.com>
next in thread | previous in thread | raw e-mail | index | archive | help
--QxIEt88oQPsT6QmF Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable This will now complete our documentation set to include information about the three most popular (in the US anyway) CAS systems. The FreeBSD crowd must really attract mathematicians. Maybe the information about Mathematica, Maple, and Matlab should be split out into a new "Mathematics on FreeBSD" article? The information seems really specific, when we don't even talk about more common Linux applications like RealPlayer or Netscape plugins in the Handbook. Your article is certainly appreciated. We just need to find the best place to publish it. - Murray On Sun, Jan 20, 2002 at 08:15:54PM -0500, Robert Sexton wrote: > I've written a handbook entry on installing linux Matlab. =20 > It will need some minor proofing, but I think it complies > with the format of the existing sgml. Its modeled on the Mathematica > section, and has been tested with two varieties of Matlab. >=20 > If this isn't the right place to send it, please let me know. > Thanks. >=20 >=20 > --=20 > Robert Sexton, robert@kudra.com > Clairvoyant, n. A person, commonly a woman, who has the power of > seeing that which is invisible to her patron, namely, that he is a > blockhead - Ambrose Bierce, "The Devils' Dictionary" > <sect1 id=3D"linuxemu-matlab"> > <title>Installing MATLAB Version 6</title> > =20 > <indexterm> > <primary>applications</primary> > <secondary><application>MATLAB</application></secondary> > </indexterm> > =20 > <para>This document describes the process of installing the Linux > version of <application>MATLAB 6</application> onto a FreeBSD > system.</para> >=20 > <para>The Linux version of <application>MATLAB</application> runs > well under FreeBSD. The startup and installation scripts > provided by the MathWorks are slightly confused by the emulator > environment, so some small changes are necessary to get the > application to install and run.</para> > =20 > <para>The following instructions have been tested with MATLAB > Version 6/R12 for students on FreeBSD 4.3-RELEASE.</para> >=20 > <para>The Linux version of <application>MATLAB</application> or > <application>MATLAB for Students</application> can be ordered > directly from The MathWorks at <ulink>url=3D"http://www.mathworks.com= /">http://www.mathworks.com/</link>.</para> >=20 > <sect2> > <title>Pre-Installation</title> > <para>Before beginning the installation, create a directory > for MATLAB. I use /usr/local/matlab6, but that isn't required.</para> > =20 > <screen> > &prompt.root; <userinput>mkdir /usr/local/matlab6</userinput> > </screen> >=20 > <para>If you have a license.dat provided separately by the Mathworks > place it in your /usr/local/matlab6 directory. The install script > will make some changes and install it in its final location.</para> > </sect2> >=20 > <sect2> > <title>Installing MATLAB</title> > <para>The Installer provided by > the Mathworks includes a nice graphical frontend that is > unnecessary. The installation scripts attempt to determine > exactly which operation system you are running, and act > appropriately. This does not function perfectly in the emulator > environment, so you must explicitly specify the operating > system.</para> >=20 > <screen> > &prompt.root; <userinput>mount /cdrom</userinput> > &prompt.root; <userinput>/cdrom/install_glnx.sh -t -glnx86</userinput> > </screen> >=20 > <para>Some editions have a slightly different layout, so if > your don't have install_gnlx, proceed as follows:</para> >=20 > <screen> > &prompt.root; <userinput>/cdrom/install -t -glnx86</userinput> > </screen> >=20 > <para>After accepting the license agreement, you will be > prompted for the MATLAB root directory. > The installation script will create the dierectory for you, > if necessary. > Following this, you will be prompted to select > platforms and products, and you may customize as you see fit. > The install script will also offer to create symbolic links in > the directory of your choice. The default, > <filename>/usr/local/bin</filename>, should be appropriate for > most systems. At this point, no further input is required until > MATLAB finishes installing the base system. You may now unmount > the cd.</para> >=20 > <screen> > &prompt.root; <userinput>umount /cdrom</userinput> > </screen> >=20 > <para>You may also want to install the MATLAB documentation on > your system rather than access it via cdrom. The documentation as > supplied by the mathworks is approximately 440 megabytes. Some > editions have a documentaion CD that includes an installation script. > If you aren't one of the lucky ones, proceed as follows:</para> >=20 > <screen> > &prompt.root; <userinput>mkdir /usr/local/MATLAB6/mhelp</userinput> > &prompt.root; <userinput>mount /cdrom</userinput> > &prompt.root; <userinput>cd /cdrom/help</userinput> > &prompt.root; <userinput>cp -R /usr/local/matlab6/mhelp</userinput> > </screen> >=20 > <para>Otherwise, use the suppied install script:</para> >=20 > <screen> > &prompt.root; <userinput>mount /cdrom</userinput> > &prompt.root; <userinput>/cdrom/install -t -glnx86</userinput> > </screen> >=20 > </sect2> >=20 > <sect2> > <title>Running MATLAB</title> >=20 > <para>As before, the scripts provided by the mathworks are > slightly confused by the emulator enviroment, so we must > manually specify the operating system when we start > MATLAB</para> >=20 > <para>For the Standard version of MATLAB, it is necessary to > start the license manager</para> >=20 > <screen> > &prompt; <userinput>lmstart -glnx86</userinput> > </screen> >=20 > <para>Then invoke MATLAB</para> >=20 > <screen> > &prompt; <userinput>matlab -glnx86</userinput> > </screen> >=20 > <para>You may receive warnings that MATLAB was unable to open > <filename>/dev/ptmx</filename>. In this case, the ! command > will not be available from within MATLAB, but the software will > be otherwise unaffected</para> >=20 > <para>To shut down the license manager, we use the same switch > as before</para> >=20 > <screen> > &prompt; <userinput>lmstop -glnx86</userinput> > </screen> >=20 >=20 > </sect1> >=20 >=20 >=20 >=20 >=20 --QxIEt88oQPsT6QmF Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (SunOS) Comment: For info see http://www.gnupg.org iD8DBQE8S3f3tNcQog5FH30RAmNVAKCfa956o+OnnQm3h9pcFV+Ejgix7ACgqPQ6 23bYcfklHNKQ3AyOdYvaggk= =JkHM -----END PGP SIGNATURE----- --QxIEt88oQPsT6QmF-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-doc" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020121020752.GQ21973>