<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
We set our path stuff in /etc/profile.d<br>
All users on the system get the same version/path<br>
Works.<br>
<br>
example:<br>
<br>
[root@machine etc]# more /etc/profile.d/ncl-6.2.0.sh <br>
export NCARG_ROOT=/usr/local/ncl-6.2.0<br>
export PATH=$NCARG_ROOT/bin:$PATH<br>
[root@machine etc]# echo $NCARG_ROOT<br>
/usr/local/ncl-6.2.0<br>
[root@machine etc]# su - username<br>
[username@machine ~]$ echo $NCARG_ROOT<br>
/usr/local/ncl-6.2.0<br>
<br>
If you don't want to do it that way, you should have an entry in
.bash_profile in your home directory, as opposed to root. <br>
<br>
good luck, <br>
<br>
Jonathan<br>
<br>
<div class="moz-cite-prefix">On 9/12/14 5:02 AM, juki juki wrote:<br>
</div>
<blockquote
cite="mid:1410512549.7885.YahooMailNeo@web162806.mail.bf1.yahoo.com"
type="cite">
<div style="color:#000; background-color:#fff;
font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial,
Lucida Grande, sans-serif;font-size:12pt">
<div style="" class="">Dear All;</div>
<div style="" class=""><br style="" class="">
</div>
<div class="" style="color: rgb(0, 0, 0); font-size: 16px;
font-family: HelveticaNeue,Helvetica
Neue,Helvetica,Arial,Lucida Grande,sans-serif;
background-color: transparent; font-style: normal;">I have
used ncl for long time and I tried to install ncl in my new
linux pc. However, I got the following command: </div>
<div class="" style="color: rgb(0, 0, 0); font-size: 16px;
font-family: HelveticaNeue,Helvetica
Neue,Helvetica,Arial,Lucida Grande,sans-serif;
background-color: transparent; font-style: normal;"><br
style="" class="">
</div>
<div class="" style="color: rgb(0, 0, 0); font-size: 16px;
font-family: HelveticaNeue,Helvetica
Neue,Helvetica,Arial,Lucida Grande,sans-serif;
background-color: transparent; font-style: normal;">bash: ncl:
command not found...<br style="" class="">
</div>
<div class="" style="color: rgb(0, 0, 0); font-size: 16px;
font-family: HelveticaNeue,Helvetica
Neue,Helvetica,Arial,Lucida Grande,sans-serif;
background-color: transparent; font-style: normal;"><br
style="" class="">
</div>
<div class="" style="color: rgb(0, 0, 0); font-size: 16px;
font-family: HelveticaNeue,Helvetica
Neue,Helvetica,Arial,Lucida Grande,sans-serif;
background-color: transparent; font-style: normal;">I try to
follow the guidance at the following link:</div>
<div class="" style="color: rgb(0, 0, 0); font-size: 16px;
font-family: HelveticaNeue,Helvetica
Neue,Helvetica,Arial,Lucida Grande,sans-serif;
background-color: transparent; font-style: normal;"><br
style="" class="">
</div>
<div class="" style="color: rgb(0, 0, 0); font-size: 16px;
font-family: HelveticaNeue,Helvetica
Neue,Helvetica,Arial,Lucida Grande,sans-serif;
background-color: transparent; font-style: normal;"><a
moz-do-not-send="true" style="" class=""
href="http://www.ncl.ucar.edu/get_started.shtml#SetNCARG_ROOT">http://www.ncl.ucar.edu/get_started.shtml#SetNCARG_ROOT</a></div>
<div class="" style="color: rgb(0, 0, 0); font-size: 16px;
font-family: HelveticaNeue,Helvetica
Neue,Helvetica,Arial,Lucida Grande,sans-serif;
background-color: transparent; font-style: normal;"><br
style="" class="">
</div>
<div class="" style="color: rgb(0, 0, 0); font-size: 16px;
font-family: HelveticaNeue,Helvetica
Neue,Helvetica,Arial,Lucida Grande,sans-serif;
background-color: transparent; font-style: normal;">But, I
didn't get any success, "bash: ncl: command not found..."
still appears.</div>
<div class="" style="color: rgb(0, 0, 0); font-size: 16px;
font-family: HelveticaNeue,Helvetica
Neue,Helvetica,Arial,Lucida Grande,sans-serif;
background-color: transparent; font-style: normal;"><br
style="" class="">
</div>
<div class="" style="color: rgb(0, 0, 0); font-size: 16px;
font-family: HelveticaNeue,Helvetica
Neue,Helvetica,Arial,Lucida Grande,sans-serif;
background-color: transparent; font-style: normal;">The
following are the information that may be usefull:</div>
<div class="" style="color: rgb(0, 0, 0); font-size: 16px;
font-family: HelveticaNeue,Helvetica
Neue,Helvetica,Arial,Lucida Grande,sans-serif;
background-color: transparent; font-style: normal;"><br
style="" class="">
</div>
<div class="" style="color: rgb(0, 0, 0); font-size: 16px;
font-family: HelveticaNeue,Helvetica
Neue,Helvetica,Arial,Lucida Grande,sans-serif;
background-color: transparent; font-style: normal;">[root@localhost
~]# echo $SHELL<br style="" class="">
/bin/bash</div>
<div class="" style="color: rgb(0, 0, 0); font-size: 16px;
font-family: HelveticaNeue,Helvetica
Neue,Helvetica,Arial,Lucida Grande,sans-serif;
background-color: transparent; font-style: normal;"><br
style="" class="">
</div>
<div class="" style="color: rgb(0, 0, 0); font-size: 16px;
font-family: HelveticaNeue,Helvetica
Neue,Helvetica,Arial,Lucida Grande,sans-serif;
background-color: transparent; font-style: normal;">[root@localhost
~]# grep -i path ~/.*<br style="" class="">
grep: /root/.: Is a directory<br style="" class="">
grep: /root/..: Is a directory<br style="" class="">
/root/.bash_history:export PATH=$NCARG_ROOT/bin:$PATH <br
style="" class="">
/root/.bash_history:export LD_LIBRARY_PATH=/usr/local/lib<br
style="" class="">
/root/.bash_history:export LD_LIBRARY_PATH=/usr/local/lib<br
style="" class="">
/root/.bash_history:PATH=$NCARG_ROOT/bin:$PATH<br style=""
class="">
/root/.bash_history: export PATH <br style="" class="">
/root/.bash_history:setenv PATH $NCARG_ROOT/bin:$PATH<br
style="" class="">
/root/.bash_history: export PATH=$NCARG_ROOT/bin:$PATH <br
style="" class="">
/root/.bash_history:env | grep LD_LIBRARY_PATH<br style=""
class="">
/root/.bash_history:export LD_LIBRARY_PATH=/usr/local/lib<br
style="" class="">
/root/.bash_profile:PATH=$PATH:$HOME/bin<br style="" class="">
/root/.bash_profile:export PATH<br style="" class="">
grep: /root/.cache: Is a directory<br style="" class="">
grep: /root/.config: Is a directory<br style="" class="">
grep: /root/.gnupg: Is a directory<br style="" class="">
grep: /root/.local: Is a directory<br style="" class="">
grep: /root/.mozilla: Is a directory<br style="" class="">
grep: /root/.pki: Is a directory<br style="" class="">
grep: /root/.ssh: Is a directory</div>
<div class="" style="color: rgb(0, 0, 0); font-size: 16px;
font-family: HelveticaNeue,Helvetica
Neue,Helvetica,Arial,Lucida Grande,sans-serif;
background-color: transparent; font-style: normal;"><br>
</div>
<div class="" style="color: rgb(0, 0, 0); font-size: 16px;
font-family: HelveticaNeue,Helvetica
Neue,Helvetica,Arial,Lucida Grande,sans-serif;
background-color: transparent; font-style: normal;">-----------------</div>
<div class="" style="color: rgb(0, 0, 0); font-size: 16px;
font-family: HelveticaNeue,Helvetica
Neue,Helvetica,Arial,Lucida Grande,sans-serif;
background-color: transparent; font-style: normal;">Hope some
help if you have experience with such case.</div>
<div class="" style="color: rgb(0, 0, 0); font-size: 16px;
font-family: HelveticaNeue,Helvetica
Neue,Helvetica,Arial,Lucida Grande,sans-serif;
background-color: transparent; font-style: normal;"><br>
</div>
<div class="" style="color: rgb(0, 0, 0); font-size: 16px;
font-family: HelveticaNeue,Helvetica
Neue,Helvetica,Arial,Lucida Grande,sans-serif;
background-color: transparent; font-style: normal;">Thank</div>
<div class="" style="color: rgb(0, 0, 0); font-size: 16px;
font-family: HelveticaNeue,Helvetica
Neue,Helvetica,Arial,Lucida Grande,sans-serif;
background-color: transparent; font-style: normal;">joeky</div>
<div class="" style="color: rgb(0, 0, 0); font-size: 16px;
font-family: HelveticaNeue,Helvetica
Neue,Helvetica,Arial,Lucida Grande,sans-serif;
background-color: transparent; font-style: normal;"><br
style="" class="">
</div>
<div class="" style="color: rgb(0, 0, 0); font-size: 16px;
font-family: HelveticaNeue,Helvetica
Neue,Helvetica,Arial,Lucida Grande,sans-serif;
background-color: transparent; font-style: normal;"><br
style="" class="">
</div>
<div class="" style="color: rgb(0, 0, 0); font-size: 16px;
font-family: HelveticaNeue,Helvetica
Neue,Helvetica,Arial,Lucida Grande,sans-serif;
background-color: transparent; font-style: normal;"><br
style="" class="">
</div>
<div class="" style="color: rgb(0, 0, 0); font-size: 16px;
font-family: HelveticaNeue,Helvetica
Neue,Helvetica,Arial,Lucida Grande,sans-serif;
background-color: transparent; font-style: normal;"><br
style="" class="">
</div>
<div class="" style="color: rgb(0, 0, 0); font-size: 16px;
font-family: HelveticaNeue,Helvetica
Neue,Helvetica,Arial,Lucida Grande,sans-serif;
background-color: transparent; font-style: normal;"><br
style="" class="">
</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
ncl-install mailing list
List instructions, subscriber options, unsubscribe:
<a class="moz-txt-link-freetext" href="http://mailman.ucar.edu/mailman/listinfo/ncl-install">http://mailman.ucar.edu/mailman/listinfo/ncl-install</a>
</pre>
</blockquote>
<br>
</body>
</html>