Matlab faills to install on Fedora 43

I try to install Matlab R2025b on my linux fedora 43 installation and I get an error about failling to load shared libraries

/install

/home/mike/Downloads/matlab_R2025b_Linux/bin/glnxa64/MathWorksProductInstaller: error while loading shared libraries: /home/mike/Downloads/matlab_R2025b_Linux/bin/glnxa64/libexpat.so.1: file too short

I remember that this user had a similar problem with the same file:

They solved it there by copying /usr/lib64/libexpat.so.1.11.0 and using that to replace the downloaded file. So that could be worth a try.

1 Like

I have already tried that. It didn’t work

Matlab installation problem in Linux - MATLAB Answers - MATLAB Central

2 Likes

Thank you so much, apparently all I had to do was: to unzip using the -X and -K flags

3 Likes