フィルターのクリア

sudo ./install on linux silently fails R2022a

1 回表示 (過去 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 Center および File ExchangeIntroduction 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