Installing Mathematica
Downloading Mathematica | Installing Mathematica on Linux… |
Installing Mathematica on Windows… | Installing Mathematica from a File Server |
Installing Mathematica on Mac… | Installing Mathematica from a Script |
1. On the Products & Services tab in your Wolfram Account, select Mathematica.
2. Under Access ► Desktop, click Download. This downloads the Wolfram Download Manager, which combines the Mathematica core product and documentation installers.
3. Quit any previous installations of Mathematica that are running on your machine.
4. Start the Wolfram Download Manager executable and follow its instructions. The download manager confirms when the process is complete.
5. Click "Launch" to install Mathematica documentation.
6. Wait for the installation to complete.
7. The Mathematica setup dialog opens next. Click Next to begin the installation process.
8. Click Next to install Mathematica to the default directory.
9. Click Next to include wolframscript with your installation.
If you prefer not to install wolframscript, select “Choose components to install” from the drop-down menu and uncheck the box next to wolframscript; click Next to continue.
10. The installer adds Mathematica shortcuts to the Windows Start Menu in the Wolfram Mathematica folder. To make the shortcuts appear in a different folder, click Browse and select a directory. If you prefer not to make a shortcut in the Start Menu, check the box next to “Don’t create a Start Menu folder”. Click Next to continue the installation.
11. The Remove Other Applications window only appears if there are older versions installed on the computer. Select any old versions of Mathematica that you want to uninstall, then click Next.
12. The configuration of the Mathematica installation is finished. Click Install.
13. When the installation process completes, click Finish to launch Mathematica.
14. The installation is now complete. Next, activate Mathematica.
15. Quit any previous installations of Mathematica that are running on your machine.
16. If you have a previous version of Mathematica installed in your Applications folder that you want to keep, rename it.
17. Double-click the downloaded dmg file to start the download manager and follow its instructions. The download manager confirms when the process is complete.
18. Click "Launch" to install Mathematica documentation.
20. Click Install to install the documentation in the default location.
21. Wait for the installation to complete.
22. Click Close to finish installing the documentation.
23. The Mathematica Installer window opens next. Drag the Mathematica icon to the Applications folder icon.
24. Wait for the installation to complete.
25. Mathematica is now installed in your Applications folder. Next, activate Mathematica.
Running the Installer from a Downloaded Script
1. Quit any previous installations of Mathematica that are running on your machine.
2. Open a terminal and change the directory to where the Mathematica+Documentation installer is located. For example, if the installer is located on your desktop, run:
cd Desktop
3. Installing Mathematica and Wolfram Language Documentation in their respective default locations, usr/local/Wolfram/Mathematica/14.0 and usr/share/Wolfram/Documentation/14.0, requires administrative privileges.
sudo bash MathematicaAndDocumentationInstaller.sh
Enter the installation directory, or press ENTER
to select /usr/local/Wolfram/Mathematica/14.0:
4. Press Enter to install Mathematica to the default directory. The installer will then prompt you to choose where you want to place the executables.
Type the directory path in which Wolfram Mathematica
script(s) will be created, or press ENTER to select
/usr/local/bin:
5. Press Enter to place them in the default directory.
(1) Overwrite
(2) Rename
(3) Cancel
Type your selection, or press ENTER to select (1):
6. Press Enter to overwrite the previous installation.
WolframScript allows Wolfram Language code to be run from the command line and from self-executing script files. It is always available from /usr/local/Wolfram/Mathematica/14.0/Executables/wolframscript. WolframScript system integration makes the wolframscript binary accessible from any terminal, and allows .wls script files to be executed by double-clicking them in the file manager.
Install WolframScript system integration? (y/n)
7. To install wolframscript, type y; otherwise, type n.
--------------------------------------------------------------------
Wolfram Language 14.0 Documentation 14.0 Installer
--------------------------------------------------------------------
Copyright (c) 1988-2023 Wolfram Research, Inc. All rights reserved.
WARNING: Wolfram Language 14.0 Documentation 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.
All users of this computer will be able to use this software.
Y
Now installing...
[*****************************************************************]
8. Wait for the Documentation Installer to finish. Next, activate Mathematica.
Running the Installer from a DVD or USB
1. Quit any previous installations of Mathematica that are running on your machine.
2. Mount the DVD or USB and change the directory to the mount point. Then change the directory to Unix/Installer.
3. Open a terminal and change the directory to where the Mathematica+Documentation installer is located. For example, if the installer is located on your desktop, run:
cd Desktop
4. Installing Mathematica and Wolfram Language Documentation in their respective default locations, usr/local/Wolfram/Mathematica/14.0 and usr/share/Wolfram/Documentation/14.0, requires administrative privileges.
sudo bash MathematicaAndDocumentationInstaller.sh
Enter the installation directory, or press ENTER
to select /usr/local/Wolfram/Mathematica/14.0:
5. Press Enter to install Mathematica to the default directory. The installer will then prompt you to choose where you want to place the executables.
Type the directory path in which Wolfram Mathematica
script(s) will be created, or press ENTER to select
/usr/local/bin:
6. Press Enter to place them in the default directory.
(1) Overwrite
(2) Rename
(3) Cancel
Type your selection, or press ENTER to select (1):
7. Press Enter to overwrite the previous installation.
WolframScript allows Wolfram Language code to be run from the command line and from self-executing script files. It is always available from /usr/local/Wolfram/Mathematica/14.0/Executables/wolframscript. WolframScript system integration makes the wolframscript binary accessible from any terminal, and allows .wls script files to be executed by double-clicking them in the file manager.
Install WolframScript system integration? (y/n)
8. To install wolframscript, type y; otherwise, type n.
--------------------------------------------------------------------
Wolfram Language 14.0 Documentation 14.0 Installer
--------------------------------------------------------------------
Copyright (c) 1988-2023 Wolfram Research, Inc. All rights reserved.
WARNING: Wolfram Language 14.0 Documentation 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.
All users of this computer will be able to use this software.
Y
Now installing...
[*****************************************************************]
9. Wait for the Documentation Installer to finish. Next, activate Mathematica.
Windows
/dir="C:\
path
\
here
"
| specify the installation directory |
DisableShellVerbs
|
disable file associations for .m, .nb, .nbp, etc. (enabled by default)
|
/group="
start menu folder name"
| specify the start menu folder name |
/noicons
| disable creation of start menu folder and shortcuts |
/norestart
|
do not restart the system, even if necessary
|
/restartexitcode=
code
| specify the installer exit code to return if restart is necessary |
/silent
| force an automatic installation and suppress installation windows |
/suppressmsgboxes
|
suppress installer message boxes (only effective when used in conjuction with
/silent
)
|
Creating a Script That Performs a Silent Mathematica Installation:
1. Follow the instructions in the first part of "Installing Mathematica from a File Server" to get the installer and files on a file server.
2. Copy your mathpass file to the same directory on the file server as the installer and Mathematica files.
3. Open Notepad (Start Menu ▶ Windows Accessories ▶ Notepad) and type the following lines into a new file.
@echo off
echo Installing Mathematica...
\\server\math\setup.exe /silent /suppressmsgboxes /log="C:\Windows\Temp\install.log"
echo Creating password file...
copy \\server\math\mathpass "C:\Directory\Name"
echo Mathematica installation complete.
4. Change all instances of \\server\math to the pathname of the network share where the Mathematica installation files and mathpass file were copied.
5. Change "C:\Directory\Name" to the directory listed here for your version of Windows. Be sure to enclose the name of the directory in quotes.
Windows 7/8/10/11/Vista—"C:\ProgramData\Mathematica\Licensing"
Windows XP—"C:\Documents and Settings\All Users\Application Data\Mathematica\Licensing"
Note: These directories are the values of $BaseDirectory for different versions of Windows. See "Configuration Files" for further information.
6. To save the file, choose File ▶ Save. Save the file in the same directory as the Mathematica installation files. Type the file name install.bat and choose All Files from the Save as type popup menu. Click Save, then quit Notepad.
Performing a Silent Mathematica Installation:
1. On the client, open a Command Prompt window, type the pathname of the install.bat file and press Enter. For example, if the network share is called \\server\math, type:
The following messages are displayed.
2. The installation is now complete. If you see any messages other than those printed here, check the file C:\Windows\Temp\install.log on the client machine for further information.
Linux
-auto | force the installation to proceed automatically without prompting the user for any information |
-createdir=
value
| specify whether or not to create the directories specified by the options -targetdir and -execdir |
-execdir=
dir
| specify the path to be used for the symbolic links to the executable scripts |
-help
| display information about the installer options |
-method=
type
| define the type of installation you would like to perform |
-overwrite=
value
| specify whether the installer should overwrite any files that already exist in the target directory |
-platforms=
value
| specify the system ID of the Linux platform or platforms for which you want to do the installation |
-selinux=
value
| specify whether the installer should attempt to modify the security context of any included libraries so that it will function properly |
-silent
|
force an automatic installation (equivalent to the
-auto
option)
|
-targetdir=
dir
| specify the installation directory |
-verbose
| display detailed information about the files and directories being installed |
Note: Default values are used for any options that are not specified explicitly on the command line.