MathWorksUpdateInstaller and R2025a in Linux
163 views (last 30 days)
Show older comments
Hi!
Until now (e.g., with R2024b), whenever I needed to update my MATLAB in Linux, I used to run
sudo /usr/local/MATLAB/R2024b/bin/glnxa64/MathWorksUpdateInstaller
but I cannot find the equivalent executable for R2025a. Did it change name/location? Or what is the suggested update approach, now?
Note that I can't simply run the updater from the MATLAB desktop, because as normal user I don't have privilegies to write in the MATLAB root directory. And I can't start MATLAB as root, either, because of the name in the license.
Thanks in advance!
7 Comments
Josh G.
on 25 Jul 2025
After looking into this a little more, it looks like MathWorksUpdateInstaller has moved to ~/.MathWorks/ServiceHost/-mw_shared_installs/v2025.5.1.1/bin/glnxa64/. But if I try running it by itself, with or without sudo, with or without Matlab running already, it runs into error 1804.
Star Strider
on 25 Jul 2025
Having MATLAB open is probably required. When I updated R2025a earlier this week, I just clicked on the 'notifications' (bell) icon in the upper-right corner of the MATLAB GUI, then scrolled down to and clicked on 'Install Updates'. The updater closed MATLAB, installed Update 1, and re-launched MATLAB when it finished. (Ubuntu 24.04)
I'm not at all certain that I initially installed R2025a 'correctly'. Whatever I did, everything seems to worrk.
Some sort of clarification (extensive discussion) from TMW on all of this would be extremely helpful, especially for those of us who are relatively new to Linux.
Accepted Answer
Josh G.
on 25 Jul 2025
Edited: Josh G.
on 25 Jul 2025
I was able to get the update installed. For context, this is on an enterprise shared license system, so named user licenses may have slightly different paths.
MathWorksUpdateInstaller, when launched from within Matlab, is passed a bunch of arguments: destination, entitlement ID, and a few other things. You can see this if you open htop in a terminal and find the processes that are launched when you open the updater. Apparently it's now necessary to pass in at least the destination, and from there the updater can figure out the other information it needs.
With Matlab R2025a open, from within ~/.MathWorks/ServiceHost/-mw_shared_installs/v2025.5.1.1/bin/glnxa64, I ran
sudo ./MathWorksUpdateInstaller --destination=/usr/local/MATLAB/R2025a
I then closed Matlab when the update installer window launched, and the update completed successfully. I'm not sure if it's necessary to have Matlab open when you do this or not; as of R2025a, Matlab now seems to launch a server and a client. The server may need to be running when MathWorksUpdateInstaller is launched, but this would need someone else to test and verify.
2 Comments
scivision
on 4 Aug 2025 at 3:35
Edited: Walter Roberson
on 4 Aug 2025 at 4:05
Thanks Josh G, based on your information I made a platform-agnostic Matlab release upgrade script: https://github.com/geospace-code/matlab-stdlib/blob/main/scripts/MatlabReleaseUpgrade.m
More Answers (0)
See Also
Categories
Find more on Introduction to Installation and Licensing in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!