How to install MATLAB on linux environment with no GUI.

199 次查看(过去 30 天)
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?

回答(1 个)

Carl
Carl 2017-4-4
编辑:Carl 2017-4-4
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 个评论
Yingyong
Yingyong 2022-11-1
can there be a complete guide for installing on linux w/o GUI? thanks

请先登录,再进行评论。

类别

Help CenterFile Exchange 中查找有关 Introduction to Installation and Licensing 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by