|
Installation and Licensing Guide: Installing IDL or ENVI for UNIX |
|
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:
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:
.cshrc , .profile, or .bashrc file using any plain text editor.
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.
.cshrc, .profile, or .bashrc file, or execute the file from the home directory using one of the following commands:
For C shell: source .cshrc
For Korn shell: . .profile
For Bash shell: . .bashrc
If you installed ION during your IDL installation, you will need access to ION Service utilities, as well as IDL-related environment variables and aliases, and you will need to define the ION_DIR environment variable to point to the main ION directory. A script called ion_setup (ion_setup.ksh for Korn shell or ion_setup.bash for Bash shell) is located in the ITT_DIR/idlxx/products/ionxx/bin directory. This script, along with idl_setup and envi_setup, lets you use the ittlicense command to start the license wizard and run the ionman command to launch the IDL Assistant help viewer. To automatically set up your environment upon login, do the following:
.cshrc, .profile, or .bashrc file using any plain text editor.
For C shell users, add the following line to your .cshrc files:
source ITT_DIR/idlxx/products/ionxx/bin/ion_setup
For Korn shell users, add the following line to your .profile files:
. ITT_DIR/idlxx/products/ionxx/bin/ion_setup.ksh
For Bash shell users, add the following line to your .bashrc files:
. ITT_DIR/idlxx/products/ionxx/bin/ion_setup.bash
where ITT_DIR is the main installation directory and xx is the software version.
.cshrc, .profile, or .bashrc file, or execute the file from the home directory using one of the following commands:
For C shell: source .cshrc
For Korn shell: . .profile
For Bash shell: . .bashrc
IDL Online Help (March 06, 2007)