LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   cannot unmount some mounted iso files from matlab (https://www.linuxquestions.org/questions/linux-newbie-8/cannot-unmount-some-mounted-iso-files-from-matlab-572003/)

Vassos 07-24-2007 06:42 PM

cannot unmount some mounted iso files from matlab
 
hey need some serious help
i downloaded 3 iso files for matlab 7.
Following the instructions i mounted them first in the /mnt/Matlab dir.
I didnt manage to install the program because i get stuck in using the install usage which is :
-----------------------------------------------------------------------
Usage: install -h | [-<arch>] [-debug] [ [-t] | [-x] ]

-h Help. Show command usage.

-<arch> Assume this architecture when installing.
You must specify a valid MATLAB arch (e.g. sol2, glnx86)

-debug Turn on debugging messages.

-t Use terminal setup.

-x Use X Window setup. (Default)
---------------------------------------------------------------------
I tried all kinds of tricks with the install command but nothing happens.
Now these monted files are read only and i cannot delete them even as root. i also tried to change the permissions with chmod but didnt workk either.

If anyone knows about installing matlab it would be great, but then
someone pls tell me how to delete these files!

bsdunix 07-24-2007 07:14 PM

Quote:

Now these monted files are read only and i cannot delete them even as root. i also tried to change the permissions with chmod but didnt workk either.
You're not trying to delete a mounted file right? Don't know if you've tried this as root:
Code:

# cd /tmp
# umount -f /mnt/Matlab/iso_file
# rm -f /path/to/iso_file

If that don't work you can always reboot and iso's won't be mounted.

Don't know what install instructions your following, but the Matlab has these:

Standard UNIX Installation Procedure
http://www.mathworks.com/access/help.../f0-70148.html

Probably would be best to burn the iso's to disc to do a traditional install.

Vassos 07-25-2007 09:46 AM

thanks for the rebooting advise it worked.
Now abou the cd i know that it should be easier but i am going the hard way maybe so i can learn something !
Now, i need one piece of advise : what is the difference of >install and >./install ??
When i am in the directory of the mounted files and i type :[root@localhost Matlab]# ./install

i get the message: Setup aborted . . .
The installer cannot be run when your current directory is on the CD.
Change to the target MATLAB installation directory and rerun the installer.

Then i try the command
./install /usr/local/matlab7
and it shows me the options i have listed in the first post. no installation gui comes up.

colucix 07-25-2007 10:05 AM

Quote:

Now, i need one piece of advise : what is the difference of >install and >./install ??
The former execute the system command install (see man install), the latter execute a script or program called "install" in the current directory. Read carefully the installation instructions for Matlab: first you have to create an installation directory, put the license file in it, cd into that directory and then launch the install script coming with Matlab, as in
Code:

/mnt/Matlab/install
or wathever the absolute path of the mounted iso is.

bsdunix 07-25-2007 12:37 PM

Quote:

The installer cannot be run when your current directory is on the CD.
I recently installed Matlab 2007a on an Intel Mac and I had to run the installer from a directory created on the harddrive (as colucix explained), the installer created some files and it couldn't do that on a read-only DVD/CD-ROM disc. :) I suspect the Linux installer will do the same.


All times are GMT -5. The time now is 09:55 AM.