Unable to install R2020 in Ubuntu
Show older comments
I am trying to install Matlab on a new Ubuntu machine.
I followed the instructions and download the file matlab_R2021a_glnxa64.zip.
sudo unzip -K -X matlab_R2021a_glnxa64.zip -d matlab_installer
cd matlab_installer2
sudo su
xhost +SI:localuser:root
sudo ./install
This resulted in the error below:
terminate called after throwing an instance of 'std::runtime_error'
what(): Unable to launch the MATLABWindow application. The exit code was: 127
Aborted
Based on the information I found on the internet, I removed files libfreetype.so.6.16.0 and libfreetype.so.6 from /bin/glnxa64 folder and then sudo ./install.
This time the program ran and matlab GUI opened. But the problem is that I can only enter my email address in the appropriate box. I can not enter the password (the cursor does not appear in the box and no characters are shown as I type the password). There is a problem with entering the password into the GUI box.
Thanks,
Vahid Hesany
4 Comments
Parth Saraf
on 19 Jun 2023
You mentioned R2020 in the title but while running the command, you are specifying R2021a. Please verify the version which you want to download.
Rik
on 19 Jun 2023
Another odd thing is that you cd to a different folder than you unzip.
Morning Star
on 19 Jun 2023
Morning Star
on 19 Jun 2023
Answers (1)
Parth Saraf
on 19 Jun 2023
0 votes
Hello,
You can refer to this link:
It might be helpful!!
Categories
Find more on Introduction to Installation and Licensing in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!