LinuxSir.cn,穿越时空的Linuxsir!

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

请教:这样的路径在 linux 上是怎么设置的啊?谢谢!

[复制链接]
发表于 2006-11-23 16:48:59 | 显示全部楼层 |阅读模式
请教:
资料上说:
Once installed the tool chains must be made accessible in your search path.
The "/usr/local/arm/3.4/bin" and "/usr/local/arm/3.2.1-elf/bin" directories
must be in your search path; how this is accomplished is dependent upon the
shell you use.  For a bourne-like shell (such as bash), use the following:

PATH=/usr/local/arm/3.4/bin:/usr/local/arm/3.2.1-elf/binPATH

各位大哥
我在 linux 哪里设置这条路径啊?
还有怎么设置啊?

谢谢!
发表于 2006-11-23 19:50:30 | 显示全部楼层
export PATH=....

或者把 PATH 加到你的 profile 里
回复 支持 反对

使用道具 举报

发表于 2006-11-23 20:45:30 | 显示全部楼层
vi ~/.bash_profile

在其中PATH=....的最后接着写:/YOU_ADDED_PATH就行了。这样重新启动之后这个路径就在系统的搜索路径中了。
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

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