diff options
Diffstat (limited to 'en_US.ISO8859-1/books/handbook/linuxemu/chapter.xml')
-rw-r--r-- | en_US.ISO8859-1/books/handbook/linuxemu/chapter.xml | 129 |
1 files changed, 49 insertions, 80 deletions
diff --git a/en_US.ISO8859-1/books/handbook/linuxemu/chapter.xml b/en_US.ISO8859-1/books/handbook/linuxemu/chapter.xml index 517e5c2c02..e339f273d9 100644 --- a/en_US.ISO8859-1/books/handbook/linuxemu/chapter.xml +++ b/en_US.ISO8859-1/books/handbook/linuxemu/chapter.xml @@ -326,6 +326,11 @@ multi on</programlisting> </sect2> </sect1> +<?ignore + While the installer works, the binaries do not. As of Oct 2013, Linux + emulation is 32-bit but the trial version of Mathematica is only + available as 64-bit. This section should be revisited if Linux + emulation gets 64-bit binary support. <sect1 id="linuxemu-mathematica"> <sect1info> <authorgroup> @@ -336,6 +341,7 @@ multi on</programlisting> </author> </authorgroup> </sect1info> + <title>Installing &mathematica;</title> <indexterm> @@ -344,95 +350,49 @@ multi on</programlisting> </indexterm> <para>This section describes the process of installing the - &linux; version of <application>&mathematica; 5.X</application> + &linux; version of <application>&mathematica; 9.X</application> onto a &os; system. <application>&mathematica;</application> is a commercial, computational software program used in - scientific, engineering, and mathematical fields. It is - available from <ulink - url="http://www.wolfram.com/mathematica/">Wolfram - Research</ulink>.</para> + scientific, engineering, and mathematical fields. A 30 day trial version is + available for download from <ulink + url="http://www.wolfram.com/mathematica/">wolfram.com/mathematica</ulink>.</para> <sect2> <title>Running the &mathematica; Installer</title> - <para>First, tell &os; that - <application>&mathematica;</application>'s &linux; - binaries use the &linux; Application Binary Interface - <acronym>ABI</acronym>. The easiest way to do this is to - set the default ELF brand to &linux; for all unbranded - binaries with the command:</para> - + <para>Before installing &mathematica;, make sure that the + <filename role="package">textproc/linux-f10-aspell</filename> + package or port is installed and that the &man.linprocfs.5; + file system is mounted.</para> + <screen>&prompt.root; <userinput>sysctl kern.fallback_elf_brand=3</userinput></screen> <para>&os; will now assume that unbranded ELF binaries use the &linux; <acronym>ABI</acronym> which should allow the installer to execute from the CDROM.</para> - <para>Copy the <filename>MathInstaller</filename> to the hard - drive:</para> - - <screen>&prompt.root; <userinput>mount /cdrom</userinput> -&prompt.root; <userinput>cp /cdrom/Unix/Installers/Linux/MathInstaller /localdir/</userinput></screen> - - <para>In this file, replace <literal>/bin/sh</literal> in - the first line with <literal>/compat/linux/bin/sh</literal>. - This ensures that the installer is executed by the &linux; - version of &man.sh.1;. Next, replace all occurrences of - <literal>Linux)</literal> with <literal>FreeBSD)</literal> - using a text editor or the script below in the next section. - This tells the <application>&mathematica;</application> - installer, to treat &os; as a &linux;-like operating - system. Invoking <command>MathInstaller</command> should now - install <application>&mathematica;</application>.</para> - </sect2> + <para>The downloaded file will be saved to + <filename>/tmp/Mathematica_9.0.1_LINUX.sh</filename>. Become + the superuser and run this installer file:</para> - <sect2> - <title>Modifying the &mathematica; Executables</title> + <programlisting>&prompt.root; <userinput>sh /tmp/Mathematica_9.0.1_LINUX.sh</userinput> +Mathematica Secured 9.0.1 for LINUX Installer Archive - <para>The shell scripts that - <application>&mathematica;</application> created during - installation have to be modified before use. When using - <filename - class="directory">/usr/local/bin</filename> as the directory - for the <application>&mathematica;</application> - executables, symlinks in this directory will point to files - called <filename>math</filename>, - <filename>mathematica</filename>, - <filename>Mathematica</filename>, and - <filename>MathKernel</filename>. In each of these, replace - <literal>Linux)</literal> with <literal>FreeBSD)</literal> - using a text editor or the following shell script:</para> - - <programlisting>#!/bin/sh -cd /usr/local/bin -for i in math mathematica Mathematica MathKernel - do sed 's/Linux)/FreeBSD)/g' $i > $i.tmp - sed 's/\/bin\/sh/\/compat\/linux\/bin\/sh/g' $i.tmp > $i - rm $i.tmp - chmod a+x $i -done</programlisting> - </sect2> +Verifying archive integrity. +Extracting installer. ... + Wolfram Mathematica 9 Installer +Copyright (c) 1988-2013 Wolfram Research, Inc. All rights reserved. - <sect2> - <title>Obtaining a &mathematica; Password</title> +WARNING: Wolfram Mathematica is protected by copyright law and international treaties. Unauthorized +reproduction or distribution may result in severe civil and criminal +penalties and will be prosecuted to the maximum extent possible under law. - <indexterm> - <primary>Ethernet</primary> - <secondary>MAC address</secondary> - </indexterm> +Enter the installation directory, or press ENTER to select /usr/local/Wolfram/Mathematica/9.0: +> +Now installing... +*********************** +Installation complete.</programlisting> - <para>When <application>&mathematica;</application> is started - for the first time, it will ask for a password. If a password - had not yet been obtained from Wolfram Research, run - <command>mathinfo</command> in the installation directory to - obtain the <quote>machine ID</quote>. This machine ID is - based solely on the MAC address of the first Ethernet card, - as the copy of <application>&mathematica;</application> cannot - run on different machines.</para> - - <para>When registering with Wolfram Research, provide the - <quote>machine ID</quote> and they will respond with a - corresponding password consisting of groups of numbers.</para> </sect2> <sect2> @@ -495,14 +455,19 @@ done</programlisting> class="directory">Type1</filename>.</para> </sect2> </sect1> + --> + <!-- + As of October 2013, the trial version is only available in the + Professional and Academic editions (not the Student or Personal + editions) and requires a contact with a product specialist before + the evaluation download link is made available. <sect1 id="linuxemu-maple"> <sect1info> <authorgroup> <author> <firstname>Aaron</firstname> <surname>Kaplan</surname> -<!-- <address><email>aaron@lo-res.org</email></address>--> <contrib>Contributed by </contrib> </author> </authorgroup> @@ -510,7 +475,6 @@ done</programlisting> <author> <firstname>Robert</firstname> <surname>Getschmann</surname> -<!-- <address><email>rob@getschmann.org</email></address>--> <contrib>Thanks to </contrib> </author> </authorgroup> @@ -557,12 +521,13 @@ done</programlisting> <filename>/usr/local/maple/bin/maple.system.type</filename> with the following:</para> + <programlisting> ----- snip ------------------ *** maple.system.type.orig Sun Jul 8 16:35:33 2001 ---- maple.system.type Sun Jul 8 16:35:51 2001 +-- - maple.system.type Sun Jul 8 16:35:51 2001 *************** *** 72,77 **** ---- 72,78 ---- +-- - 72,78 ---- # the IBM RS/6000 AIX case MAPLE_BIN="bin.IBM_RISC_UNIX" ;; @@ -662,7 +627,9 @@ FEATURE Maple maplelmg 2000.0831 permanent 1 XXXXXXXXXXXX \ </itemizedlist> </sect2> </sect1> - + --> + <!-- + As of October, 2013, the Linux version of Matlab is only available for 64-bit. <sect1 id="linuxemu-matlab"> <sect1info> <authorgroup> @@ -671,7 +638,6 @@ FEATURE Maple maplelmg 2000.0831 permanent 1 XXXXXXXXXXXX \ <surname>Pelleg</surname> <contrib>Contributed by </contrib> </author> - <!-- daniel+handbook@pelleg.org --> </authorgroup> </sect1info> <title>Installing &matlab;</title> @@ -908,6 +874,9 @@ exit 0</programlisting> </sect1> <sect1 id="linuxemu-oracle"> + While the Oracle website is unclear, the installation script is: You + are attempting to install 64-bit Oracle on a 32-bit operating system. + This is not supported and will not work. <sect1info> <authorgroup> <author> @@ -915,7 +884,6 @@ exit 0</programlisting> <surname>Moolenaar</surname> <contrib>Contributed by </contrib> </author> - <!-- marcel@cup.hp.com --> </authorgroup> </sect1info> <title>Installing &oracle;</title> @@ -1118,7 +1086,7 @@ export PATH</programlisting> ! CHOWN=/bin/chown # # Define variables to be used in this script ---- 31,37 ---- + --- 31,37 ---- # This is the default value for CHOWN # It will redefined later in this script for those ports # which have it conditionally defined in ss_install.h @@ -1169,6 +1137,7 @@ export PATH</programlisting> running on &linux;.</para> </sect2> </sect1> +?> <sect1 id="linuxemu-advanced"> <title>Advanced Topics</title> |