Cannot install matlab on ubuntu 18.04
14 次查看(过去 30 天)
显示 更早的评论
Hello,
I am trying to install matlab on my ubuntu 18.04 computer, but it fails. I have downloaded the file. Then I ran:
unzip -X -K matlab_R2021b_glnxa64.zip -d matlab_2021b_installer
in my terminal, followed by
cd matlab_2021b_installer
next I have tried both
sudo sh install
sudo ./install
but in both cases the terminal only close blank and I cannot enter more text. I cannot even ctrl+c to stop it trying to do whatever it is trying to. No pop-up or anything appears. I found something similar in https://uk.mathworks.com/matlabcentral/answers/319852-install-command-on-linux-doesn-t-bring-up-installer but I cannot try the solution because I do not have a file with any name even similar to matlab_R20XXx_glnxa64.
If I try the "ls" command I get this putput:
archives mathworks_installation_help_es.pdf remote
bin mathworks_installation_help_ja_JP.pdf resources
cefclient mathworks_installation_help_ko_KR.pdf sys
extern mathworks_installation_help.pdf trademarks.txt
install mathworks_installation_help_zh_CN.pdf ui
installer_input.txt patents.txt VersionInfo.xml
license_agreement.txt readme.txt
In general I find little information on how to install matlab on ubuntu, so here I am more or less stuck. Any advice on how to proceed?
0 个评论
采纳的回答
Chris
2021-11-3
Try:
xhost +SI:localuser:root
sudo ./install
3 个评论
Ram Charan Teja Ravula
2021-12-29
Even for me also, it worked.. Thanks a lot worth of visiting this website and reading this answer
更多回答(1 个)
Ivonne Medina
2023-2-11
编辑:Ivonne Medina
2023-2-11
Write it somewhere else and then copy and paste it with Ctrl+c and Ctrl+v in the installer
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!