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!