Unable to Update MATLAB on Ubuntu 18.04
58 views (last 30 days)
Show older comments
I am running MATLAB R2018b and noticed that update 4 is available from the notification menu. However, everytime I attempt to update, the installer states it does not have write permissions for the folder, obviously. I am unable to give update installer root permissions to update, it is not a huge problem, but the software costing $100 because I am a college student and not able to simply update is a dissapointment. UPDATE: I upgraded to Ubuntu 19.04 and am still unable to give MATLAB root access, I love the program but the community is not helpful.
2 Comments
Aylin
on 19 Apr 2019
Hi, do you start MATLAB on the Linux command line? If so, have you tried starting MATLAB with admin permissions, for example:
sudo /usr/local/MATLAB/R2018b/bin/matlab
Does updating MATLAB work after it is started by the admin user?
Note: it should go without saying, but please be careful when executing code under an admin user. To improve safety, most normal tasks on an operating system should be done using a non-admin user.
Answers (1)
Bukoko Ikoki
on 19 Dec 2019
For the current version of matlab, which is R2019b, presuming installation path is default and matlab is not running, try:
cd /usr/local/MATLAB/R2019b/bin/glnxa64
and then:
sudo ./update_installer
14 Comments
Per Jørgensen
on 8 Nov 2023
I installed 2023b on OpenSUSE and I can't find ./update_installer anywhere - it seems that it is renamed to ./MathWorksUpdateInstaller
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!