Effacer les filtres
Effacer les filtres

sudo ./install on linux silently fails R2022a

1 vue (au cours des 30 derniers jours)
David Wilby
David Wilby le 11 Mar 2022
Commenté : Akila Ganlath le 15 Mai 2022
AFAIK this has been an issue since R2021b (maybe before?)
Running ./install doesn't have the permissions to install to /usr/local/ but running the install script as sudo hangs and fails silently.
To me, this is a pretty serious bug for linux users, I was hoping it would be fixed in this new release. Has this been logged internally at MathWorks?
  1 commentaire
David Wilby
David Wilby le 11 Mar 2022
From: https://uk.mathworks.com/matlabcentral/answers/1459909-installer-hang-when-installing-matlab-r2021b-as-root-on-ubuntu-20-04#comment_1759029
I have been advised by Matlab Support "This appears to be an issue with MATLAB R2021b under root not being able to access the X Server". Workaround is to run the following command:
xhost +SI:localuser:root

Connectez-vous pour commenter.

Réponse acceptée

David Wilby
David Wilby le 11 Mar 2022
From: https://uk.mathworks.com/matlabcentral/answers/1459909-installer-hang-when-installing-matlab-r2021b-as-root-on-ubuntu-20-04#comment_1759029
I have been advised by Matlab Support "This appears to be an issue with MATLAB R2021b under root not being able to access the X Server". Workaround is to run the following command:
xhost +SI:localuser:root
  1 commentaire
Akila Ganlath
Akila Ganlath le 15 Mai 2022
confirming the above fix applied to R2022a as well

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur Introduction to Installation and Licensing dans Help Center et File Exchange

Produits


Version

R2022a

Community Treasure Hunt

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

Start Hunting!

Translated by