Can't able to install latest update to MATLAB
Show older comments
If i start the intall update inside the matlab notification area. I am getting this error message. Fix a suggestion for me. I am using Ubuntu 24.04.4 LTS
You do not have write permissions to folder:
/usr/local/MATLAB/R2025b
1 Comment
Rik
on 2 Apr 2026 at 9:19
You can fix this by using chmod to temporarilly grant the user write permissions for this folder.
Accepted Answer
More Answers (1)
Ivy
on 3 Apr 2026 at 20:35
0 votes
Do you have sudo or GUI restrictions for the root user?
If you have sudo and can grant GUI termporarily to the root user (eg using 'xhost +si:localuser:root') then you can try launching MATLAB using sudo with this flag:
sudo matlab -licmode onlinelicensing (if Campus Wide/Startup license)
sudo matlab -licmode online (if not Campus Wide/Startup license)
and update MATLAB. After it is done then restart MATLAB under the normal user.
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!