Installing Mathematica-9.0 on Unix/Linux

Installing Mathematica for Network Licenses

Requirements

Mathematica is available for Windows, Unix, Linux, and Mac OS X. For a complete list of platform availability, click here. Any supported machine can act as a client for running Mathematica, provided the following two conditions are met:
  • The client has access to the Mathematica files, either locally or from a file server on the network.
  • The license server running MathLM is available on the TCP/IP network.
SERC NOTE:
Make sure you are able to resolve sunlx2_17.serc.iisc.ernet.in:Command is

#nslookup   sunlx2_17.serc.iisc.ernet.in
Response you must get is

Server: 10.16.25.15
Address: 10.16.25.15#53


Name: sunlx2_17.serc.iisc.ernet.in
Address: 10.16.4.40
If you are not getting this response please check your DNS settings. Use following url for setting DNS.
http://nitss.serc.iisc.ernet.in/docs/configuration/dns_settings/HowToChangeDNS.html
Make sure that you are able to reach sunlx2_17.serc.iisc.ernet.in  using following test.Command  is                    #telnet sunlx2_17.serc.iisc.ernet.in 16286Response you must get is                        #Trying 10.16.4.40
#Connected to sunlx2_17.serc.iisc.ernet.in.
#Escape character is ‘^]’.If you are not getting this response please contact your department network administrator.

To install Mathematica:

To install through network:Login as superuser into your linux/mac system and make a directory where you can mount the files.

        # mkdir /opt/mathematica9.0

        # mount -t cifs //10.16.4.96/shares /opt/mathematic-9.0 -o guest

1.Mount the CD. For information on mounting a CD, see “Mounting a CD on Unix and Linux”.
Note: This step may not be required on some Linux and Unix platforms, as some operating systems automatically handle mounting.
2.Change directory to /cdrom/mathematica/.

Note that the exact location of the CD mount point might be different for your platform. (Give the exact path and change to that directory where the file is located.)

        #cd /cdrom/mathematica/

3.Copy the file “Mathematica_9.0_LINUX.sh” to /tmp or any other location on your linux machine. Then change to that directory to where you have copied the file. Now change the permission for the file as follows:

        #cd /path to directory to where you copied the file

        #chmod u+x Mathematica_9.0_LINUX.sh

Then run the installer as shown below.

        #/Mathematica_9.0_LINUX.sh

Mathematica Secured 9.0 for LINUX Installer ArchiveVerifying archive integrity.
Extracting installer. …………………………………………………………………….
—————————————————————————-           Wolfram Mathematica 9.0 Installer—————————————————————————-Copyright (c) 1988-2013 Wolfram Research, Inc. All rights reserved.WARNING: Mathematica 9.0 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.

4.The installer prompts you to specify the directory in which Mathematica should be installed. The default location is /usr/local/Wolfram/Mathematica/9.0. Press Enter to accept the default, or type in a new location and then press Enter.

Enter the installation directory, or press ENTER to select

        /usr/local/Wolfram/Mathematica/9.0:

Note:
If you specify a directory that does not exist, the installer will give you the option of creating the directory. If a copy of Mathematica already exists in the directory you specify, the installer will inform you before overwriting the files.

Create directory (y/n)?

5.Once you have answered all the questions, the installer begins copying files from the CD to the directory you specified. The progress is indicated by a progress bar on the screen.

Now installing…
[*******************************************************************************]

6.You are asked for the location in which to copy the executable scripts. You should choose a directory that is present on each user’s PATH. The scripts are also installed in the subdirectory of the Mathematica installation directory. Type a location or accept the default and press Enter.

Type the directory path in which the Mathematica scripts will be created, or press ENTER to select         /usr/local/bin:

The installer checks to see if any other Mathematica scripts exist in the specified directory. If they do, you are given the chance to rename the scripts.

Create directory (y/n)?
Installation complete.

7.After installation, when you start Mathematica for the first time, a window with password dialog box appears. Select “Other ways to Activate”. In the window that appears next, click on “Connect to a network server”.

8.In the next window, enter the name of the license server and click on “Activate”.

9.Accept the license agreement and click OK.

10.Now the mathematica welcome screen appears. You are now ready to use mathematica.