Re: Set the NCARG_ROOT environment variable.

From: Daniel Packman <pack_at_nyahnyahspammersnyahnyah>
Date: Fri Sep 21 2012 - 14:02:33 MDT

On Sep 21, 2012, at Sep 21 1:59 PM, Erika Folova <e.folova@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.

_______________________________________________
ncl-install mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-install
Received on Fri Sep 21 14:02:41 2012

This archive was generated by hypermail 2.1.8 : Fri Sep 21 2012 - 16:25:08 MDT