LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Permanent PATH variable with azureus (https://www.linuxquestions.org/questions/linux-newbie-8/permanent-path-variable-with-azureus-681647/)

dreamcatcheromerta 11-06-2008 06:28 PM

Permanent PATH variable with azureus
 
Hello folks,

I have downloaded azureus(torrent client) and untared it in /usr/local
the directory formed is vuze.So the executable is in /usr/local/vuze.
Whenever i have to run it i have to go to /usr/local/vuze and do ./azureus.I want to run it from the shell as ./azureus.Whenever i do PATH=$PATH:/usr/local/vuze and ./azureus , i am able to run it but i want to add it permanently to the PATH .So i opened $HOME/.bashrc and added

export PATH="$PATH:/usr/local/vuze" to it , after that i closed the shell and reopend it , now when i do echo $PATH i get /usr/local/vuze in the PATH but i am still not able to run it like ./azureus.


Any help is appreciated.

Aditya

jailbait 11-06-2008 06:37 PM

Run it as azureus without the ./

------------------
Steve Stites

dreamcatcheromerta 11-06-2008 06:47 PM

Thanks i got it working , can you please explain the logic behind it , i am new to linux and i have a question why ./filename is used to run the executables.


Aditya

jay73 11-06-2008 06:50 PM

./ means "in the current directory". Unless your terminal is pointing at /usr/local, that obviously means that azureus will not be found.

dreamcatcheromerta 11-06-2008 07:31 PM

Thanks understood the difference.

Aditya


All times are GMT -5. The time now is 09:08 PM.