I'm trying to install Matlab7 (Matlab.7.R14.License-Mac.OS.X-Unix-Linux) from CD on Federa 4 these days. I didn't suceed until just now. Here I'll give some instructions describing how to install it. I hope my experence be helpful to you.
Steps for installation are as follows :
1. Log In your system as superuser;
2. Mount the CD-ROM drive you intend to use to install Matlab;
#mkdir /mnt/cd1 (a directory to be the mount point for the CD-ROM drive)
#mount -o loop /...//media/cdrecorder/Matlab-7.0-R14-Linux-Unix-MAC-3CDs/Matlab_R14_Mac.Linux.Unix_CD1.iso
/mnt/cd1/
#mount -o loop /...//media/cdrecorder/Matlab-7.0-R14-Linux-Unix-MAC-3CDs/Matlab_R14_Mac.Linux.Unix_CD2.iso
/mnt/cd2/
#mount -o loop /...//media/cdrecorder/Matlab-7.0-R14-Linux-Unix-MAC-3CDs/Matlab_R14_Mac.Linux.Unix_CD3.iso
/mnt/cd3/
3. Create the installation directory and move to it using cd command.
# cd /opt/fred/
# mkdir matlab7
# cd matlab7
you can specify any name for the installation directory.
4. Put the licence file in the installation directory. Move the license file named license.dat into the installation directory.
5. Start the installer using the command 'install* &'
then you will see the welcome screen.
the following are easy,just use your mouse and click... and begin the installation.
Several minutes later, if you are lucky, the installation would be completed successfully.
But during the first steps, I came across some problem and got the following output:
[fred@FredLim matlab]$ sh /home/fred/software/matlab/cd1/install* &
[1] 4829
[fred@FredLim matlab]$ -----------------------------------
An error status was returned by the program 'xsetup',
the X Window System version of 'install'. The following
messages were written to standard error:
/tmp/4829tmwinstall/update/bin/glnx86/xsetup: error while loading shared libraries: /tmp/4829tmwinstall/update/bin/glnx86/libmwins.so: cannot restore segment prot after reloc: Permission denied
Attempt to fix the problem and try again. If X is not available
or 'xsetup' cannot be made to work then try the terminal
version of 'install' using the command:
install* -t or INSTALL* -t
-----------------
/tmp/4829tmwinstall/update/install/abort.sh: line 15: /tmp/4829tmwinstall/update/install/cleanup.sh: 没有那个文件或目录
[1]+ Exit 1 sh /home/fred/software/matlab/cd1/install*
[fred@FredLim matlab]$
Any ideas? No!
I didn't know how to deal with it, neither did Li and Zheng. So we google it.
My! ... A few other people said they'd had exactly the same problem... HaH...
Finally we found sb told the problem might be caused by SElinux...
It also said "The solution was to disable selinux with "usr/sbin/setenforce 0" as root (afterwards enable it again with "usr/sbin/setenforce 1")."
Good. The installation began in the end.
But at the end I met the second problem--Licence.
License Manager Error -8.
Invalid (inconsistent) license key
The license-key and data for the feature do not match.
This usually happens when a license file has been altered
Feature: MATLAB
License path: /opt/matlab6p5/etc/license.dat:/opt/matlab6p5/etc/*.lic
FLEXlm error: -8,130
For further information, refer to the FLEXlm End User Manual,
available at "www.macrovision.com".
Make sure your license file is correct.
Check date and passcodes in MATLAB INCREMENT line of license file.
For more information, see The MathWorks Support page at
http://www.mathworks.com/support and search for
"license manager error -8"
This problem was finally settled though my downloading a new correct license.lic from www.newsmth.org. Then open the "licence.lic" file and replace the string "your_host_name" with the hostname of the computer where Matlab is being installed. Copied the edited "licence.lic" file to /.../MATLAB7/etc".
Anyone that met the same problem can contact me, I will be pleased to send you the license file--license.lic. My email-address: jmlin@mail.ustc.edu.cn.

