Results 1 to 4 of 4

Thread: How to add application to PATH?

  1. #1
    Join Date
    Sep 2008
    Location
    Slovenia
    Posts
    335

    Default 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.

  2. #2
    Join Date
    Jun 2008
    Location
    Germany
    Posts
    301

    Default Re: How to add application to PATH?

    Hi,

    I guess the simplest way is to make a symlink in ~/bin, e.g.
    Code:
    ln -s [path to application] ~/bin
    Hope this helps

  3. #3
    Join Date
    Jun 2008
    Location
    Netherlands
    Posts
    25,011

    Default Re: How to add application to PATH?

    Code:
    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.
    Henk van Velden

  4. #4
    Join Date
    Sep 2008
    Location
    Slovenia
    Posts
    335

    Default Re: How to add application to PATH?

    Thanks for your help guys

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •