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!