如何安装校方提供的Mathematica 11?.sh与.sh.part文件安装指引
Hey there! Let's get your university-provided Mathematica 11.1.1 up and running on Linux. First, let's address those two files you have: Mathematica11_1_1_LINUX.sh and Mathematica11_1_1_LINUX.sh.part.
First: Fix the .part File
That .part extension usually means your download was interrupted mid-process—this file isn't usable on its own. Here's what to do:
- If the main
.shfile is fully downloaded (cross-check its file size against what your university provided), you can safely delete the.partfile. - If the
.shfile feels incomplete or throws errors later, re-download the fullMathematica11_1_1_LINUX.shinstaller from your university's software portal to ensure you have a complete, working file.
Step 1: Grant Execute Permissions
Open your terminal and navigate to the folder where your installer is saved (use cd /path/to/your/installer/folder to jump to the right directory). Then run this command to make the script executable:
chmod +x Mathematica11_1_1_LINUX.sh
Step 2: Run the Installer
Next, launch the installation script. You'll likely need administrative privileges, so use sudo unless your user account has full write access to system directories:
sudo ./Mathematica11_1_1_LINUX.sh
- If a graphical installation wizard pops up, great—skip to Step 3.
- If no GUI appears (common on headless servers or minimal desktop environments), run the text-mode installer instead:
sudo ./Mathematica11_1_1_LINUX.sh --ui-mode text
Step 3: Follow the Installation Wizard
Whether you're using the GUI or text mode, walk through the prompts:
- Installation Directory: The default path is
/usr/local/Wolfram/Mathematica/11.1.1/—stick with this unless you have a specific reason to change it. - Component Selection: The default options include the core program, documentation, examples, and support files. Unless you're short on disk space, keep all components selected.
- Wait for the installation to finish—this might take a few minutes depending on your system speed.
Step 4: Activate Mathematica
Once installation completes, launch Mathematica from your applications menu or run mathematica in the terminal. You'll see an activation window:
- Use the activation key provided by your university, along with any required organization ID.
- If your university uses a network license server, select "Connect to a Network License Server" and enter the server address provided by your IT department.
Step 5: Verify the Installation
To make sure everything works correctly, open a new notebook in Mathematica and type:
1 + 1
Press Shift + Enter—you should see 2 as the output. If that works, your installation is successful!
Troubleshooting Tips
- If you get "permission denied" errors, double-check that you ran the installer with
sudoor have the right file permissions. - If the installer crashes, verify the integrity of your
.shfile (your university might provide an MD5/SHA hash to compare against). - For text-mode activation issues, run
math -activatein the terminal to start the activation process directly from the command line.
内容的提问来源于stack exchange,提问作者Valerie D.

