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 commentaires

ema berna
ema berna le 15 Mar 2017
Modifié(e) : ema berna le 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

Connectez-vous pour commenter.

Réponses (4)

Kojiro Saito
Kojiro Saito le 20 Oct 2016

4 votes

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 commentaires

ErCondor
ErCondor le 20 Oct 2016
Modifié(e) : ErCondor le 20 Oct 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 le 13 Août 2020
I got it,thanks

Connectez-vous pour commenter.

Walter Roberson
Walter Roberson le 20 Oct 2016

0 votes

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 le 20 Oct 2016

0 votes

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

1 commentaire

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

Connectez-vous pour commenter.

ErCondor
ErCondor le 20 Oct 2016

0 votes

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 commentaires

Kojiro Saito
Kojiro Saito le 21 Oct 2016
Are you using 2 DVD disks? Did you eject DVD1 first before mounting DVD2?
ErCondor
ErCondor le 26 Oct 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 le 26 Oct 2016
I suggest it's better to contact MathWorks Support team.
Klapeyron
Klapeyron le 9 Mar 2017
Modifié(e) : Klapeyron le 9 Mar 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
Julio Larco
Julio Larco le 2 Mai 2017
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 le 6 Nov 2017
Modifié(e) : Zan Lian le 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

Connectez-vous pour commenter.

Catégories

Question posée :

le 20 Oct 2016

Commenté :

le 13 Août 2020

Community Treasure Hunt

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

Start Hunting!

Translated by