Cannot install matlab on ubuntu 18.04

13 views (last 30 days)
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?

Accepted Answer

Chris
Chris on 3 Nov 2021
  3 Comments
Ram Charan Teja Ravula
Ram Charan Teja Ravula on 29 Dec 2021
Even for me also, it worked.. Thanks a lot worth of visiting this website and reading this answer

Sign in to comment.

More Answers (1)

Ivonne Medina
Ivonne Medina on 11 Feb 2023
Edited: Ivonne Medina on 11 Feb 2023
Write it somewhere else and then copy and paste it with Ctrl+c and Ctrl+v in the installer

Categories

Find more on Introduction to Installation and Licensing in Help Center and File Exchange

Products


Release

R2021b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!