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:
- Modify each user's
.cshrc,.profile, or.bashrcfile using any plain text editor. - Log out and log back in to execute the
.cshrc,.profile, or.bashrcfile, or execute the file from the home directory using one of the following commands:
For C shell users, add the following line to your.cshrc files:
source ITT_DIR/idlxx/bin/idl_setupOr,
source ITT_DIR/idlxx/products/envixx/bin/envi_setupFor Korn shell users, add the following line to your
. ITT_DIR/idl.profilefiles:xx/bin/idl_setup.kshOr,
. ITT_DIR/idlxx/products/envixx/bin/envi_setup.kshFor Bash shell users, add the following line to your
. ITT_DIR/idl.bashrcfiles:xx/bin/idl_setup.bashOr,
. ITT_DIR/idlxx/products/envixx/bin/envi_setup.bashwhere
ITT_DIRis the main installation directory andxxis the software version.
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.