[ncl-install] Set the NCARG_ROOT environment variable.

Daniel Packman pack at ucar.edu
Fri Sep 21 14:02:33 MDT 2012


On Sep 21, 2012, at Sep 21   1:59 PM, Erika Folova <e.folova at gmail.com> wrote:

> Hallo,
> 
> Somebody can give me the real example of this statement:
> 
> "To keep from having to type these commands (in my case export NCARG_ROOT=/usr/local)  in every time you login, it is best to add these lines (or line) to the appropriate ".*" file in your home directory. (The ~/.cshrc or ~/.bashrc are two examples; be sure to use the one appropriate for the shell environment you are running.)"
> 
> I checked in my home directory, i found both of .cshrc or .bashrc , which one that i have to use? I am using Linux Fedora.
> 

It depends on which shell you are in. If you are in csh, tcsh or something of that ilk,
then add

setenv NCARG /usr/local

to your .cshrc.  If you are in bash or something of that ilk, then add

export NCARG=/usr/local

to your .bashrc  Perhaps best to just add to both.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ucar.edu/pipermail/ncl-install/attachments/20120921/c89dfffa/attachment.html 


More information about the ncl-install mailing list