Setting Up the Environment

Before you can run IDL or ENVI on a UNIX platform, you must set up each user's environment on the machine that will be running it. Each user will need to complete the following tasks:

Defining Environment Variables and Aliases

Three setup scripts (idl_setup, idl_setup.ksh, and idl_setup.bash) are provided for IDL, and three scripts (envi_setup, envi_setup.ksh, and envi_setup.bash) are provided for ENVI. These scripts set all required environment variables and aliases for IDL and ENVI. You should modify the .cshrc, .profile, or .bashrc file for each user who will be accessing IDL or ENVI, so that these settings are automatically executed whenever a user logs in.

To modify the .cshrc, .profile, or .bashrc files, complete the following steps:

  1. Modify each user's .cshrc , .profile, or .bashrc file using any plain text editor.
  2. For C shell users, add the following line to your.cshrc files:

    source ITT_DIR/idlxx/bin/idl_setup 
     

    Or,

    source ITT_DIR/idlxx/products/envixx/bin/envi_setup

    For Korn shell users, add the following line to your.profile files:

    . ITT_DIR/idlxx/bin/idl_setup.ksh

    Or,

    . ITT_DIR/idlxx/products/envixx/bin/envi_setup.ksh

    For Bash shell users, add the following line to your.bashrc files:

    . ITT_DIR/idlxx/bin/idl_setup.bash

    Or,

    . ITT_DIR/idlxx/products/envixx/bin/envi_setup.bash

    where ITT_DIR is the main installation directory and xx is the software version.

  3. Log out and log back in to execute the .cshrc, .profile, or .bashrc file, or execute the file from the home directory using one of the following commands:
  4. For C shell: source .cshrc

    For Korn shell: . .profile

    For Bash shell: . .bashrc

    Note
    For additional information on configuring Linux systems, see the Licensing section of the Tech Support Frequently Asked Questions page on the ITT Visual Information Solutions web site.