红联Linux门户
Linux帮助
当前位置: 红联Linux门户 > Ubuntu

ubuntu 上装renderman的环境变量!不是 .bashrc 而是 .cshrc

发布时间:2008-12-18 10:03:51来源:红联作者:luoqiulin
Please add the following lines to your .cshrc (or other startup) file: setenv RMANTREE /opt/pixar/RenderManProServer-13.5
setenv RMSTREE /opt/pixar/RenderMan_Studio-1.0-Maya8.5
setenv RMSDOCTREE /opt/pixar/docs/RMS-1.0
setenv RMANFB it
setenv AW_LOCATION /usr/aw
setenv MAYA_LOCATION $AW_LOCATION/maya
setenv MAYA_PLUG_IN_PATH $RMSTREE/bin
setenv MAYA_SCRIPT_PATH $RMSTREE/lib/mtor/resources
setenv XBMLANGPATH "$RMSTREE/lib/mtor/resources/%B"
setenv LD_LIBRARY_PATH "$MAYA_LOCATION/lib:$RMSTREE/bin"
if ($RMSTREE == $RMANTREE) then
set path = ($path $RMANTREE/bin)
else
set path = ($path $RMSTREE/bin $RMANTREE/bin)
endif


感觉直接 把这个加到.bashrc里格式不对,如果需要改,请问如何改?
如果需要写在.cshrc里,这个文件在哪里阿?
文章评论

共有 1 条评论

  1. jagub 于 2008-12-18 10:28:34发表:

    首先你要安装csh
    sudo apt-get install csh

    现有用户的话,~/.cshrc默认是没有的,需要你自己创建
    新用户有没有这个文件我不知道