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
2021-10-14
Running the following code in terminal (from ./install directory) worked for me:
xhost +SI:localuser:root
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Introduction to Installation and Licensing 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!