I create
# mkdir /usr/local/matlab
# cp /***/license.dat /usr/local/matlab
Then if I do /media/cdrom/install
I get the following error:
earendil:/usr/local/matlab# /media/cdrom/install
-------------------------------------------------------------------
An error status was returned by the program 'xsetup',
the X Window System version of 'install'. The following
messages were written to standard error:
Can't open display.
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
-------------------------------------------------------------------
Sorry! Setup aborted . . .
According to some forums do:
# apt-get install libxp-dev
However, I did follow the instructions of:
http://www.debianhelp.org/node/7432
1. Let run the install script so that it creates some environmental variables correctly.
2. Then
# cp /media/cdrom/update/bin/glnx86/libmwins.so /usr/lib
or
# cp /media/cdrom/update/bin/glnxa64/libmwins.so /usr/lib64
Check if you want to install the one of glnx86, glnxa64 and sol64 instead
3. Copy xsetup from the same directory to the install directory.
# cp /media/cdrom/update/bin/glnx86/xsetup /usr/local/matlab
4. From the home directory: (somewhere where install does not reside)
# /home/daa/cdrom/install
LATER when you run matlab you will see some errors associated to java
install java (http://www.java.com/en/download/index.jsp)
and then edit the file in bin/matlab
at the begining of the script (around line 180) write down:
# There is an error with the java that comes with MATLAB. Use the other java
export AWT_TOOLKIT=MToolkit
#export MATLAB_JAVA=/usr/lib/jvm/java-1.6.0-sun-1.6.0.10/jre
#export MATLAB_JAVA=/usr/lib/jvm/java-1.5.0-gcj-4.3-1.5.0.0/jre
export MATLAB_JAVA=/opt/jre1.6.0_12/
Finally activate the multithreading part in Preferences
ENJOY!
No comments:
Post a Comment