LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 705|回复: 0

求助关于软件的安装

[复制链接]
发表于 2010-5-10 21:49:57 | 显示全部楼层 |阅读模式
最近从网上下了一个软件  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
您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表