Why does the MathWorks Product Installer fail to start on Linux?

31 views (last 30 days)
I am trying to install MATLAB or other MathWorks products on my Linux machine, but the installer does not start up. How can I resolve this?

Accepted Answer

MathWorks Support Team
MathWorks Support Team on 17 Jul 2023
Edited: MathWorks Support Team on 17 Jul 2023
There are a many reasons the MathWorks Product Installer might fail to run on Linux without displaying an error message or creating a crash logs.
If you are getting a specific error message, please try searching for it in another MATLAB Answers post. If you are not getting a specific error, or are unsure what the error is, please try the following troubleshooting steps to help resolve the issue:
  1. System Requirements
  2. Missing Libraries
  3. Permissions
  4. Re-download
  5. Re-extraction
  6. MATLAB Package Manager

 

Please make sure that your machine meets the system requirements for the installer, including hardware and software specifications. Users who try to install MATLAB or other MathWorks products on an unqualified Linux distribution may encounter errors that cannot be reasonably worked around.
System Requirements
If you are using R2012a or older, you should also verify that the MATLAB installation files are appropriate for your system architecture: 32-bit or 64-bit. Make sure that you are not trying to install a 64-bit release of MATLAB on a 32-bit version of Linux, or vice versa. Note: this does not apply to other Operating Systems, such as Windows, since different releases had different 32-bit cut-off dates.

 

Under normal conditions, supported Linux distributions should have all the libraries needed in the Operating System to run MATLAB and the installer. However, for a variety of reasons, some may be missing on your computer. To ensure that you have the correct libraries installed with your supported Linux distribution, navigate into the folder the installer is in, then the "bin" folder, and then the "glnxa64" folder. In this folder, there is an application called MATLABWindow. If you launch this program with ./MATLABWindow and you are missing libraries, you will see those missing libraries appear in the error message. Use your Linux distribution's package manager to install the missing libraries (such as apt, dnf, yum, or pacman.) If you are unsure what packages include the library you are missing, use your distribution's package search to find a package that contains the library you are missing. For example, if you are missing "libgtk-x11-2.0.so.0" on Ubuntu, use Ubuntu's package search site to search for the appropriate package, and then install it with "sudo apt install libgtk2.0-0".

 

Make sure that the installer folder and the Java folder inside of the installation folder has given the current user read, write and executive permissions. You can use the command "chmod" on Linux to appropriately assign permissions to the user running the installer. Something such as "chmod -R 755 /home/scott/Downloads/matlab_R2023a_installer ". You may need root privileges to make these changes.

 

If you believe something may have interfered with your download process of the installer, please try re-downloading the installer.

 

It is important that the ZIP archive that the installer lives in is extracted on Linux and not other Operating Systems, such as Windows, since this may break symbolic links. This may also happen if you re-zip the installer on Windows.

 

If you are still unable to launch the MathWorks Product Installer, please try using the MATLAB Package Manager. This is a command-line-only program that will allow you to install MathWorks products with an internet connection. See the link below for more instructions.

 

MATLAB Package Manager
https://github.com/mathworks-ref-arch/matlab-dockerfile/blob/main/MPM.md

More Answers (0)

Categories

Find more on Introduction to Installation and Licensing in Help Center and File Exchange

Tags

No tags entered yet.

Products

Community Treasure Hunt

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

Start Hunting!