Unable to install R2020 in Ubuntu
7 views (last 30 days)
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
Answers (1)
See Also
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!