sudo install not opening installer (MATLAB 2021b)
古いコメントを表示
I'm on Ubuntu 20.04 trying to install MATLAB 2021b. The install script will not open the installer GUI when run with sudo. After running sudo ./install my terminal freezes like it's stuck in a loop.
Note that the installer GUI does open when ./install is run without sudo. Also, I've recently installed 2021a without problems.
Any thoughts on how I can run the installer as su?
採用された回答
その他の回答 (1 件)
Ahmad Sharif
2022 年 2 月 2 日
16 投票

Try this
xhost +SI:localuser:root
sudo ./install
6 件のコメント
Marco Tyler-Rodrigue
2022 年 4 月 9 日
Worked for me, thanks!
Rustenis Tolpeznikas
2022 年 4 月 9 日
I had same issue on Mint 20.3. This works!
chhayahitesh
2022 年 5 月 12 日
Thanks it works on ubunto
Philip Gillibrand
2022 年 6 月 28 日
works on RHEL 8
Albert Lyerly
2022 年 8 月 4 日
This installation method was successful for Ubuntu 20.024.3 LTS and Matlab R2022a on Lenvo P73. 8/2022
dhruv khatri
2022 年 8 月 10 日
Thank you it worked on Ubuntu 20.04.4 LTS. I had the exact problem before.
カテゴリ
ヘルプ センター および 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!