hi,
open a new terminal. Then type vi .bashrc. then add export AMBERHOME=/..../ (only ambr root dir). then save and escape. Thats all.
Now when ever u type $AMNERHOME it will take the correct path.
--- On Thu, 15/10/09, Nicolas Sapay <nicolas.sapay.cermav.cnrs.fr> wrote:
> From: Nicolas Sapay <nicolas.sapay.cermav.cnrs.fr>
> Subject: Re: [AMBER] Re: Fw: Help required in Amber10 Installation
> To: "AMBER Mailing List" <amber.ambermd.org>
> Cc: sudeep.bose.res.in
> Date: Thursday, 15 October, 2009, 12:34 PM
> Hello,
>
> Did you source your .bashrc or .bash_profile after your
> modifications?
> If not, you have to:
>
> source .bashrc
>
> Cheers,
> Nicolas
>
>
> Sudeep Narayan Banerjee a écrit :
> > Dear All,
> >
> > I tried to define the
> environment variables in .bashrc file, opened a new
> > shell & typed in echo $AMBERHOME...it gave me
> nothing. I even tried with
> > .bash_profile file but still same output, that's
> nothing, null. In the
> > Amber10.pdf file its written that "You should then add
> $AMBERHOME/exe to your
> > PATH." I am defining the line in the same file .bashrc
> and once again i tried
> > with .bash_profile like
> >
> > set AMBERHOME=/root/amber10
> > PATH=$PATH:$AMBERHOME/exe
> > export AMBERHOME=/root/amber10/
> >
> > After that whenever I am doing cd $AMBERHOME/src it
> says "bash: cd: /src: No
> > such file or directory". What to do in this case? I am
> doing from root.
> > Kindly help!
> >
> > Can I install it in CentOS?
> >
> >
> >
> >
> > Best Regards,
> > Sudeep Narayan Banerjee
> > Junior Computer Engineer
> > Email: sudeep.bose.res.in
> > S N Bose National Centre For Basic Sciences
> > Block JD, Sector III
> > Saltlake, Kolkata 700098
> >
> >
> > ---------- Original Message -----------
> > From: Chris Whittleston <csw34.cam.ac.uk>
> > To: AMBER Mailing List <amber.ambermd.org>
> > Sent: Wed, 7 Oct 2009 18:48:18 +0100
> > Subject: Re: [AMBER] Re: Fw: Help required in Amber10
> Installation
> >
> >
> >> David is right - you need to use a new shell
> because .bashrc is only
> >> read in
> >> (and the variables set) when you start a shell. If
> you want to re-
> >> read .bashrc manually, you can by typing:
> >>
> >> source .bashrc
> >>
> >> then try:
> >>
> >> echo $AMBERHOME
> >>
> >> Chris
> >>
> >> 2009/10/7 Bill Ross <ross.cgl.ucsf.edu>
> >>
> >>
> >>> In bash, if .bashrc doesn't work, you can try
> .profile
> >>>
> >>> export AMBERHOME=/some/dir/path
> >>>
> >>> Bill
> >>>
> >>>
> _______________________________________________
> >>> AMBER mailing list
> >>> AMBER.ambermd.org
> >>> http://lists.ambermd.org/mailman/listinfo/amber
> >>>
> >>>
> >> --
> >> Chris Whittleston
> >> Department of Chemistry
> >> University of Cambridge
> >> Lensfield Road, Cambridge, CB2 1EW
> >> Email: csw34.cam.ac.uk
> >> Tel: +44 (0)1223 336423
> >> _______________________________________________
> >> AMBER mailing list
> >> AMBER.ambermd.org
> >> http://lists.ambermd.org/mailman/listinfo/amber
> >>
> > ------- End of Original Message -------
> >
> >
> > _______________________________________________
> > AMBER mailing list
> > AMBER.ambermd.org
> > http://lists.ambermd.org/mailman/listinfo/amber
> >
> >
>
> -----Inline Attachment Follows-----
>
> _______________________________________________
> AMBER mailing list
> AMBER.ambermd.org
> http://lists.ambermd.org/mailman/listinfo/amber
>
Add whatever you love to the Yahoo! India homepage. Try now! http://in.yahoo.com/trynew
_______________________________________________
AMBER mailing list
AMBER.ambermd.org
http://lists.ambermd.org/mailman/listinfo/amber
Received on Thu Oct 15 2009 - 09:00:02 PDT