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 commentaire

Rik
Rik le 2 Avr 2026
You can fix this by using chmod to temporarilly grant the user write permissions for this folder.

Connectez-vous pour commenter.

 Réponse acceptée

Sarvesh
Sarvesh le 4 Avr 2026

0 votes

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

Plus de réponses (1)

Ivy
Ivy le 3 Avr 2026

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.

Catégories

Produits

Version

R2025b

Community Treasure Hunt

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

Start Hunting!

Translated by