You need to source the ferret_paths script in your own shell to set the environment variables,including adding the directory ferret is in to PATH. You need to do this each time you open anew shell (command line window). You can add this source command to one of the standardstart-up files to do this automatically when you start a new shell. See the man page for bashon that.What you did as root just environment variables for root which then went away when youclosed that window.Karl--On Thu, Apr 5, 2018 at 2:27 AM, Gopal Mondal <gopalmondal18@xxxxxxxxx> wrote:please help ...But when in am trying to run ferret bymy FER_DIR --> /usr/local/ferret/,Hy alllI have installed the ferret v7.2 in ubuntu 16.04 lts in root.
'fer_executables.tar.gz' location --> /home/gopal/Downloads/
FER_DSETS --> /home/gopal/DATA/
ferret_paths link to create? (c/s/n) [n] --> s
Created /usr/local/ferret_paths.csh
Created /usr/local/ferret_paths.sh
Created /usr/local/ferret_paths
as a link to ferret_paths.sh
/usr/local/ferret/bin# source /usr/local/ferret_paths.
gopal@gopal-VPCEB4L9E:/usr/local$ ferret
bash: /usr/local/ferret/bin/ferret: No such file or directorythanks in advancegopalKarl M. Smith, Ph.D.
JISAO Univ. Wash. and PMEL NOAA
"The contents of this message are mine personally and do
not necessarily reflect any position of the Government
or the National Oceanic and Atmospheric Administration."
Attachment:
mybashrc.pdf
Description: Adobe PDF document