Matlab R2016b Ubuntu 16.06 | Installation error

"The installer cannot be run from inside the DVD directory ..." etc. Ubuntu 16.04 LTS x64 I'm executing the file within the extracted folder. What's the problem?

4 Comments

ema berna
ema berna on 15 Mar 2017
Edited: ema berna on 15 Mar 2017
I had the same issue but I fixed doing these:
Extract R2016b_glnxa64_dvd1.iso to ~/MATLAB
Extract R2016b_glnxa64_dvd2.iso to ~/MATLAB2
Copy all files from MATLAB2 to MATLAB (merging), including the hidden file .dvd2
Call the install script inside of ~/MATLAB
And, don't forget to check the directory permission
How can install after merging the file. Can you the proper steps.
I had the same issue, but even after merging the files out of the iso directories, it still giving me the same error message... Any other way to fix it?
I had the same issue and I could solve it by installing as the root.
sudo su
root@computer : location/install

Sign in to comment.

Answers (4)

There's a help for installation from DVD on Linux.
NOTE: Do not run the installation from inside the DVD root. Start the installation from a directory outside the DVD root.
Does it help you?

4 Comments

Yes I got it, thank you very much. Unfortunately I don't practically know how to run the script
sudo ./install
without being into the folder. Can you please help me?
As follows,
(1) Insert DVD.
(2) It is automatically mounted on "/media" directory.
In my Debian machine, it's "/media/MATLAB_R2016B".
If mount is not done automatically, you should do it manually, for example,
mount -o exec /media/cdrom0
(3) Open Terminal in the mounted directory and run the following code.
./install
(without sudo)
(4) After several seconds, installation wizard will appear.
I got it,thanks

Sign in to comment.

You cannot be cd'd to the extracted folder (or to the DVD) at the time you try to do the extraction, as it needs to install some things into the current directory and the DVD is not writable. You need to cd to your home directory and give the command shown in the error message.
Thank you Matlab friends! It worked out! I'll now enjoy learning Matlab. I'm so grateful!

1 Comment

It's good news, enjoy MATLAB!
Please accept the answers also for the future viewers.

Sign in to comment.

Hi everyone,
unfortunately I've got another problem that I cannot solve.
I normally mounted the DVD nr2 but Ubuntu doesn't recognize the source.

6 Comments

Are you using 2 DVD disks? Did you eject DVD1 first before mounting DVD2?
Yes absolutely. How can I get around this problem? I'm trying in different ways with the terminal, but none of them is working.
I suggest it's better to contact MathWorks Support team.
I solved this problem on my arch linux, I think it will works for Ubuntu too. First of all, I unmounted dvd and swap .iso filenames. After this operation, if you mount dvd2 as dvd1, matlab installer will continue installation
I had the same issue but I fixed doing these:
First extract R2016b_glnxa64_dvd1.iso to ~/MATLAB
Call the install script inside of ~/MATLAB
cd /MATLAB
./install
when apear the message:
  • Eject DVD1 and insert DVD2 to continue..
I mount R2016b_glnxa64_dvd2.iso in the directory
sudo mount -o loop -t iso9660 R2016b_glnxa64_dvd2.iso /MATLAB
and click Ok to continue to installation.
Zan Lian
Zan Lian on 6 Nov 2017
Edited: Zan Lian on 6 Nov 2017
I find a way if you can not mount as what I met.
Extract DVD1 to dir1 and DVD2 to dir2.
Install: dir1/install
when apear the message: Eject DVD1 and insert DVD2 to continue..
Then
mv dir1 dir3
mv dir2 dir1

Sign in to comment.

Categories

Asked:

on 20 Oct 2016

Commented:

on 13 Aug 2020

Community Treasure Hunt

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

Start Hunting!