Unable to Update MATLAB on Ubuntu 18.04

58 views (last 30 days)
Austin Cassel
Austin Cassel on 4 Apr 2019
Commented: Mohnish on 15 Mar 2024
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
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.
Austin Cassel
Austin Cassel on 6 May 2019
I have since installed Matlab R2019a and still have the issue, I run Matlab through a launcher provided through the Ubuntu repositories. When I run the above command it returns a license error -9, I have attempted to fix it but it does not run through command line even though everything matches, host ID, username, et cetera. I essentially give-up at this point, if I need an update, I will just download it and reinstall it.

Sign in to comment.

Answers (1)

Bukoko Ikoki
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
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
Mohnish
Mohnish on 15 Mar 2024
Thanks alot bro,it worked fro me.

Sign in to comment.

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!