sudo ./install on linux silently fails R2022a

조회 수: 8 (최근 30일)
David Wilby
David Wilby 2022년 3월 11일
댓글: Akila Ganlath 2022년 5월 15일
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
David Wilby
David Wilby 2022년 3월 11일
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

댓글을 달려면 로그인하십시오.

채택된 답변

David Wilby
David Wilby 2022년 3월 11일
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
Akila Ganlath
Akila Ganlath 2022년 5월 15일
confirming the above fix applied to R2022a as well

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Introduction to Installation and Licensing에 대해 자세히 알아보기

태그

제품


릴리스

R2022a

Community Treasure Hunt

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

Start Hunting!

Translated by