what(): Unable to launch the MATLABWindow application during installation
Afficher commentaires plus anciens
So, I'm running a fresh install of Manjaro Gnome and I'm trying to install matlab. I downloaded the installer, unpacked but when I try to run "bash ./install" it gives me the error:
terminate called after throwing an instance of 'std::runtime_error'
what(): Unable to launch the MATLABWindow application
Matlab version is R2020a.
12 commentaires
Raghu Yelugam
le 28 Mar 2020
I am experiencing the same problem with the latest version of Matlab. I tried running matlab-support from AUR however it requires gconf, which appears to be deprecated - to make things worse it doesn't install. Any help would be really appreciated.
Adria Cusido Mas
le 29 Mar 2020
I am having the same problem trying a fresh install on KDE neon. Would appreciate a solution.
Daniel Morberg
le 30 Mar 2020
Try running /bin/glnxa64/MATLABWindow and see if you are missing 'libselinux.so.1'. If that is the case, grab it from the AUR and then see if the issue is resolved
Nicolò Giaccone
le 31 Mar 2020
I have the same probleme on manjaro KDE. The installer doesn't run. I downloaded the installer two times but i have always the same problem
Duncan Salmon
le 30 Avr 2020
I installed libselinux from the AUR and it fixed it as well. As for the installer on manjaro, I couldn't get the original to work either, I had to use the unix-legacy-installer to get it to work.
Matthew Shapiro
le 1 Mai 2020
THANK YOU Daniel Morberg!! Solved for Manjaro KDE
Federico Matteo Bencic
le 11 Juin 2020
@Daniel Morberg - solved for Manjaro i3
Volodymyr Kozachynskyi
le 16 Juin 2020
THANK YOU Daniel Morberg!! Solved for VoidLinux
Nikita Ermishin
le 7 Août 2020
THANK YOU Daniel Morberg!! Solved for Manjaro Gnome
David Foster
le 11 Mai 2021
Thank you Daniel Morberg! Solved for Matlab R2021a on Redhat Enterprise Linux 7 (RHEL7.9)
Shashwat
le 5 Nov 2022
This worked for my manjaro kde in 2022
shuaikang yan
le 4 Juin 2023
Modifié(e) : shuaikang yan
le 4 Juin 2023
Thank you for your answer.Insufficient permissions in ’MATLABWindow’ caused this issue to occur
Réponse acceptée
Plus de réponses (7)
Atharva Naik
le 29 Sep 2022
Modifié(e) : Atharva Naik
le 29 Sep 2022
If you are using MATLAB(>=2022a), follow these steps...
cd <matlab installer root directory>
cd /bin/glnxa64
ls | grep libfreetype
mkdir exclude
mv libfreetype.so.x.xx.x exclude/
Thank you David Scholz (github: pgrepds) for the gist.
16 commentaires
Andreu Angles Castillo
le 3 Oct 2022
This is the one that worked for me.
Thanks very much!!
Zulkifli Hidayat
le 4 Oct 2022
This is also works well for me. Thanks a lot
Saifur Rahman
le 5 Oct 2022
This solution worked for me as well.
Chris Burschyk
le 7 Oct 2022
Thanks that worked for me as well!
Francesco Lorenzi
le 15 Oct 2022
Thank you for the fix!
Muhammad Abdullah
le 23 Oct 2022
Thanks, it worked for me on Fedora 36
Srijal Poojari
le 31 Oct 2022
Worked for me as well, on Fedora 36
MAURO
le 29 Nov 2022
This work for me!! Thanks! Manjaro 21
Mark Thomas
le 5 Déc 2022
Worked for me with R2022b on Fedora 37.
Note:
- Remove the leading '/' on the second cd command!;
- Last command "mv libfreetype.so.* exclude/", to remove the empty symlink.
Kobe Sauwens
le 7 Jan 2023
@Mark Thomas hero, thanks a lot! Worked on Fedora 36!
Kartik
le 18 Jan 2023
Thank you this worked for me. (Using Arch linux on BSPWM DE)
Rami
le 3 Fév 2023
This worked for me, Arch on Wayland + Sway.
Roberto
le 30 Juin 2023
NICE,
it works!!!
Sagnik Chatterjee
le 9 Sep 2023
Thanks
Tariq Soliman
le 31 Juil 2024
Worked on Mint 21.3
Sreejith Thazhathe Veetil
le 27 Jan 2025
This worked for me in installing MATLAB 2022b on Ubuntu 24.04.1. But while runnig the matlab is not showing the icon, instead it shows the gear icon.

Any solution?
Brian Zelenke
le 23 Mai 2020
The MATLAB 2020a installer contains its own shared library libcrypto.so.1.1, but uses the system library libk5crypto.so.3. System library libk5crypto.so.3 uses new symbols, which system library libcrypto.so.1.1 has, but MATLAB's library libcrypto.so.1.1 doesn't. So, you have to delete the MATLAB installer's copy of libcrypto.so.1.1. The sequence of commands that worked for me in RHEL 8.2 were:
cd /home/YourUserName/Downloads/matlab_R2020a_glnxa64/bin/glnxa64
rm libcrypto.so.1.1
sudo su -
cd /home/YourUserName/Downloads/matlab_R2020a_glnxa64
export DISPLAY=':0'
./install
That got the installer to work.
P.S. -- When I got to the step of entering my MathWorks account password in the resulting MATLABWindow application, the password field wouldn't let me type until I selected "Show Details" from the "MathWorks Product Installer" drop-down menu in the top menu bar and then clicked back into the main screen of the MATLABWindow application. Basically, I think I had to remove and restore focus on the MATLABWindow application main screen to get the password field working again.
P.P.S. -- Thanks to Petr at https://bugzilla.redhat.com/show_bug.cgi?id=1829790 for pointing me in the right direction on this.
8 commentaires
SungHyun Cho
le 4 Juin 2020
Thanks!!! It works!!! (fedora 32)
David Pippin
le 22 Août 2020
Thanks so much Brian, that worked!!!!!! You've saved me hours.
Tom Voss
le 6 Oct 2020
Also fixes CentOS 8. Thanks!
Diego Gonzalez Plata Cortes
le 22 Oct 2020
Thanks! needed this for Fedora 32
Matthias Theodor Schaufelberger
le 28 Déc 2020
Thanks! This also fixed the installer for 2020b on Fedora 33.
Eilert
le 16 Mar 2021
This also helps for installing Matlab 2021a on Fedora 33.
After downloading the full files I renamed the crypto lib, and called the install script.
mv bin/glnxa64/libcrypto.so.1.1 bin/glnxa64/libcrypto.so.1.1_orig
Using the online loading installer was difficult, because the size of my tmp dir (with tmpfs) was too small, but that also depends on the amount of Toolboxes etc. that needs to be installed.
Manuel Schneckenreither
le 4 Avr 2022
see here: https://www.reddit.com/r/archlinux/comments/tkas9q/comment/i2h3r5t/?utm_source=share&utm_medium=web2x&context=3
逸飞 吴
le 11 Nov 2020
The above answers don't work for me.
My solution is to run
bin/glnxa64/install_unix_legacy
from my home directory (or it will complain and exit), and things get to work well.
If you want to install MATLAB to somewhere outside your home directory, don't forget to add sudo.
7 commentaires
逸飞 吴
le 11 Nov 2020
P.S. My OS is Manjaro KDE.
Manuel Dominguez-Pumar
le 10 Jan 2021
This worked perfectly well in a Fedora 32
Luis Fernando Melendez Bustamante
le 27 Fév 2021
Same, worked 2 perfectly well in a Fedora 33 at 2021/02/26
Eilert
le 16 Mar 2021
For Matlab 2021a this file no longer exists.
Instead there is :
bin/glnxa64/install_unix_legacy
On Fedora33 this gives the same error as the main install script.
terminate called after throwing an instance of 'std::runtime_error'
what(): Unable to launch the MATLABWindow application. The exit code was: 127
Domingo Gonzalvez
le 28 Mar 2021
In Matlab 2021 the file is install_unix. I confirm on Fedora 33 there is the same error and Matlab is not installed. How is it possible to install Matlab ?
John Dey
le 3 Nov 2021
install_unix_legacy is missing from R2021b
1 commentaire
Mohamed Gharbi
le 19 Nov 2023
Modifié(e) : Mohamed Gharbi
le 19 Nov 2023
Thanks a lot to Shuai Xu
It works for me with Matlab 2023b
Merera Taresa
le 23 Jan 2023
1 vote
i install matlab 2022b. but it didn't open on linux system of chromebook. what shall i do?
alessandro
le 5 Mai 2025
Using linux mint 22.1 and trying to install Matlab 2024a, ran into the same error.
Run MATLABWindow manually to get detailed information:
./bin/glnxa64/MATLABWindow
I got these errors:
./bin/glnxa64/MATLABWindow: /home/alessandro/Downloads/matlab_R2024a_Linux/bin/glnxa64/libstdc++.so.6: version `GLIBCXX_3.4.29' not found (required by /lib/x86_64-linux-gnu/libgallium-24.2.8-1ubuntu1~24.04.1.so)
./bin/glnxa64/MATLABWindow: /home/alessandro/Downloads/matlab_R2024a_Linux/bin/glnxa64/libstdc++.so.6: version `CXXABI_1.3.13' not found (required by /lib/x86_64-linux-gnu/libLLVM.so.19.1)
./bin/glnxa64/MATLABWindow: /home/alessandro/Downloads/matlab_R2024a_Linux/bin/glnxa64/libstdc++.so.6: version `GLIBCXX_3.4.30' not found (required by /lib/x86_64-linux-gnu/libLLVM.so.19.1)
./bin/glnxa64/MATLABWindow: /home/alessandro/Downloads/matlab_R2024a_Linux/bin/glnxa64/libstdc++.so.6: version `GLIBCXX_3.4.29' not found (required by /lib/x86_64-linux-gnu/libLLVM.so.19.1)
./bin/glnxa64/MATLABWindow: /home/alessandro/Downloads/matlab_R2024a_Linux/bin/glnxa64/libstdc++.so.6: version `GLIBCXX_3.4.30' not found (required by /lib/x86_64-linux-gnu/libicuuc.so.74)
The problem is that the installation tries to use the libraries given by Matlab but they are outdated.
Solution: rename the libraries (and their simbolic links) inside the folder you downloaded from the Matlab site so the installer will seek the libraries in your computer:
cd /home/alessandro/Downloads/matlab_R2024a_Linux/bin/glnxa64/
mv libstdc++.so.6 libstdc++.so.6.bak
cd /home/alessandro/Downloads/matlab_R2024a_Linux/sys/os/glnxa64/
mv libstdc++.so.6 libstdc++.so.6.bak
1 commentaire
Kenan
le 5 Juin 2025
this worked on centos
Tashrif Tashrif
le 24 Août 2023
0 votes
I got this error from MATLAB/2023 installer on CentOS 7.6 . I tried a few things people suggested up there. None worked. So I downgraded to MATLAB/2022. No more error while launching the installer.
Catégories
En savoir plus sur Introduction to Installation and Licensing dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!