LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices



Reply
 
Search this Thread
Old 11-06-2008, 07:28 PM   #1
dreamcatcheromerta
LQ Newbie
 
Registered: Sep 2008
Posts: 3

Rep: Reputation: 0
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
 
Old 11-06-2008, 07:37 PM   #2
jailbait
Guru
 
Registered: Feb 2003
Location: Blue Ridge Mountain
Distribution: Debian Wheezy, Debian Jessie
Posts: 7,590

Rep: Reputation: 188Reputation: 188
Run it as azureus without the ./

------------------
Steve Stites
 
Old 11-06-2008, 07:47 PM   #3
dreamcatcheromerta
LQ Newbie
 
Registered: Sep 2008
Posts: 3

Original Poster
Rep: Reputation: 0
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
 
Old 11-06-2008, 07:50 PM   #4
jay73
Guru
 
Registered: Nov 2006
Location: Belgium
Distribution: Ubuntu 11.04, Debian testing
Posts: 5,019

Rep: Reputation: 130Reputation: 130
./ means "in the current directory". Unless your terminal is pointing at /usr/local, that obviously means that azureus will not be found.
 
Old 11-06-2008, 08:31 PM   #5
dreamcatcheromerta
LQ Newbie
 
Registered: Sep 2008
Posts: 3

Original Poster
Rep: Reputation: 0
Thanks understood the difference.

Aditya
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
making shell "export" variable permanent forever: user/system lambchops468 Linux - Software 4 10-13-2009 06:37 AM
How to create new permanent environment variable in Red hat Linux? halturata Linux - Newbie 2 04-10-2006 11:38 AM
PATH variable suavecu Linux - Software 11 01-28-2006 01:44 AM
Azureus installation directory MUST be in $PATH ?? karhu Linux - Newbie 3 07-12-2005 04:43 AM
PATH variable jk21 Linux - Newbie 1 09-28-2004 03:48 PM


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

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration