Effacer les filtres
Effacer les filtres

Unable to install R2020 in Ubuntu

5 vues (au cours des 30 derniers jours)
Morning Star
Morning Star le 18 Juin 2023
Commenté : Morning Star le 19 Juin 2023
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 commentaires
Morning Star
Morning Star le 19 Juin 2023
That was just a typo. I unzipped to a new folder each time I tried a new debugging approach
Morning Star
Morning Star le 19 Juin 2023
Parth, the Matlab web site allows me to download different versions for year 2020 and 2021. I first download version 2020a and that didn’t work. Then I tried 2021, and the same problem persisted.
I bought a Matlab home license in July 2020.
The problem seems to be related to libfreetype.so.* files in the bin directory. If I don’t remove them, sudo ./install fails and Matlab GUI does not open. If I remove these files, then the GUI opens and I can even enter my email address in the box, but on the next page It does not allow me to type in the password in the password box. The fonts also appear slightly distorted in the GUI.

Connectez-vous pour commenter.

Réponses (1)

Parth Saraf
Parth Saraf le 19 Juin 2023
Hello,
You can refer to this link:
It might be helpful!!
  2 commentaires
Morning Star
Morning Star le 19 Juin 2023
Parth,
I tried all of the solution in the link you provided without success.
Morning Star
Morning Star le 19 Juin 2023
I alos tried the solution in https://gist.github.com/pgrepds/7c9a7e29a8b649369951e2002a85a3d0?permalink_comment_id=4291072

Connectez-vous pour commenter.

Catégories

En savoir plus sur Introduction to Installation and Licensing dans Help Center et File Exchange

Produits


Version

R2020a

Community Treasure Hunt

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

Start Hunting!

Translated by