Matlab silent Installation on Linux

19 Ansichten (letzte 30 Tage)
sean ale
sean ale am 24 Mär. 2020
Bearbeitet: Tatsuya Yatagawa am 19 Feb. 2021
I tried following the steps here https://www.mathworks.com/help/install/ug/install-noninteractively-silent-installation.html 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.
  2 Kommentare
sean ale
sean ale am 24 Mär. 2020
Was able to check log file and this is what is going on :
(Mar 24, 2020 07:24:34) Reading from /home/sean/test/archives
(Mar 24, 2020 07:24:34) Starting local product/component search in download directory
(Mar 24, 2020 07:24:34) Searching for archives...
(Mar 24, 2020 07:24:34) Reading /home/sean/test/archives
(Mar 24, 2020 07:24:34) 2 files found in /home/sean/test/archives
(Mar 24, 2020 07:24:34) Archive search complete. 2 total files found.
(Mar 24, 2020 07:24:35) Finished reading from/home/sean/test/archives
(Mar 24, 2020 07:24:35) Completed local product/component search
(Mar 24, 2020 07:24:35) 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(MATLABInstallerExceptionUtil.java:16)
at com.mathworks.matlab_installer.services.MatlabInstallerServices.checkArchives(Unknown Source)
at com.mathworks.installservicehandler.context.ExceptionInterceptor.invoke(ExceptionInterceptor.java:21)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at com.mathworks.installservicehandler.JsonPassThroughResponseWrapper.getData(JsonPassThroughResponseWrapper.java:24)
at com.mathworks.installservicehandler.JsonPassThroughResponseWrapper.getData(JsonPassThroughResponseWrapper.java:10)
at com.mathworks.installservicehandler.InstallServiceHandlerClient.executeService(InstallServiceHandlerClient.java:18)
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
(Mar 24, 2020 07:24:35) Exiting with status -2
(Mar 24, 2020 07:24:35) End - Unsuccessful
shruty Srivastava
shruty Srivastava am 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?

Melden Sie sich an, um zu kommentieren.

Antworten (3)

Remi Biron
Remi Biron am 4 Mai 2020
Hello,
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(MATLABInstallerExceptionUtil.java:16)
at com.mathworks.matlab_installer.services.MatlabInstallerServices.checkArchives(Unknown Source)
at com.mathworks.installservicehandler.context.ExceptionInterceptor.invoke(ExceptionInterceptor.java:21)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at com.mathworks.installservicehandler.JsonPassThroughResponseWrapper.getData(JsonPassThroughResponseWrapper.java:24)
at com.mathworks.installservicehandler.JsonPassThroughResponseWrapper.getData(JsonPassThroughResponseWrapper.java:10)
at com.mathworks.installservicehandler.InstallServiceHandlerClient.executeService(InstallServiceHandlerClient.java:18)
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 am 27 Mär. 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 Kommentar
Tatsuya Yatagawa
Tatsuya Yatagawa am 19 Feb. 2021
Bearbeitet: Tatsuya Yatagawa am 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?

Melden Sie sich an, um zu kommentieren.


Tatsuya Yatagawa
Tatsuya Yatagawa am 19 Feb. 2021
Bearbeitet: Tatsuya Yatagawa am 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!

Kategorien

Mehr zu Introduction to Installation and Licensing finden Sie in Help Center und File Exchange

Produkte


Version

R2019a

Community Treasure Hunt

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

Start Hunting!

Translated by