|Summary help replacing me|
|Mathematica is a commercial program used in scientific, engineering and mathematical fields. Here we explain how to install it.|
One way to mount the Mathematica .iso is to create /media/iso and add the following line to the fstab:
/<location/of/mathematica.iso> /media/iso iso9660 exec,ro,user,noauto,loop=/dev/loop0 0 0
Now you can mount it with:
Running the Installer
You can start the installer by navigating to:
Run ./MathInstaller with:
Add the directories containing Type1 and BDF fonts to your FontPath.
If you have font rendering problems where certain symbols do not show up (i.e. "/" appears as a square), try uninstalling the package "mathematica-fonts".
Mathematica 7 is much easier to install.
tar xf Mathematica-7.0.1.tar.gz cd Unix/Installer ./MathInstaller
For KDE users, the Mathematica icon may appear in the Lost & Found category. To solve this, execute the following as root:
sudo ln -s /etc/xdg/menus/applications-merged /etc/xdg/menus/kde-applications-merged
On 64-bit machines, two known issues are present; but solutions are provided. The second issue is present on 64-bit installs: but not yet confirmed on a 32-bit arch setup.
The first issue assumes you are trying to use nVidia, CUDA and OpenCL libraries within Mathematica.
The 64-bit archlinux nvidia and opencl driver packages install libraries in /usr/lib, not in /usr/lib64 as does nVidia's binary installer. This is not a problem; /usr/lib is the correct location for 64-bit libraries on a 64-bit arch system. However, a 64-bit install of Mathematica will assume the drivers are installed in /usr/lib64; other distributions that Mathematica has been tested on have their drivers in that location. The easiest method to overcome this is to make a symlink from /usr/lib64 -> /usr/lib. Mathematica will be able to find nVidia, CUDA, and OpenCL libraries this way without further tweaking.
A second, separate but partial solution, is to set the following environment variables:
This second method, however, still will not permit Mathematica to find the OpenCL libraries in /usr/local as Mathematica seems hardwired to find them in /usr/lib64.
The second issue with Mathematica 8 in 64-bit archlinux (may also affect 32-bit environments; but not tested) is a reproducable crash when performing WolframAlpah functions. By default, Mathematica is configured to detect the system's proxy settings when configuring how to connect to the internet to fetch data. A "bug" exists that will eventually crash Mathematica when the calling library is used. A workaround is to avoid this library call altogether by configuring Mathematica to "directly connect" to the internet. (Edit -> Preferences -> Internet Connectivity -> Proxy Settings). This bug has been reported to Wolfram.