[ncl-install] Mac OSX 10.12 Sierra install
Mary Haley
haley at ucar.edu
Mon Nov 14 22:00:30 MST 2016
Since none of these files exist, then you need to create it in your home
directory.
On a Mac system, I recommend creating the ".bash_profile" file (note it is
not ".bashrc_profile as you typed it in your email) in your home directory,
and then add the lines to set NCARG_ROOT and PATH as documented.
You can create the file in your home directly by typing one of these two
commands:
vi $HOME/.bash_profile
or
vi ~/.bash_profile
"vi" is a UNIX editor. You can use whatever UNIX editor you are comfortable
with.
The two lines you add should look something like this:
export NCARG_ROOT=*/xxx/yyy/zzz*
export PATH=$NCARG_ROOT/bin:$PATH
Where "/xxx/yyy/zzz" should be replaced with the path where you installed
NCL.
Save the file, and then open a new Terminal window and type:
ncl -V
to see if it worked.
--Mary
On Mon, Nov 14, 2016 at 4:58 PM, Rex Tracy <rtracy1 at san.rr.com> wrote:
> I have tried to follow the instructions for installing NCL on Mac but run
> into trouble when looking for the appropriate file to edit to add the NCL
> to the PATH search line. I do understand that I can interactively change
> the PATH to search via a terminal command, however, when looking for the
> file to edit [ .profile, .bashrc or .bashrc_profile ], I find that the file
> is not present under the latest OSX version ( 10.12 ) within my home
> directory. Can you help me identify the location of this file ?
>
> Thank you,
> Dr. Rex Tracy
> _______________________________________________
> ncl-install mailing list
> List instructions, subscriber options, unsubscribe:
> http://mailman.ucar.edu/mailman/listinfo/ncl-install
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ucar.edu/pipermail/ncl-install/attachments/20161114/a206b21b/attachment.html
More information about the ncl-install
mailing list