MATLAB Answers

Why does the MATLAB R2018b Update 2 installer fail on Linux and macOS?

208 views (last 30 days)
Why does the MATLAB R2018b Update 2 installer fail on Linux and macOS?

Accepted Answer

MathWorks Support Team
MathWorks Support Team on 7 May 2019
If MATLAB was installed as root/admin but the update installation is attempted on an account without root permissions, the update installer will fail. * No error/failure message will be displayed on the user interface. The installation log file will show "pathdef.m timestamp update failed" indicating the update has failed. * MATLAB will NOT have been modified during this process. You do not need to uninstall MATLAB. Instead, log in to an account with root permissions and try the update again.
For instructions on where to find the installation log file to verify the update installation status, please refer to the article listed below:
Where are the MATLAB Installation and Activation log files located?
  6 Comments
Walter Roberson
Walter Roberson on 10 Aug 2021
"log in to an account with root permissions" and "use sudo" are close to equivalent in Linux, so I do not undertand the disparaging of the official answer ??

Sign in to comment.

More Answers (2)

Tianyi Wang
Tianyi Wang on 17 Mar 2020
If your system is Ubuntu and matlab version is R2019b, then you could do:
sudo ./usr/local/MATLAB/R2019b/bin/glnxa64/update_installer
  5 Comments
Chad Madding
Chad Madding on 20 Aug 2021 at 17:44
On our Macs this worked:
sudo /Applications/MATLAB_R2021a.app/bin/maci64/update_installer

Sign in to comment.


Jan Sekulski
Jan Sekulski on 18 Sep 2019
@Mathworks Support Team
Running linux mint.
I can run Matlab 2019a on regular basis, but I tried to update it, because it started freezing from time to time. I failed to updated it.
When i try to run it as sudo
License checkout failed.
License Manager Error -9
Your username does not match the username in the license file.
To run on this computer, you must run the Activation client to reactivate your license.
Troubleshoot this issue by visiting:
https://www.mathworks.com/support/lme/R2019a/9
Diagnostic Information:
Feature: MATLAB
License path: $$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$
Licensing error: -9,57.
i have run ./activate_matlab.sh like suggested in another post:
but neither root,sudo nor su work.
  7 Comments

Sign in to comment.

Tags

No tags entered yet.

Products


Release

R2018b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!