Using the installer returns std::runtime_error (Linux Mint 22)

41 views (last 30 days)
I get the following error message when running the installer:
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: 262
This thread reports the same error and suggests to install libXss1 and libgconf-2-4, but it didn't help.
Thanks for your help

Answers (1)

UDAYA PEDDIRAJU
UDAYA PEDDIRAJU on 4 Oct 2024
Hey Andros,
Summary:
The error you're encountering when running the MATLAB installer on Linux Mint 22 may be due to missing libraries or compatibility issues.
Install Required Libraries: Ensure that you have the necessary libraries installed. You can try installing the following packages:
sudo apt-get install libxss1 libgconf-2-4 libgtk-3-0
Check for Other Dependencies: Sometimes, additional libraries may be required. You can check for any missing dependencies using:
sudo apt-get install libglib2.0-0 libnss3
Run Installer with Terminal: Try running the installer from the terminal to see if there are any additional error messages that can provide more context:
cd /path/to/installer
sudo ./install
Check Permissions: Ensure that you have the necessary permissions to execute the installer. You can change the permissions using: this is the most possible cause.
chmod +x install
Update Your System: Make sure your system is up to date, as outdated packages can sometimes cause issues:
sudo apt-get update
sudo apt-get upgrade
Let me know if you're able to get rid of this

Products


Release

R2024b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!