[Thread Prev][Thread Next][Index]

Re: [ferret_users] ferret installation



Hi,
Alternatively can I add the following at the very end of my .bashrc file,

PATH=$PATH:$HOME/bin/ferret_paths
export PATH

or in my .bash_profile file, where should I enter
. $HOME/bin/ferret_paths

###################################################################
# ~/.bash_profile: executed by bash(1) for login shells.
# see /usr/share/doc/bash/examples/startup-files for examples.
# the files are located in the bash-doc package.
# the default umask is set in /etc/login.defs
umask 022

# include .bashrc if it exists
if [ -f ~/.bashrc ]; then
    . ~/.bashrc

fi

# set PATH so it includes user's private bin if it exists
if [ -d ~/bin ] ; then
    PATH="~/bin:${PATH}:/home/sanjayr/bin"

fi

# do the same with MANPATH
if [ -d ~/man ]; then
    MANPATH=~/man:"${MANPATH}"
    export MANPATH
fi
############################################################################


Does it matter if I use linux 32 bit or linux 64 bit. I tried both versions but it doesn't work. My machine is a (ppc64).

Bye











Quoting "Ryo Furue" <furue@xxxxxxxxxx>:

Sunny,

| I installed ferret according to the instructions on your website in
| the directory
| $HOME/ferret
|
| When I type "ferret" it gives the following error:
|
| bash:command not found
|
| I looked at my .bashrc_profile
|
| and added
|
| source $HOME/bin

If this is not a typo, it is a/the reason for your
problem.  You have to source ferret_paths (or ferret_paths_bash ?)
as

  . $HOME/bin/ferret_paths

The dot "." is equivalent to "source" but more standard.

Hope this helps,
Ryo






[Thread Prev][Thread Next][Index]

Contact Us
Dept of Commerce / NOAA / OAR / PMEL / TMAP

Privacy Policy | Disclaimer | Accessibility Statement