|
Installation and Licensing Guide |
|
This section describes how to install IDL or ENVI on UNIX platforms.
IDL and ENVI for UNIX installation programs are distributed on two CD-ROMs:
Make sure you have the correct CD-ROM for the platform you are installing.
Some platforms automatically mount the CD-ROM when you insert it into your CD-ROM drive. In some cases, you might need to create a /cdrom directory. In most cases, the CD-ROM is mounted as described above.
The following instructions work in most cases for the platform listed. Consult your operating system documentation for instructions on mounting a CD-ROM on your system. Replace CDROM-Dev with the actual name of the CD-ROM drive on your system. Type mounting commands as a single line. On most systems, you must have root permissions to mount the CD-ROM.
Remember how your CD-ROM has been mounted, and use this path in place of CDROM-PATH in the installation instructions.
Follow the steps below to install IDL or ENVI. If you are installing in a public directory, make sure you have root or similar permissions before running the installation script.
/bin/sh /CDROM-PATH/xinstall.sh
where CDROM-PATH is the path to your CD-ROM drive.
The License Agreement dialog appears.
idlxx or envixx directory will be created (where xx is the software version). The default installation directory is /usr/local/itt. The installation directory will be referred to as ITT_DIR for the remainder of the installation and licensing instructions.
If you are installing ENVI, and IDL is already installed on your system, you can install ENVI below the IDL distribution. If you want to install ENVI in this location, click Set Directory and choose the directory that contains the idlxx directory (the default location for IDL is /usr/local/itt). If you do not select the same path, another IDL distribution is installed with ENVI.
When you have selected the installation directory and have made sure you have enough disk space, click OK in the Select Installation Directory dialog.
If you choose to install the DICOM Network Services module, you will be asked if you want to configure the network services to start automatically at boot time.
Symbolic links are shortcuts to the IDL or ENVI executables that you can create in your home directory or in any directory you specify that users can execute to start IDL or ENVI. If you want to create symbolic links, click Create Links. The Product Links dialog appears.
If you choose not to create symbolic links at this time, you can create them after installing IDL or ENVI by doing one of the following:
ITT_DIR/idlxx/bin/install (or ITT_DIR/idlxx/products/envixx/bin/install) executable to create the symbolic links for you. ITT_DIR denotes the installation directory. You must execute this script from ITT_DIR. Enter the following command to create the symbolic links:
ITT_DIR/idlxx/bin/install
Or,
ITT_DIR/idlxx/products/envixx/bin/install
If you choose not to create symbolic links, skip the next step.
/usr/local/bin, which is commonly already in your PATH system environment variable. To change from the default, click the Set Directory button. If you do not have write permissions for the selected directory, it will appear as gray text. The selected directory will be created for you if it does not already exist.
ittlicense at the UNIX prompt after running the source commands described in Defining Environment Variables and Aliases.) To license IDL or ENVI later, or to run IDL in seven-minute demonstration mode, click No.
You can now unmount the CD-ROM using one of the following commands, where CDROM-Device is the name of your CD-ROM drive:
umount /CDROM-Device
Or,
eject /CDROM-Device
Following is a common error message that may appear while installing IDL or ENVI from a CD-ROM on a Linux system:
sh /mnt/cdrom/xinstall.sh /mnt/cdrom/xinstall.sh: /mnt/cdrom/install/xinstall/xinstall.linux: Permission denied /mnt/cdrom/xinstall.sh: /mnt/cdrom/install/xinstall/xinstall.linux: Permission denied
This error message usually occurs when the user option (which allows normal users to mount CD-ROMs) is set on the CD-ROM device in /etc/fstab. By default, the user option prevents all users (including root) from executing programs on the CD-ROM, even if the file's execute permission is set. The xinstall program tries to execute programs directly from the CD-ROM, which causes the installation to fail. Perform the following steps to prevent this error:
unmount /mnt/cdrom
/etc/fstab entry to include the exec option, which allows you to execute programs directly from the CD-ROM. For example, the /etc/fstab entry for your CD-ROM drive may resemble the following:/dev/cdrom /mnt/cdrom iso9660 user,ro,exec 0 0
(Root privileges are normally required to alter the /etc/fstab file.)
mount /mnt/cdrom sh /mnt/cdrom/xinstall.sh
The name of the CD-ROM device (in this case, /dev/cdrom) and its mount point (/mnt/cdrom) may be different on your system. Consult the manpage for the mount command for a more detailed description of the /etc/fstab file and the options used in this procedure.
IDL Online Help (March 06, 2007)