MATLAB: Does the installer for MATLAB R2020a crash on Ubuntu 20.10

crashmatlabwindowUbuntu

When trying to run the installer for MATLAB R2020a on Ubuntu 20.10, it will crash with the message:
terminate called after throwing an instance of 'std::runtime_error'
what(): Unable to launch the MATLABWindow application
Aborted (core dumped)
 

Best Answer

This crash is caused by libraries that are incompatible with Ubuntu 20.10. This issue is fixed in MATLAB R2020a Update 6.
If you are unable to update to MATLAB R2020a Update 6, the workaround is to move the libraries so that they are not accessible:
cd <InstallRoot> -- where InstallRoot is the folder where the installer has been downloaded to
mv cefclient/sys/os/glnxa64 cefclient/sys/os/glnxa64_orig
mkdir cefclient/sys/os/glnxa64
cp cefclient/sys/os/glnxa64_orig/libcef.so cefclient/sys/os/glnxa64
Once MATLAB has been installed, this procedure will need to be repeated for the MATLAB installation directory: 
 
cd <matlabroot>
mv cefclient/sys/os/glnxa64 cefclient/sys/os/glnxa64_orig
mkdir cefclient/sys/os/glnxa64
cp cefclient/sys/os/glnxa64_orig/libcef.so cefclient/sys/os/glnxa64
Related Question