modifying my shell

Hello,

I have installed a new program called chimera under the directory /usr/local/bin/chimera.
the executable is under the directory /usr/local/bin/chimera/bin/chimera.e
If i put myself under the latest directiry and I type ./chimera, the program works.

I would like to avoid this and I would like to type chimera to launch the program wherever I am. I can not figure out how to modify my bash shell (either .bash_profile or may be the /etc equivalent) to be able to do this ?

Can someone help me ?

Thank you in advance

Nicolas

Try edit .bashrc and put in

export PATH=$PATH:/path/to/dir/containing/the/program

Logout and log back in, and see if it works.