Can't able to install latest update to MATLAB

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

You can fix this by using chmod to temporarilly grant the user write permissions for this folder.

Sign in to comment.

 Accepted Answer

Sarvesh
Sarvesh on 4 Apr 2026 at 8:24
You can fix this by using chmod to temporarilly grant the user write permissions for this folder. After the updation you can revert the changes to permission to root. This worked for me. Thank you @Rik for the solution

More Answers (1)

Ivy
Ivy on 3 Apr 2026 at 20:35
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

Products

Release

R2025b

Asked:

on 2 Apr 2026 at 6:14

Answered:

on 4 Apr 2026 at 8:24

Community Treasure Hunt

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

Start Hunting!