Filter löschen
Filter löschen

sudo ./install on linux silently fails R2022a

4 Ansichten (letzte 30 Tage)
David Wilby
David Wilby am 11 Mär. 2022
Kommentiert: Akila Ganlath am 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 Kommentar
David Wilby
David Wilby am 11 Mär. 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

Melden Sie sich an, um zu kommentieren.

Akzeptierte Antwort

David Wilby
David Wilby am 11 Mär. 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

Weitere Antworten (0)

Kategorien

Mehr zu Introduction to Installation and Licensing finden Sie in Help Center und File Exchange

Produkte


Version

R2022a

Community Treasure Hunt

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

Start Hunting!

Translated by