Installing Mathematica on Linux

Installing Mathematica

Requirements

Mathematica is available for Windows, Unix, Linux, and Mac OS X. 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.inResponse 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.htmlMake 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 16286 

Response 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:

Note: You might need sudo permission to execute the commands

  • Step1:-  sudo mkdir /opt/mathematica
  • Step2:- mount -t cifs //10.16.4.96/Shares/Mathematica_13.2 /opt/mathematica -o guest,vers=2\.1 
  • Step3:-   cd /opt/mathematica
  • Step4:-  ls  [you will see list of mathematica installation file]
  • Step5:-   mkdir ~/Downloads/mathematica
  • Step6:-  cp Mathematica_13.2.0_BNDL_LINUX.sh ~/Downloads/mathematica/
  • Step7:-  cd ~/Downloads/mathematica/
  • Step8:-   ls

        > sudo ./Mathematica_13.2.0_BNDL_LINUX.sh

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

The installer prompts you to specify the directory in which Mathematica should be installed. The default location is /usr/local/Wolfram/Mathematica/13.2. 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/13.2:

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)?

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…
[*******************************************************************************]

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.

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”.

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

License Server Name: sunlx2_17.serc.iisc.ernet.in

Accept the license agreement and click OK.

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