필터 지우기
필터 지우기

Matlab silent Installation on Linux

조회 수: 49 (최근 30일)
sean ale
sean ale 2020년 3월 24일
편집: Tatsuya Yatagawa 2021년 2월 19일
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
sean ale
sean ale 2020년 3월 24일
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 2020년 8월 26일
Hello , were you able to resolve this issue? if so could you please help me with the solution and installer properties file?

댓글을 달려면 로그인하십시오.

답변 (3개)

Remi Biron
Remi Biron 2020년 5월 4일
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 2020년 3월 27일
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
Tatsuya Yatagawa
Tatsuya Yatagawa 2021년 2월 19일
편집: Tatsuya Yatagawa 2021년 2월 19일
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?

댓글을 달려면 로그인하십시오.


Tatsuya Yatagawa
Tatsuya Yatagawa 2021년 2월 19일
편집: Tatsuya Yatagawa 2021년 2월 19일
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!

카테고리

Help CenterFile Exchange에서 Introduction to Installation and Licensing에 대해 자세히 알아보기

제품


릴리스

R2019a

Community Treasure Hunt

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

Start Hunting!

Translated by