geting matlab installer to start on linux
24 views (last 30 days)
Show older comments
Vasilios Kormas
on 26 Nov 2021
Commented: Vasilios Kormas
on 27 Nov 2021
i am trying to install matlab on my new ubuntu 20.04 pc, but i cant even get the installer to show up
i am following the instructions from here, but when i enter the 'sudo ./install' command on the terminal nothing seems to be happening (whereas i ender the './install' command, without sudo, the window shows up instantly). the terminal just seems to get busy but doesn't produce any results
i also tried to change the access permisions on the directory where the installer is with chmod but that doesn't seem to change anything
do i just have to wait for it to load? shouldn't it open in less than a minute? thanks.
1 Comment
Rik
on 26 Nov 2021
There seems to be a bug in the installer for Linux. You can run it without sudo, but you will have to chown the installation directory to the current user (and back to root).
Accepted Answer
Chris
on 26 Nov 2021
From a comment deep in the thread (here), and from reading your symptoms, what typically works with this version of Ubuntu is:
xhost +SI:localuser:root
sudo ./install
5 Comments
Chris
on 26 Nov 2021
Having Matlab in /usr/local comes with additional issues--namely, Matlab can't modify itself (e.g., installing Add-ons) without permissions changes. Should you need additional Add-ons, the safest method I'm aware of would be to re-run the installer.
More Answers (0)
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!