# Setting up ENVI or IDL network licensing

To configurate <span class="caps">RSI</span> (now <span class="caps">ITTVIS</span>)’s <span class="caps">ENVI</span>/<span class="caps">IDL</span> to use floating network licenses (version 4.2/4.3).

**OS X:**  
load a terminal window. Type *setenv LM\_LICENSE\_FILE port@servername*

**Windows:**  
right click on My Computer, goto Properties, go to the Advanced tab, go to Environment Variables.  
Create a new System variable, Variable: *LM\_LICENSE\_FILE* ; Value: *port@servername*

*port@servername* will be specific to your particular license server.

<span class="caps">ENVI</span> and <span class="caps">IDL</span> 4.4/6.4 should be similar, but a February 19, 2008 check of ITTVIS’s site shows slightly different methods:  
[http://www.ittvis.com/services/techtip.asp?ttid=3882](http://www.ittvis.com/services/techtip.asp?ttid=3882)

Open an Apple X11 Terminal shell window, change directories (cd) to the bin subdirectory of your main <span class="caps">IDL</span> directory and issue the correct “lmutil lmpath -override idl\_lmgrd &lt;port@servername&gt;” command to reference the licenses from your network license server. For example, if your main <span class="caps">IDL</span> directory is located in the default location (i.e., /Applications/rsi/idl\_6.1) then issue the following commands:

*cd /Applications/rsi/idl\_6.1/bin*

*./lmutil lmpath -override idl\_lmgrd 1700@myserver*

This will create a file called “.flexlmrc” in your home directory. This procedure only needs to be done once. <span class="caps">IDL</span> or <span class="caps">ENVI</span> sessions started by this user should then be able to obtain floating licenses from the network license server.

---

**<span class="caps">ENVI</span> 4.8 OS X/Unix network licensing changes** (December 2010)

The default directory has changed slightly.

*cd /Applications/itt/idl/idl80*

*./bin/lmutil lmpath -override idl\_lmgrd 1700@myserver*

Where 1700@myserver will be substituted with your specific your port and specific server.

---

**<span class="caps">ENVI</span> 5.0 OS X/Unix network licensing changes** (Spring 2012)

The default directory has changed slightly.

*cd /Applications/exelis/idl/*

*./bin/lmutil lmpath -override idl\_lmgrd 1700@myserver*

Where 1700@myserver will be substituted with your specific your port and specific server.

---

**<span class="caps">ENVI</span> 5.4 Windows/OS X network licensing changes** (Winter 2017)

<span class="caps">ENVI</span> now has a <span class="caps">GUI</span>-based License Manager on the client side to *connect to a server*. This eliminates the need to set via command line (OS X) or Windows system variable in most cases.