How can I install an update on R2025a on Linux?

19 Ansichten (letzte 30 Tage)
Josh G.
Josh G. am 24 Jul. 2025
Beantwortet: Josh G. am 29 Dez. 2025 um 19:09
In past releases, updates could be installed by running /usr/local/MATLAB/R20XXx/bin/glnxa64/MathWorksUpdateInstaller as root, but in R2025a, this installer is gone. Is there any remaining way to install updates short of running Matlab itself as root and installing the update through the notification bell menu?
  3 Kommentare
Josh G.
Josh G. am 24 Jul. 2025
@Star Strider thanks, I tried searching and didn't find a related question, but I'll follow up there.
Star Strider
Star Strider am 24 Jul. 2025
My pleasure!

Melden Sie sich an, um zu kommentieren.

Akzeptierte Antwort

Josh G.
Josh G. am 29 Dez. 2025 um 19:09
Reproducing the answer to the other question here, with appropriate modifications:
Mathworks now puts the MathWorksUpdateInstaller binary under ~/.MathWorks/ServiceHost/-mw_shared_installs/$version/bin/glnxa64. Additionally, the update installer needs the location of the actual installation passed in as an argument. $version changes based on the release of Matlab, but whatever you have under -mw_shared_installs should work.
For example, to update R2025b installed in the default location:
sudo ~/.MathWorks/ServiceHost/-mw_shared_installs/v2025.13.0.5/bin/glnxa64/MathworksUpdateInstaller --destination=/usr/local/MATLAB/R2025b
Matlab does not need to be running when you run this command. Note that the update installer will launch a session of Matlab as the root user after the update is installed; you should close this session and open one as your regular user.

Weitere Antworten (0)

Kategorien

Mehr zu Introduction to Installation and Licensing finden Sie in Help Center und File Exchange

Produkte


Version

R2025a

Community Treasure Hunt

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

Start Hunting!

Translated by