How do I perform a non-graphical and a non-interactive installation of MCRInstaller.bin on Linux/unix/Mac?
4 views (last 30 days)
Show older comments
I would like to perform a non-graphical, silent, or otherwise customized install of the MCR on Linux/UNIX/Mac machines. The MATLAB Compiler documentation covers the command-line flags for the Windows versions of MCRInstaller.exe, but not the Linux/UNIX/Mac equivalent MCRInstaller.bin.
Accepted Answer
MathWorks Support Team
on 26 Jul 2017
To install MCR on Linux/Unix/Mac in a non-graphical mode, refer to the following set of commands:
MCRInstaller.bin -is:extract
The files are extracted in a temp folder, which is deleted when the set up is complete (after the files are extracted from the jar file).
The files can be extracted from the jar file using the following command:
java -jar setup.jar -console
Another option to install the MCRInstaller in a non-graphical mode is using the following command:
MCRInstaller.bin -console
To perform non-interactive, non-GUI installation of MCR on Linux, execute the following command:
./MCRInstaller.bin –P bean421.installLocation=”desiredInstallPath” –silent
The ability to perform non-intractive MCR installation on MAC is not available in MATLAB 7.5 (R2007b).
The documentation on the MCRInstaller.bin command-line options is missing from the MATLAB Compiler documentation. Please see the related solution for the list of complete commands.
0 Comments
More Answers (0)
See Also
Categories
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!