this may be more appropriate in the n00b forum but I'm using suse 9.1 pro and I think this is one of those things that each distro may do differently... at least where (which file) its done in.
I need to edit my path. I installed a progam to /usr/local/programs/theprogramname and its executable went into /usr/local/programs/theprogramname/bin
according to what I found in order to effect my interactive login shell I should be editing .profile from my home directory which I did. However the path I appended to PATH shows up twice when I view by issuing echo $PATH command? This is what I added to the very end of the .profile file:
PATH=$PATH:/usr/local/programs/theprogramname/bin
export PATH
so after loging in again my path is as it was plus /usr/local/programs/theprogramname/bin:/usr/local/programs/theprogramname/bin
anyone know whats wrong?
just a note: in case anyone is wondering why I didn't just install program to default /usr/local its because I wasn't sure where to install programs to and the first 'how to' style artical I read on installing from source used the /usr/local/programs style... so I was just trying to be cool
and use the --prefix option. I don't think I will continue to do that.