- 积分
- 8
- 贡献
-
- 精华
- 在线时间
- 小时
- 注册时间
- 2014-6-13
- 最后登录
- 1970-1-1
|
发表于 2014-6-13 14:28:39
|
显示全部楼层
1) Allow this script to install IDL in the ITT VIS recommended
manner:
- If the itt directory tree (of which IDL is a
subdirectory) is not located in /usr/local/itt,
create a symbolic link called /usr/local/itt that points
at it.
- Create symbolic links in /usr/local/bin for IDL and
related commands. To run IDL, users must put
/usr/local/bin in their execution paths. At most sites,
this is already the case.
2) You can manually create the symbolic links using the commands:
setenv ITT /usr/local/itt
ln -s $ITT /usr/local/itt
ln -s $ITT/idl/idl81/bin/idl LOCAL_DIR/idl81
ln -s $ITT/idl/idl/bin/idl LOCAL_DIR/idl
ln -s $ITT/idl/idl81/bin/idlde LOCAL_DIR/idlde81
ln -s $ITT/idl/idl/bin/idlde LOCAL_DIR/idlde
ln -s $ITT/idl/idl81/bin/idlrpc LOCAL_DIR/idlrpc81
ln -s $ITT/idl/idl/bin/idlrpc LOCAL_DIR/idlrpc
ln -s $ITT/idl/idl81/bin/idlhelp LOCAL_DIR/idlhelp81
ln -s $ITT/idl/idl/bin/idlhelp LOCAL_DIR/idlhelp
ln -s $ITT/idl/idl81/bin/ittlicense LOCAL_DIR/ittlicense81
ln -s $ITT/idl/idl/bin/ittlicense LOCAL_DIR/ittlicense
where LOCAL_DIR is the path of a directory on your system
that commonly appears in users' paths.
3) Files named idl_setup and idl_setup.ksh are
automatically created by the installation script. These
files contain appropriate definitions for IDL-related
environment variables and aliases. If you choose this
option, you must have your users set up their accounts
as shown below:
Have your C-shell users add the line:
source /usr/local/itt/idl/idl/products/idl/bin/idl_setup
to their .cshrc files.
Have your Korn shell users add the line:
. /usr/local/itt/idl/idl/products/idl/bin/idl_setup.ksh
to their .profile files.
Have your Bash shell users add the line:
. /usr/local/itt/idl/idl/products/idl/bin/idl_setup.bash
to their .bashrc files.
|
|