sudo ./install on linux silently fails R2022a

1 次查看(过去 30 天)
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

更多回答(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