How to install MATLAB on linux environment with no GUI.

303 visualizaciones (últimos 30 días)
Jonathan Chapple
Jonathan Chapple el 27 de Mzo. de 2017
Comentada: Denis Buckley el 28 de Nov. de 2023
Background:
- Have a school total headcount license for MATLAB&SIMULINK 2017a
- I'm trying to install it on a VPS (amazon ec2)
- I'm using the download installer, which requests I login to the installer with my matlab credentials
- Since there is no GUI environment, I'm trying to use the silent installer
- I have done online activation (used the MAC address from the VPS) and received a "File Installation Key" and "license.lic" file
- I configured the installer_input.txt with the following lines:
fileInstallationKey=XXXX-XXXXX # The (really long) key I was given during online activation
licensePath=~/license.lic # I downloaded the license file and put it here
agreeToLicense=yes
mode=silent
so I run
sudo ./install -inputFile ~/input.txt
but I get this error: "Using a File Installation Key requires you run the installer from a MATLAB DVD or from a directory which contains files previously downloaded via the installer."
So I'm stuck in a catch 22. How can I get "files previously downloaded via the installer" if I can't run the installer in the first place? If I was running the GUI installer, I would just enter my school email and password and it would start the download, install, and activation with ease. How do I do this with the silent/CLI installer?

Respuestas (1)

Carl
Carl el 4 de Abr. de 2017
Editada: Carl el 4 de Abr. de 2017
Hi Jonathan. The page below indicates that you need to "download product files" before actually doing the installation:
There are two options for doing this: through the MATLAB installer and the ISO image. Since you aren't able to interactively use the installer, you can follow the guide below on obtaining installation files through the ISO image:
  5 comentarios
Yingyong
Yingyong el 1 de Nov. de 2022
can there be a complete guide for installing on linux w/o GUI? thanks

Iniciar sesión para comentar.

Categorías

Más información sobre Introduction to Installation and Licensing en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by