sudo install not opening installer (MATLAB 2021b)
Afficher commentaires plus anciens
I'm on Ubuntu 20.04 trying to install MATLAB 2021b. The install script will not open the installer GUI when run with sudo. After running sudo ./install my terminal freezes like it's stuck in a loop.
Note that the installer GUI does open when ./install is run without sudo. Also, I've recently installed 2021a without problems.
Any thoughts on how I can run the installer as su?
1 commentaire
ClaytonA
le 23 Sep 2021
Réponse acceptée
Plus de réponses (1)
Ahmad Sharif
le 2 Fév 2022
16 votes

Try this
xhost +SI:localuser:root
sudo ./install
6 commentaires
Marco Tyler-Rodrigue
le 9 Avr 2022
Worked for me, thanks!
Rustenis Tolpeznikas
le 9 Avr 2022
I had same issue on Mint 20.3. This works!
chhayahitesh
le 12 Mai 2022
Thanks it works on ubunto
Philip Gillibrand
le 28 Juin 2022
works on RHEL 8
Albert Lyerly
le 4 Août 2022
This installation method was successful for Ubuntu 20.024.3 LTS and Matlab R2022a on Lenvo P73. 8/2022
dhruv khatri
le 10 Août 2022
Thank you it worked on Ubuntu 20.04.4 LTS. I had the exact problem before.
Catégories
En savoir plus sur Introduction to Installation and Licensing dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!