Difference between revisions of "Install matlab on work station per matlab user"

From HPC Guide
Jump to navigation Jump to search
Line 1: Line 1:
 
Make sure that you have ~10GB for the iso file, and copy it to your machine, e.g. to /scratch
 
Make sure that you have ~10GB for the iso file, and copy it to your machine, e.g. to /scratch
> scp dvory@dvory:/home/dvory/Downloads/R2021b_Linux.iso /scratch/
+
<pre>
 +
scp dvory@dvory:/home/dvory/Downloads/R2021b_Linux.iso /scratch/
 +
</pre>
 
Mount the iso file to the media directory
 
Mount the iso file to the media directory
> mount –t iso9660 –o loop /scratch/R2015b...iso  /mnt
+
<pre>
 +
mount –t iso9660 –o loop /scratch/R2015b...iso  /mnt
 +
</pre>
 
Start the installation (not from /mnt, but cd to /tmp):
 
Start the installation (not from /mnt, but cd to /tmp):
            - cd /tmp
+
 
            - /mnt/install (need X11 display)
+
* Make sure you have X, since the installation opens a GUI
So may do the following:
+
<pre>
*  Make sure you have X, since the installation opens a GUI
+
cd /tmp
 +
/mnt/install (need X11 display)
 +
</pre>
 
When installation window opens:
 
When installation window opens:
 
• When asks where to install it – choose a place which has enough space:
 
• When asks where to install it – choose a place which has enough space:
 
• Type next – to install all that is being checked.
 
• Type next – to install all that is being checked.
 
Check that the new sw works. May need to add its path to $PATH in .bashrc:
 
Check that the new sw works. May need to add its path to $PATH in .bashrc:
 +
<pre>
 
export PATH=$PATH:<matlab path>
 
export PATH=$PATH:<matlab path>
 +
</pre>

Revision as of 07:30, 2 January 2024

Make sure that you have ~10GB for the iso file, and copy it to your machine, e.g. to /scratch

scp dvory@dvory:/home/dvory/Downloads/R2021b_Linux.iso /scratch/

Mount the iso file to the media directory

mount –t iso9660 –o loop /scratch/R2015b...iso  /mnt

Start the installation (not from /mnt, but cd to /tmp):

  • Make sure you have X, since the installation opens a GUI
cd /tmp
/mnt/install (need X11 display)

When installation window opens: • When asks where to install it – choose a place which has enough space: • Type next – to install all that is being checked. Check that the new sw works. May need to add its path to $PATH in .bashrc:

export PATH=$PATH:<matlab path>