on ubuntu sudo won't run the install file

2 次查看(过去 30 天)
I'm trying to install MatLab on Ubuntu 20.04.
Running
./install
in the terminal does bring out the installation window but then the installer doesn't have the permission to write on usr/local
So i need to run
sudo ./install
but this does nothing, the process doesn't do anything and doesn't stop. It doesn't even have an error message.
I've tried changing the permissions on the file with chmod but it doesn't anything.
Where could the problem come from ?
  5 个评论
Gurpreet Singh
Gurpreet Singh 2021-10-14
Running the following code in terminal (from ./install directory) worked for me:
xhost +SI:localuser:root

请先登录,再进行评论。

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Introduction to Installation and Licensing 的更多信息

产品


版本

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by