Wolfram Computation Meets Knowledge

How do I update MathLM license information on Mac and Linux?

The MathLM license manager is used to distribute licenses for network installations of Mathematica.

After updating Mathematica to a newer major version, you also need to upgrade to the equivalent or later version of MathLM. Instructions for this process are available for Windows, and for Mac and Linux.

To have your MathLM start using the new license information, you need to collect all necessary information, stop the current MathLM instance, update the license information and restart the application.

  1. Get your activation key from the User Portal.
  2. In a terminal, navigate to the installation folder of MathLM. (The default is /Usr/local/Wolfram/MathLM on Mac and /usr/local/Wolfram/MathLM on Linux.)
  3. Execute the following command to obtain your MathID:
     ./mathlm -mathid 
  4. To generate a password, go to the Password Generator form in the User Portal and enter the activation key and MathID obtained in the steps above. Click the Generate Password button to generate your new password.

    You are now ready to update your MathLM license information.

  5. To stop the currently running process of MathLM, find the process ID by executing the following command:
     ps -A | grep mathlm 
  6. Using the MathLM process ID, terminate it with the following command:
     kill -9 <processid> 
  7. In the MathLM installation directory, make a copy of the mathpass file and name it “mathpass.old”.
  8. Using a plain text editor such as vim or Emacs, open the original mathpass file in the installation directory of MathLM.
  9. Verify that the MathID found in the second column of the file is the same as the one you identified previously.
  10. Verify that the activation key in the third column is the same as the one identified previously, or update the column entry to the new key otherwise.
  11. Locate the old password in the last column of the mathpass file and replace it with the password generated in step 3.
  12. Save the mathpass file.
  13. Restart MathLM by executing the following command:








1-800-WOLFRAM (+1-217-398-0700 美国境外用户)


8am–5pm 美国中部时区

  • 产品注册或激活
  • 预售信息和订单
  • 安装帮助和首次启动

高级技术支持 (面向特定用户)

8am–7pm 美国中部时区

8:30–10am & 11am–5pm 美国中部时区

  • 优先技术支持
  • Wolfram 专家助理专员
  • Wolfram 语言编程帮助
  • 高级安装支持