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 |
Run it as azureus without the ./
------------------ Steve Stites |
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 |
./ means "in the current directory". Unless your terminal is pointing at /usr/local, that obviously means that azureus will not be found.
|
Thanks understood the difference.
Aditya |
All times are GMT -5. The time now is 09:08 PM. |