|
最近从网上下了一个软件 sac_101.3b-linux_x86_32.tar.gz ,解压缩后里面就是一个名为sac的文件夹,里头已经有了bin,aux,doc,include,lib,macros,utils 子文件夹,并且没有configure,install等批处理文件,请问各位高手
1.这个是不是只要配置一下环境变量就可以用了?(我已经把sac文件夹解压到 /usr/local 了)
2.
Here are sample lines that a user would add to his/her start-up file.
(Here the SAC directory tree starts at /usr/local/sac/.):
For Bash use: .bashrc
export SACHOME=/usr/local/sac
export PATH=${PATH}{SACHOME}/bin
export SACAUX=${SACHOME}/aux
export SAC_PPK_LARGE_CROSSHAIRS=1
---------------------------------------------???这四行放在哪里????
(On a Cygwin distribution, the aux directory is called winaux. The sacinit
files have winaux instead of aux on a Cygwin distribution.)
It is recommended that you create an initialization macro that runs whenever
you start SAC. To do this, create a startup macro file (e.g.,
/usr/local/macros/init.m) and alias sac as follows:
alias sac '${SACHOME}/bin/sac /usr/local/macros/init.m'
—————————————————————????这句话放在哪里?
Here is a sample initialization macro:
lh columns 2 files none; qdp 10000 ; xdiv power off ; xlabel 'Seconds'
setmacro /usr/local/macros ; transcript history file ./.sachist |
|