Matlab silent Installation on Linux

32 views (last 30 days)
sean ale
sean ale on 24 Mar 2020
Edited: Tatsuya Yatagawa on 19 Feb 2021
I tried following the steps here but when it was time to finally run the install file, it doesn't work and doesn't even come up with an error. I was wondering if I could get some help with this issue? I altered the path in the installation file .txt and activation key, but still nothing.
shruty Srivastava
shruty Srivastava on 26 Aug 2020
Hello , were you able to resolve this issue? if so could you please help me with the solution and installer properties file?

Sign in to comment.

Answers (3)

Remi Biron
Remi Biron on 4 May 2020
I have a "Named User" license (license that can be activated on up to four devices at a time) and I am trying to install it on a linux server, but I seem to have the same problem:
(mai 04, 2020 09:15:21) Reading from /home/folder/temp/archives
(mai 04, 2020 09:15:21) Starting local product/component search in download directory
(mai 04, 2020 09:15:21) Searching for archives...
(mai 04, 2020 09:15:21) Reading /home/folder/temp/archives
(mai 04, 2020 09:15:21) 2 files found in /home/folder/temp/archives
(mai 04, 2020 09:15:21) Archive search complete. 2 total files found.
(mai 04, 2020 09:15:21) Completed local product/component search
(mai 04, 2020 09:15:21) Finished reading from/home/folder/temp/archives
(mai 04, 2020 09:15:21) Missing Installation Files: Unable to locate the required files.
To use a File Installation Key, you must run the installer from a directory that contains the installation files.
For information on how to get the files, see this MATLAB Answer.
at com.mathworks.install_core_common.MATLABInstallerExceptionUtil.getApplicationException(
at Source)
at com.mathworks.installservicehandler.context.ExceptionInterceptor.invoke(
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(
at sun.reflect.DelegatingMethodAccessorImpl.invoke(
at java.lang.reflect.Method.invoke(
at com.mathworks.installservicehandler.JsonPassThroughResponseWrapper.getData(
at com.mathworks.installservicehandler.JsonPassThroughResponseWrapper.getData(
at com.mathworks.installservicehandler.InstallServiceHandlerClient.executeService(
at com.mathworks.matlab_installer.MatlabInstallerClient$3.executeService(Unknown Source)
at com.mathworks.installjscommon.InstallerClientUtility.executeGetNextStateInSequence(Unknown Source)
at com.mathworks.matlab_installer.MatlabInstallerClient.clientMain(Unknown Source)
Caused by: java.lang.Exception: Installer Error: Unable to locate required installation files
... 13 more
(mai 04, 2020 09:15:21) Exiting with status -2
(mai 04, 2020 09:15:21) End - Unsuccessful

Rashed Mohammed
Rashed Mohammed on 27 Mar 2020
Hi Sean
I understand that you would like to perform silent installation on linux. However, this method requires that a license administrator copy the necessary installation files to your computer and perform the installation and activation. As mentioned here the offline installation method is not available on Home and Student licenses since there are no license administrators for these types of licenses.
Hope this helps.
  1 Comment
Tatsuya Yatagawa
Tatsuya Yatagawa on 19 Feb 2021
Edited: Tatsuya Yatagawa on 19 Feb 2021
Hi, I am trying to install MATLAB through SSH for a remote computer, which is connected to the Internet, namely it's online.
I am a bit confused about the meanings of "silent" and "offline" installations. Do you mean that both are the same one for not using the interactive installation using a display?
If so, does it mean that I cannot install MATLAB to the online computer through SSH unless I am a license administrator?

Sign in to comment.

Tatsuya Yatagawa
Tatsuya Yatagawa on 19 Feb 2021
Edited: Tatsuya Yatagawa on 19 Feb 2021
I found the solution for MATLAB later than 2020a in the following post. It says that MATLAB installer for 2020a or later can download the installation file for every platform (this is a great update!).
Following this instruction, I downloaded the installation file for Linux with my MacOS computer, and copied the installation files to the remote Linux through SCP, and then ran "install -inputFile installer_input.txt" through SSH. This worked everything well!


Find more on Introduction to Installation and Licensing 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!