如何设置环境变量?

为当前最终发行版之前的所有版本提供支持
回复
stone2
帖子: 2
注册时间: 2006-04-30 10:10
送出感谢: 0
接收感谢: 0

如何设置环境变量?

#1

帖子 stone2 » 2006-04-30 21:47

Setting up your environment
The first step is to make sure the GROMACS binaries are in your path. On some systems they will simply be linked to /usr/local/bin and found automatically. If this is not the case on your machine you will have to edit the login file for your shell. If you use the C shell, this file is called .cshrc or .tcshrc, and located in your home directory. Add a line like:

setenv PATH "/usr/local/gromacs/bin/:${PATH}".

Issue this command at the prompt too, or log off and on again to automatically get the environment.

没找到 .cshrc 和 .tcshrc 这样的文件?
setenv是什么?
不太清楚怎么操作,感觉不难,但没查到相关的内容?
谢谢
jk88811
帖子: 55
注册时间: 2006-02-16 9:42
送出感谢: 0
接收感谢: 0
联系:

#2

帖子 jk88811 » 2006-05-08 8:53

你用的是bash shell, 所以应该去找.bashrc文件
头像
feeling
帖子: 175
注册时间: 2006-04-29 20:10
来自: 北京·昌平
送出感谢: 0
接收感谢: 0
联系:

#3

帖子 feeling » 2006-05-10 15:37

please try using this cmd :
export PATH /usr/local/gromacs/bin:${PATH}

you can write this cmd into file ~/.bashrc if you don't want to exec it every time.
回复

回到 “老旧版本支持”