Matlab » History » Version 1
Joseph Foley, 2015-09-05 02:47
1 | 1 | Joseph Foley | h1. Matlab |
---|---|---|---|
2 | |||
3 | We have some copies of Matlab installed in afs under @/afs/dev.ru.is/software/matlab@ |
||
4 | You will need to have an individual license to use them, alas. |
||
5 | |||
6 | To setup your machine to work correctly, you will need a jre, preferably java |
||
7 | Useful instructions at https://help.ubuntu.com/community/Java |
||
8 | |||
9 | h2. Install Java |
||
10 | |||
11 | # Goto this page and install the sun update script for Java Runtime Environment. Synopsis: |
||
12 | <pre>sudo sh -c 'echo "deb http://www.duinsoft.nl/pkg debs all" >> /etc/apt/sources.list' |
||
13 | sudo apt-get update |
||
14 | sudo apt-get install update-sun-jre</pre> |
||
15 | # Copy the files in @/afs/dev.ru.is/software/matlab/<version>@ into /tmp |
||
16 | <pre>rsync -avux /afs/dev.ru.is/software/matlab/R2012a /tmp |
||
17 | </pre> |
||
18 | # move those files to a more sensible home |
||
19 | <pre>sudo mv /tmp/R2012a /opt/matlab-2012a |
||
20 | </pre> |
||
21 | # Run the installer |
||
22 | <pre>sudo /opt/matlab-2012a/install</pre> |
||
23 | |||
24 | h1. Running matlab out of AFS |
||
25 | |||
26 | If you are on the RU network (or a fast network in general) you can just run matlab directly out of AFS instead of installing. This only works for linux currently. |
||
27 | # Open a terminal and run the command: |
||
28 | <pre>/afs/dev.ru.is/software/matlab/current/matlab |
||
29 | </pre> |
||
30 | |||
31 | h1. For software admins |
||
32 | |||
33 | For preparing both architectures, read this first http://www.mathworks.se/support/solutions/en/data/1-8TH7LL/index.html?product=SL&solution=1-8TH7LL |
||
34 | |||
35 | # Download both the 64 and 32 into the same directory using the installer at |
||
36 | http://www.mathworks.se/downloads/web_downloads/select_release_and_platform. By default this |
||
37 | will be @/var/mathworks_downloads@ |
||
38 | # Run the normal installer on a 64 bit machine with destintation @/afs/dev.ru.is/software/matlab/<version>@ |
||
39 | # Run the installer for 32 bit and let it overwrite the files. |
||
40 | <pre>/tmp/mathworks_downloads/<version>/install -glnx86</pre> |