How to add application to PATH?

Hi. I wonder how can I add an application or it’s path to path environment variable. My case is the following: I installed Kompozer v 0.7.10 from yast, and after a few minutes of usage I noticed it crashes randomly for no known reason. So I got the 0.8 version of binaries (no need to compile them, just execute) and it works ok. The only problem is that I have to enter the whole absolute path to application if I want to run it, so I thought of adding it to PATH variable, but don’t know how to properly do that. Any suggestion much appreciated.

Hi,

I guess the simplest way is to make a symlink in ~/bin, e.g.

ln -s [path to application] ~/bin

Hope this helps

PATH=${PATH}:<path-to=the-application>

It adds the path-to-your-application to the end of what is allready in the PATH environment variable.

Best to put this in you .profile.

Thanks for your help guys