Add the xyz directory to your path (what path?)
I'm trying to install apache-ant at the moment and among the installation instructions is
"Add the bin directory to your path." This isn't the first time I've come across this mysterious "path". What are they talking about? should I just updatedb? do I have to put it in my fstab? what is required of me here? |
They are talking about what directories the system will look through for your executable program.
The trick here is to find out what your 'path' is. The command is 'echo $PATH' enter the command without quotes in a terminal. Here is what my system returns. Quote:
Hope this helps. |
As camorri said, the "path" is your PATH environment variable.
To add a directory to the path, stick the following in your startup script (depends on shell, for BASH it's usually ~/.bashrc): Code:
export PATH=${PATH}:/path/to/new/directory |
thanks that solves it.
|
All times are GMT -5. The time now is 05:57 PM. |