- Download an installer containing the MathWorks products you want to install on the target computer.
- Make a copy of the installer properties file ‘installer_input.txt’.
- Open the copied installer properties file using any text editor and uncomment only the parameters that start with a single # symbol and enter the appropriate values.
- In a command window or terminal, start the installer using the ‘-inputFile’ option to specify the full path of your installer properties file as a command-line argument.
- On Linux, run the install script with the ‘-inputFile option’. For example:
Silent install of R2021a to Linux machine fails, input filename corrupted with "=true"
3 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
Since my network connection to the target machine is unreliable, I tried to do a silent installation with "sudo ./install -inputFile=/home<home directory>/installer_input.txt". It insisted on opening an X11 window and doing an interactive install.
I found the log file at /tmp/mathworks_root.log, and it appears to be using the wrong input filename:
(Feb 28, 2022 17:34:02) Current Directory: /media
(Feb 28, 2022 17:34:02) Input file not found /home/<home directory>/installer_input.txt=true
(Feb 28, 2022 17:34:02) Installer build number: 9.10.0.1602886
(Feb 28, 2022 17:34:02) Input arguments:
(Feb 28, 2022 17:34:02) inputfile: /home/<home directory>/installer_input.txt=true
(Feb 28, 2022 17:34:02) mode: silent
(Feb 28, 2022 17:34:02) root: /media
(Feb 28, 2022 17:34:02) flow: fikworkflow
(Feb 28, 2022 17:34:02) Error reading file /home/<home directory>/installer_input.txt=true
(Feb 28, 2022 17:34:02) File '/home/<home directory>/installer_input.txt=true' does not exist
0 Commenti
Risposte (1)
Himanshu
il 8 Gen 2024
Hey Harold,
I understand that you are encountering an error while trying to silently install R2021a on a Linux machine.
To silently install MATLAB on a Linux machine you need to follow the following steps:
install -inputFile /tmp/my_installer_input.txt
Please find detailed documentation regarding silent installation of MATLAB here:
Hope this helps!
0 Commenti
Vedere anche
Categorie
Scopri di più su Introduction to Installation and Licensing in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!