How to install MATLAB on linux environment with no GUI.

35 Ansichten (letzte 30 Tage)
Jonathan Chapple
Jonathan Chapple am 27 Mär. 2017
Kommentiert: Tashrif Tashrif am 27 Aug. 2024
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?

Antworten (1)

Carl
Carl am 4 Apr. 2017
Bearbeitet: Carl am 4 Apr. 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:
  6 Kommentare
Tashrif Tashrif
Tashrif Tashrif am 27 Aug. 2024
Both *how-can-i* links are broken.

Melden Sie sich an, um zu kommentieren.

Kategorien

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

Community Treasure Hunt

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

Start Hunting!

Translated by