


If, like me, you think that these should always be available, it is easy to make it so. Examples include the Graphics and LinearAlgebra packages. There are also a number of "packages" that can be manually loaded to get additional functions. Mathematica has a certain core set of functionality that is automatically available. You may need to restart gnome to get the fonts working properly. It ends installing Mathematica in /usr/local, and it creates a symbolic link /usr/bin/mathematica. To solve this simply run the installer with the sh command sudo sh MathInstallerĪlternatively you can copy the Linux installer to a temporary directory and run Math Installer: mkdir -p /tmp/Mathematica/InstallersĬp -r /cdrom/Unix/Installers/Linux /tmp/Mathematica/InstallersĪfter that, the script asks a series of questions, including the licensing information. Math Installer will not run from the CD since, by default, ubuntu mounts CDs with the noexec option. Mathematica has an installer named Math Installer.

Mathematica is not free software, see for alternatives. Numlock / Alt / Ctrl / Backspace Problems.Therefore, I tried to set it explicitly in the MathematicaScript-call which seems to work. This seems to suggest, that by providing 5 or more parameters, the setting of the $TopDirectory is somehow removed. If you execute this on the command-line, your script runs fine. You see that basically you script-call is of course just a call to the MathKernel. "/usr/local/Wolfram/Mathematica/8.0/SystemFiles/Kernel/Binaries/Linux-x86-64/MathKernel", Looking into the output you probably stumble over the line execve( You could now use strace to track down what happens (maybe you better redirect the output into a file) strace -s 128. The first error message is quite clear: the system cannot open the file /SystemFiles/CharacterEncodings/ISO8859-1.m and obviously the system is correct, because this file does not exist in this directory. If you installed Mathematica in a different directory, you have to adjust the path of $TopDirectory. Use this as first line of your script: #!/usr/local/bin/MathematicaScript -runfirst "$TopDirectory=\"/usr/local/Wolfram/Mathematica/8.0\"" -script
