Install Matlab on Fedora

Published on — Jan. 10, 2023
#tool #fedora

Problems I ran into while installing Matlab R2022b on Fedora 37, and how I solved them


Failed to Run ./install

Error Message Example:

1
2
3
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: 127
[1]    8942 IOT instruction (core dumped)  ./install

Solution:

1
2
$ export LD_PRELOAD=/usr/lib64/libfreetype.so.6 
$ ./install

Reference

How to install R2022a on Fedora 36?, from MATLAB Central by Kevin Kelly