Sie sind auf Seite 1von 7

MATLAB 2009b Installation Network

Version – *nux

These steps describe the process of installing MATLAB 2009b on a linux computer, using the
K.U.Leuven license server.

Before installing you need the following items:

File Installation Key (FIK)

license.dat file

Part 1: Installation of the MATLAB client software


Step 1: Get the installation media

Depending on the policy of your department: get the installation DVD or download the files to a
directory on your *nux machine.

Remark on the K.U.Leuven – 2009b DVD:

Installing straight away from the DVD will not work. Here is a workaround:

Copy all the toolboxes neede and the correct installer to a map onto your computer. Start the
installation from that directory.

Step 2: Create the Installation Directory

Become root and create the installation directory and move to it. You can specify any name for
the installation directory. It is common to install MATLAB under /usr/local

For example, install into the location /usr/local/matlab2009b

1
Step 3: Put the License File in the Installation Directory

Move your license file (license...dat), into /usr/local/matlab2009b directory. The


installer will need this file.

Step 4: Start the Installer

Extract the installer (choose the right tar for your system linux x86, 64bit linux or mac) in the
directory

tar –xf matlab_installer_glnx86.tar

Start the installer

./install

A welcome dialog box will be displayed

It is very important to select the option ‘Install manually without using the Internet’.

Step 5: Review the License Agreement

Accept or reject the software licensing agreement displayed. If you accept the terms of the
agreement, click Yes to proceed with the installation.

2
Step 6: Set/Verify the Installation Directory Name

Set or Verify the name of the installation directory in the MATLAB Root Directory dialog box, and
then click OK to continue.

If the folder is not yet created, the installation will create it.

Step 7: Provide the File Installation Key (FIK)

3
Enter the File Installation Key that you received

Step 8: Specify the Products to Install

Specify the products you want to install in the Installation Options dialog box, and then click OK
to continue.

During installation, please REMOVE any Toolboxes that you have no use for. Installing toolboxes
that you don't need, may impact the availability for those who really are in need of those
Toolboxes.

Thank you for your cooperation.

4
By default, the installer lists all the products that you are licensed to install in the Items to install
pane of this dialog box. If you do not want to install an item, select it and click the Remove
button. This moves the product name into the Items not to install pane.

Do NOT install the License Manager if it is listed.

The Platforms column identifies which product binary files are installed. By default, the check
box identifying the platform on which you are running the installer is preselected.

Step 9: Specify Location of Symbolic Links

In the Installation Data dialog box, you specify where you want to put symbolic links to the
matlab and mex scripts. Specify a directory such as /usr/local/bin that is common to all
your users' paths and click OK to continue with the installation.

5
Step 10: Provide the Location of the License File

Browse to the directory where the license.dat file is located.

Step 11: Begin the Installation

The installer displays the Begin Installation dialog box. Click OK to begin the installation.

After you click OK, the installer displays a dialog box indicating the progress of the installation.

6
Step 12: Exit the Installer

After the installation is complete, the installer displays the Installation Complete dialog box.
Click Exit to dismiss the installer.

Part 2: Final client software configuration


After installation is complete, the client license file should be removed and an environment
variable should be used in its place.

Search in the MATLAB installation directory for the directory ‘licenses’ and remove (or rename)
the file network.lic.

The environment variable that should be added is:

MLM_LICENSE_FILE=1715@flexlm1p.cc.kuleuven.be,
1715@flexlm2p.cc.kuleuven.be,1715@flexlm3p.cc.kuleuven.be

A common approach to setting system-wide environment variables is to create files in


/etc/profile.d which are executed when a user logs in. Depending on the login shell the file may
look like (based on information taken from
wikis.uit.tufts.edu/confluence/display/TuftsUITResearchComputing/Network+License+Informati
on)

/etc/profile.d/flexlm.sh

export MLM_LICENSE_FILE=1715@flexlm1p.cc.kuleuven.be,
1715@flexlm2p.cc.kuleuven.be,1715@flexlm3p.cc.kuleuven.be

Das könnte Ihnen auch gefallen