Unable to install MATLAB2021b on a linux platform server.
Show older comments
Hi all,
I want to install Matlab 2021b on a institute server but I am getting following error:
terminate called after throwing an instance of 'std::runtime_error'
what(): Failed to launch web window with error: Unable to launch the MATLABWindow application. The exit code was: 1
Aborted (core dumped)
How to solve this problem?
Thanks in advance.
~Md. Kamran
11 Comments
Yongjian Feng
on 28 Oct 2021
What kind of Linux platform? From a terminal, type
cat /etc/os-release
Kamran Afroz
on 29 Oct 2021
Yongjian Feng
on 29 Oct 2021
Does this Linux have a desktop installation? It seems like the installer has trouble to show a Window.
Kamran Afroz
on 29 Oct 2021
Yongjian Feng
on 29 Oct 2021
Try the silent mode installation to avoid this error.
Kamran Afroz
on 29 Oct 2021
Yongjian Feng
on 29 Oct 2021
Silent mode means you put all the necessary information in a file, so the installer doesn't need to popup any Window for input. This is a guide for Windows.
You might need to do similar thing on Linux.
Kamran Afroz
on 30 Oct 2021
Edited: Kamran Afroz
on 30 Oct 2021
Yongjian Feng
on 30 Oct 2021
Try run matlab without desktop from terminal: matlab -nodesktop
This will tell if matlab is fine other than the GUI.
Are you sure you have GUI desktop installed on that Linux platform? These message are still about failure to start up a Window.
Kamran Afroz
on 31 Oct 2021
Yongjian Feng
on 1 Nov 2021
Maybe that particular desktop version is not supported?
Try to contact matlab support.
Answers (1)
To resolve the MATLAB installation error on Linux, install all required libraries using the 'yum' command as documented by MathWorks. If issues persist, run the MATLABWindow script for detailed error messages and install any additional missing libraries. Refer to the following MATLAB answer for more information:
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!