Informatique / Matlab / CentOS 7 : installation of Matlab R2015a to R2016b without GUI
We need a valid license for the version we want to install and
- the iso file R2016b_glnxa64_dvd1.iso for release 2016b, R2016a_glnxa64_dvd1.iso for release
2016a, ...
- the file Installation Key
- the license file license.dat (client version)
We choose to present the installation of the release 2016b. For the other releases, the same principle can be
applied. For a console/text mode installation of the release 2016b
- Create the configuration file Matlab_client.cnf adapted to your license. For me its contents is :
destinationFolder=/usr/local/MATLAB/R2016b
fileInstallationKey=<write your installation key here>
agreeToLicense=yes
mode=silent
licensePath=<write path here>/license.dat
lmgrFiles=false
lmgrService=false
# After add your license products
product.MATLAB
product.MATLAB_Compiler_SDK
product.MATLAB_Compiler
product.Parallel_Computing_Toolbox
A list of some Matlab products/Toolboxes is given product.list .
- to mount the iso file R2016b_glnxa64_dvd1.iso replace in the following command the <path> by the
path of the iso file.
sudo mkdir -p /mnt/isosudo mount -o loop -t iso9660 <path>/R2016b_glnxa64_dvd1.iso /mnt/iso
- The next command lauch Matlab install by using previously created Matlab_client.cnf
file.
sudo /mnt/iso/install -mode silent -inputFile /<full path>/Matlab_client.cnf
- unmount the iso file
For other releases of Matlab, we just have to change the destinationFolder in file Matlab_client.cnf
and use the corresponding iso file.