The Mathematica installer for Linux is a bash script that is run in the Linux terminal. If you’re not familiar with the terminal, please read a brief guide on how to use the terminal. The setup is an easy-to-follow dialog. Please follow the corresponding instructions for installing from a downloaded script or from a DVD.

Running the Installer from a Downloaded Script

  1. Quit any previous installation of Mathematica that is running on your machine.
  2. Open a terminal and change directory to where the installer is located. For example, if the installer is located on your desktop, run:
     cd Desktop 

    This changes the directory to your desktop. If you wish to verify that the installer file is in your desktop, use the command ls.

  3. The installer needs administrative privileges to run. Use the command sudo to run the installer script. For example, if the installer is called “installer.sh”, run:
    sudo bash installer.sh

    sudo asks you to enter the administrative password on the machine. After providing the administrative password, the installer starts.

  4. The first step in the installer prompts you to enter an installation directory. Press Enter to install Mathematica to the default directory.
    Enter the installation directory, or press ENTER
    to select /usr/local/Wolfram/Mathematica/9.0:

    Otherwise, if you know where you want to install Mathematica, type the full file path to your desired installation directory and press Enter.

    The installer then copies the files to the installation directory.

  5. After the files are copied, you are prompted to enter where you want to place the executables. To place them in the default directory, press Enter.
    Type the directory path in which the Mathematica
    scripts will be created, or press ENTER to select
    /usr/local/bin:

    Otherwise, if you want to place them elsewhere, enter in the full file path and then press Enter.

    The installer then copies the executables to the desired directory.

The installation is now complete. Next, activate Mathematica to start using it.

Running the Installer from a DVD

  1. Quit any previous installation of Mathematica that is running on your machine.
  2. Mount the DVD and change the directory to the mount point. Then change directory to Unix/Installer.
  3. Type:
    ./MathInstaller

    to run the installer from the DVD.

  4. The first step in the installer prompts you to enter an installation directory. Press Enter to install Mathematica to the default directory.
    Enter the installation directory, or press ENTER
    to select /usr/local/Wolfram/Mathematica/9.0:

    Otherwise, if you know where you want to install Mathematica, type the full file path to your desired installation directory and press Enter.

    The installer then copies the files to the installation directory.

  5. After the files are copied, you are prompted to enter where you want to place the executables. To place them in the default directory, press Enter.
    Type the directory path in which the Mathematica
    scripts will be created, or press ENTER to select
    /usr/local/bin:

    Otherwise, if you want to place them elsewhere, enter in the full file path and then press Enter.

    The installer then copies the executables to the desired directory.

The installation is now complete. Next, activate Mathematica to start using it.