Subject: Re: Bash Configuration Question
To: mowestusa <mowestusa@yahoo.com>
From: Vince <jhary@unsane.co.uk>
List: netbsd-help
Date: 08/16/2006 09:15:17
mowestusa wrote:
> Be aware I'm just trying to learn NetBSD.
> 
> I found in the NetBSD wiki a great little help in
> learning how to install packages (binaries). I used
> this little hint to do "setenv PKG_PATH..." and it
> worked perfectly. The first thing I did was install
> bash shell because I'm more used to that from my linux
> experience. I also found a great tutorial on the wiki
> telling me how to switch to using bash as my default
> shell. This too worked great, but (I know some of you
> have guessed this one) "pkg_add -v packagename does
> not work anymore because it is only looking for the
> package in my home directory. I have tried setenv
> PKG_PATH again, but it says that no command exists. So
> I'm guessing that since I'm not using the sh shell any
> longer this is the issue.
> 
> How do I use bash and set the "PKG_PATH" back to the
> "ftp://" site?
> 
setenv is the csh syntax, now you are using bash try
export PKG_PATH="ftp://foo.bar.com/whatever"
to keep it persistant for bash add that to ~/.bash_profile


> Thanks for the help, or for pointing me to where I can
> read the answer.
> 
> Steve
> mowestusa@yahoo.com
> 
> 
> __________________________________________________
> Do You Yahoo!?
> Tired of spam?  Yahoo! Mail has the best spam protection around 
> http://mail.yahoo.com