Matlab 2018a fails to install on Ubuntu 16.04

1 view (last 30 days)
Gergely
Gergely on 5 Dec 2018
Commented: Gergely on 6 Dec 2018
Hello,
I've been trying to install Matlab R2018A on Ubuntu machine with no luck so far.
I'm using ISO files and try to go by this description. I have the root access and I have 2 .iso files which i mount as a root and merge to one installer folder. When I run the ./install comand this is what i get:
Preparing installation files ...
Installing ...
Finished
I tried to do silent mode with a specified -inputFile argument which got me a bit further but an unsuccesful installation at the end.:
root@coreserver:~/temp# ./install -mode silent -agreeToLicense yes
Preparing installation files ...
Installing ...
(Dec 05, 2018 11:10:27) ##################################################################
(Dec 05, 2018 11:10:27) #
(Dec 05, 2018 11:10:27) # Today's Date:
(Dec 05, 2018 11:10:27) Wed Dec 05 11:10:27 EST 2018
(Dec 05, 2018 11:10:27)
(Dec 05, 2018 11:10:27) System Info
(Dec 05, 2018 11:10:27) OS: Linux 4.4.0-139-generic
(Dec 05, 2018 11:10:27) Arch: amd64
(Dec 05, 2018 11:10:27) Data Model: 64
(Dec 05, 2018 11:10:27) Language: en
(Dec 05, 2018 11:10:27) Java Vendor: Oracle Corporation
(Dec 05, 2018 11:10:27) Java Home: /tmp/mathworks_161780/sys/java/jre/glnxa64/jre
(Dec 05, 2018 11:10:27) Java Version: 1.8.0_144
(Dec 05, 2018 11:10:27) Java VM Name: Java HotSpot(TM) 64-Bit Server VM
(Dec 05, 2018 11:10:27) Java Class Path: /tmp/mathworks_161780/java/config/professionalinstaller/pathlist.ja
(Dec 05, 2018 11:10:27) User Name: root
(Dec 05, 2018 11:10:27) Current Directory: /tmp/mathworks_161780
(Dec 05, 2018 11:10:27) Input arguments:
(Dec 05, 2018 11:10:27) root /root/temp
(Dec 05, 2018 11:10:27) libdir /tmp/mathworks_161780
(Dec 05, 2018 11:10:27) mode silent
(Dec 05, 2018 11:10:27) agreeToLicense yes
(Dec 05, 2018 11:10:27) standalone true
(Dec 05, 2018 11:10:28) Starting local product/component search in download directory
(Dec 05, 2018 11:10:28) Searching for archives...
(Dec 05, 2018 11:10:28) Reading /root/temp/archives
(Dec 05, 2018 11:10:28) Extracting /root/temp/archives/platform_common.zip
(Dec 05, 2018 11:10:28) Extracting /root/temp/archives/platform_glnxa64.zip
(Dec 05, 2018 11:10:28) Reading /root/temp
(Dec 05, 2018 11:10:28) 18 files found in /root/temp
(Dec 05, 2018 11:10:28) /root/Downloads/MathWorks/R2018a/archives doesn't exist ... skipping.
(Dec 05, 2018 11:10:28) Archive search complete. 20 total files found.
(Dec 05, 2018 11:10:28) When running the installer with an input file, you must provide a File Installation onKey option.
(Dec 05, 2018 11:10:28) Exiting with status -2
(Dec 05, 2018 11:10:29) End - Unsuccessful.
Finished
or variation on the same theme:
root@coreserver:/media/mathworks# ./installer/install -mode silent -agreeToLicense yes -inputFile installer_
Preparing installation files ...
Installing ...
(Dec 05, 2018 10:49:39) ##################################################################
(Dec 05, 2018 10:49:39) #
(Dec 05, 2018 10:49:39) # Today's Date:
(Dec 05, 2018 10:49:39) Wed Dec 05 10:49:39 EST 2018
(Dec 05, 2018 10:49:39)
(Dec 05, 2018 10:49:39) System Info
(Dec 05, 2018 10:49:39) OS: Linux 4.4.0-139-generic
(Dec 05, 2018 10:49:39) Arch: amd64
(Dec 05, 2018 10:49:39) Data Model: 64
(Dec 05, 2018 10:49:39) Language: en
(Dec 05, 2018 10:49:39) Java Vendor: Oracle Corporation
(Dec 05, 2018 10:49:39) Java Home: /tmp/mathworks_160968/sys/java/jre/glnxa64/jre
(Dec 05, 2018 10:49:39) Java Version: 1.8.0_144
(Dec 05, 2018 10:49:39) Java VM Name: Java HotSpot(TM) 64-Bit Server VM
(Dec 05, 2018 10:49:39) Java Class Path: /tmp/mathworks_160968/java/config/professionalinstaller/pathlist.ja
(Dec 05, 2018 10:49:39) User Name: root
(Dec 05, 2018 10:49:39) Current Directory: /tmp/mathworks_160968
(Dec 05, 2018 10:49:39) Input arguments:
(Dec 05, 2018 10:49:39) root /media/mathworks/installer
(Dec 05, 2018 10:49:39) libdir /tmp/mathworks_160968
(Dec 05, 2018 10:49:39) mode silent
(Dec 05, 2018 10:49:39) agreeToLicense yes
(Dec 05, 2018 10:49:39) inputFile installer_input_core.txt
(Dec 05, 2018 10:49:39) Error loading input file installer_input_core.txt
(Dec 05, 2018 10:49:39) installer_input_core.txt (No such file or directory)
(Dec 05, 2018 10:49:39) standalone true
(Dec 05, 2018 10:49:39) Error reading file installer_input_core.txt
(Dec 05, 2018 10:49:39) File '/tmp/mathworks_160968/installer_input_core.txt' does not exist
(Dec 05, 2018 10:49:40) Starting local product/component search in download directory
(Dec 05, 2018 10:49:40) Searching for archives...
(Dec 05, 2018 10:49:40) Reading /media/mathworks/installer/archives
(Dec 05, 2018 10:49:40) Extracting /media/mathworks/installer/archives/platform_common.zip
(Dec 05, 2018 10:49:40) Extracting /media/mathworks/installer/archives/platform_glnxa64.zip
(Dec 05, 2018 10:49:40) Reading /media/mathworks/installer
(Dec 05, 2018 10:49:40) 18 files found in /media/mathworks/installer
(Dec 05, 2018 10:49:40) /root/Downloads/MathWorks/R2018a/archives doesn't exist ... skipping.
(Dec 05, 2018 10:49:40) Archive search complete. 20 total files found.
(Dec 05, 2018 10:49:40) When running the installer with an input file, you must provide a File Installation onKey option.
(Dec 05, 2018 10:49:40) Exiting with status -2
(Dec 05, 2018 10:49:41) End - Unsuccessful.
Finished
FYI: File installation key IS provided in the file
  2 Comments
Gergely
Gergely on 6 Dec 2018
here is the output of the ./install -v
gergely@coreserver:~/download/R2018a_glnxa64_dvd1$ sudo ./install -v
[sudo] password for gergely:
Preparing installation files ...
-> DVD = /home/gergely/download/R2018a_glnxa64_dvd1
-> ARCH = glnxa64
-> DISPLAY = localhost:10.0
-> TESTONLY = 0
-> JRE_LOC = /tmp/mathworks_169376/sys/java/jre/glnxa64/jre
-> LD_LIBRARY_PATH = /tmp/mathworks_169376/bin/glnxa64
Command to run:
"/tmp/mathworks_169376/sys/java/jre/glnxa64/jre/bin/java" -Xmx512m -splash:"/home/gergely/download/R2018a_glnxa64_dvd1/java/splash.png" -cp /tmp/mathworks_169376/java/config/professionalinstaller/pathlist.jar com/mathworks/professionalinstaller/Launcher -root "/home/gergely/download/R2018a_glnxa64_dvd1" -libdir "/tmp/mathworks_169376"
Installing ...
Finished
Gergely
Gergely on 6 Dec 2018
do i need to have Java installed on my Ubuntu?

Sign in to comment.

Answers (0)

Categories

Find more on Introduction to Installation and Licensing in Help Center and File Exchange

Products


Release

R2018a

Community Treasure Hunt

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

Start Hunting!