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, 06: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, 06:37 PM   #2
jailbait
LQ Guru
 
Registered: Feb 2003
Location: Virginia, USA
Distribution: Debian 12
Posts: 8,333

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

------------------
Steve Stites
 
Old 11-06-2008, 06: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, 06:50 PM   #4
jay73
LQ Guru
 
Registered: Nov 2006
Location: Belgium
Distribution: Ubuntu 11.04, Debian testing
Posts: 5,019

Rep: Reputation: 133Reputation: 133
./ 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, 07: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 05:37 AM
How to create new permanent environment variable in Red hat Linux? halturata Linux - Newbie 2 04-10-2006 10:38 AM
PATH variable suavecu Linux - Software 11 01-28-2006 12:44 AM
Azureus installation directory MUST be in $PATH ?? karhu Linux - Newbie 3 07-12-2005 03:43 AM
PATH variable jk21 Linux - Newbie 1 09-28-2004 02:48 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:05 AM.

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
Open Source Consulting | Domain Registration