|
各位Linux高手,
我装了Fedora core 1.0,现在要在系统里安装一个应用程序(SEADAS)。
按照这个程序的安装步骤,我一一进行了安装,但是到最后,要在.bashrc文件中加入该程序的启动路径,就是这一步,我怎么也实现不了。也就是说每次我要打开这个程序的时候,都得重新安装一次,很是麻烦。现向各位高手求救。附上该应用程序的英文安装说明(加粗的字体是安装的说明,红色加粗的就是说要把路径加到.bashrc文件中,斜体字体是具体的操作):
11. Set the $SEADAS environment variable.
setenv SEADAS /home/yourname/seadas (for csh)
OR
export SEADAS=/home/yourname/seadas (for bash)
12. Run the configuration script for the shell environment you are using.
If you are running a form of C shell(csh or tcsh), run the shell_cfg_csh script.
./shell_cfg_csh
OR, if you are running under the bash shell, run the shell_cfg_bash script. echo $SHELL
./shell_cfg_bash
13. Run the SeaDAS setup program(sds_setup) and click on the Default and Okay buttons.
(Note: If you are an HRPT station, enter your station information instead of clicking on the Default button)
./sds_setup (if you have IDL installed)
OR
./sds_setup -em (to run in embedded IDL mode)
14. Activate the Seadas setup just created. source config/seadas.env (for csh)
OR
. config/seadas.env (for bash)
15. Add this command to your .cshrc or .bashrc file. Remember to include the full path name of the seadas.env file. Place it after any statements that set $path or $PATH variables, and after the 'setenv IDL_DIR' or 'IDL_DIR=' statement if you have one.
17. Update the program hash search tables. This is required only for the initial installation and only if you are running under the C-shell. There is no need to do this for the bash shell.
rehash
18. Start SeaDAS.
seadas (if you have IDL installed)
OR
seadas -em (if you want to run in embedded IDL mode) |
|