Unable to run Matlab in EndeavourOS
Show older comments
Running a Linux OS
Trying to launch matlab using;
sudo matlab
And getting an error like this
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
/usr/local/MATLAB/R2022b/bin/glnxa64/MathWorksProductAuthorizer.sh: line 14: 8570 Aborted (core dumped) $BINDIR/MathWorksProductAuthorizer $@
Accepted Answer
More Answers (2)
Varun Sai Alaparthi
on 21 Nov 2022
1 vote
Hello Issac,
Please try running the following commands to resolve the issue
cd <matlab installer root directory>
cd /bin/glnxa64
ls | grep libfreetype
mkdir exclude
mv libfreetype.so.6 exclude/
mv libfreetype.so.6.16.0 exclude/
For more information, refer to the below link:
Hey Guys, here is the full tutorial of how to get MATLAB working on EndevourOS/Arch:
Problem
MATLAB installer may fail on Arch Linux due to incompatible system GnuTLS version, resulting in errors or the installer not launching.
1. Download
- Download MATLAB (matlab_R2025b_Linux.zip)
- Download compatible GnuTLS:
https://archive.archlinux.org/packages/g/gnutls/gnutls-3.8.9-1-x86_64.pkg.tar.zst
2. Extract MATLAB (IMPORTANT)
cd ~/Downloads
rm -rf matlab_R2025b_Linux
unzip -X -K matlab_R2025b_Linux.zip -d matlab_R2025b_Linux
3. Extract GnuTLS
mkdir -p ~/Downloads/gnutls-extracted
tar -xvf gnutls-3.8.9-1-x86_64.pkg.tar.zst -C ~/Downloads/gnutls-extracted
4. Copy required library
cp ~/Downloads/gnutls-extracted/usr/lib/libgnutls.so* ~/Downloads/matlab_R2025b_Linux/bin/glnxa64/
5. Run installer
cd ~/Downloads/matlab_R2025b_Linux
./install
Hope it works for you as it worked for me
Categories
Find more on Startup and Shutdown 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!