安装程序的问题
各位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) 在线急等高手指教 what shell that you use?
bash?
csh? 不同的SHELL就用不同的语言,你如果不确定,可以两种语言都试试。 echo $SHELL 查看当前shell
楼主问的大概是怎样将SEADAS可执行文件添加到path中,那么就在.bashrc中加入
PATH=$PATH:/your/path/to/seadas.env
export PATH echo $SHELL 查看当前shell
楼主问的大概是怎样将SEADAS可执行文件添加到path中,那么就在.bashrc中加入
PATH=$PATH:/your/path/to/seadas.env
export PATH
是的,我的问题就是这个意思。多谢,我试试去。
页:
[1]