필터 지우기
필터 지우기

Unable to install R2020 in Ubuntu

조회 수: 5 (최근 30일)
Morning Star
Morning Star 2023년 6월 18일
댓글: Morning Star 2023년 6월 19일
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
Morning Star
Morning Star 2023년 6월 19일
That was just a typo. I unzipped to a new folder each time I tried a new debugging approach
Morning Star
Morning Star 2023년 6월 19일
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.

댓글을 달려면 로그인하십시오.

답변 (1개)

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

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Introduction to Installation and Licensing에 대해 자세히 알아보기

제품


릴리스

R2020a

Community Treasure Hunt

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

Start Hunting!

Translated by