[ncl-install] Set the NCARG_ROOT environment variable.

Erika Folova e.folova at gmail.com
Sun Sep 23 13:09:13 MDT 2012


Hi Daniel,

Thanks, it works correctly in .bashrc for my Fedora :)

--

On Fri, Sep 21, 2012 at 10:02 PM, Daniel Packman <pack at ucar.edu> wrote:

>
> 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/20120923/5c8bb754/attachment.html 


More information about the ncl-install mailing list