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 Kommentare

ema berna
ema berna am 15 Mär. 2017
Bearbeitet: ema berna am 15 Mär. 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.
Alex Zahonero
Alex Zahonero am 16 Nov. 2017
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

Melden Sie sich an, um zu kommentieren.

Antworten (4)

Kojiro Saito
Kojiro Saito am 20 Okt. 2016

4 Stimmen

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 Kommentare

ErCondor
ErCondor am 20 Okt. 2016
Bearbeitet: ErCondor am 20 Okt. 2016
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.
sudo ~/R2016b*/install
Danzhou Wu
Danzhou Wu am 13 Aug. 2020
I got it,thanks

Melden Sie sich an, um zu kommentieren.

Walter Roberson
Walter Roberson am 20 Okt. 2016

0 Stimmen

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.
ErCondor
ErCondor am 20 Okt. 2016

0 Stimmen

Thank you Matlab friends! It worked out! I'll now enjoy learning Matlab. I'm so grateful!

1 Kommentar

Kojiro Saito
Kojiro Saito am 20 Okt. 2016
It's good news, enjoy MATLAB!
Please accept the answers also for the future viewers.

Melden Sie sich an, um zu kommentieren.

ErCondor
ErCondor am 20 Okt. 2016

0 Stimmen

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 Kommentare

Kojiro Saito
Kojiro Saito am 21 Okt. 2016
Are you using 2 DVD disks? Did you eject DVD1 first before mounting DVD2?
ErCondor
ErCondor am 26 Okt. 2016
Yes absolutely. How can I get around this problem? I'm trying in different ways with the terminal, but none of them is working.
Kojiro Saito
Kojiro Saito am 26 Okt. 2016
I suggest it's better to contact MathWorks Support team.
Klapeyron
Klapeyron am 9 Mär. 2017
Bearbeitet: Klapeyron am 9 Mär. 2017
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 am 6 Nov. 2017
Bearbeitet: Zan Lian am 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

Melden Sie sich an, um zu kommentieren.

Kategorien

Gefragt:

am 20 Okt. 2016

Kommentiert:

am 13 Aug. 2020

Community Treasure Hunt

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

Start Hunting!

Translated by