LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 09-02-2003, 03:06 PM   #1
davis2199
LQ Newbie
 
Registered: Sep 2003
Posts: 5

Rep: Reputation: 0
Mozilla Firebird


I just downloaded and unzipped the MozillaFirebird executable. I placed the mozillaFirebird directory containing the executable in

/usr/local/

How do I change my path to recognize the localtion of the executable, which is /usr/local/MozillaFirebird/MozillaFirebird.exe ???

I'm running SUSE Pro 8.2

Any help woudl be greatly appreciated.

Also, I was wondering if there was a way to set your path so that you dont' have to type ./ infront of every file you want to execute.

Thnks
 
Old 09-02-2003, 03:13 PM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984
bet you $10,000 it's not MozillaFirebird.exe.... this ain't windows....

normally you would just create a symlink from the MozillaFirebird directory to a suitable location already on your path... e.g.

ln -s /usr/local/MozillaFirebird/MozillaFirebird /usr/local/bin/firebird

but you can always edit a local file like /home/you/.bashrc (i.e for your user only) to add something like..

export $PATH=$PATH:/usr/local/MozillaFirebird
 
Old 09-02-2003, 03:15 PM   #3
mcd
Member
 
Registered: Aug 2003
Location: Denver, CO
Distribution: CentOS, Debian
Posts: 825

Rep: Reputation: 33
this may not be the best way to do it, but you could create a symbolic link in the /sbin (which is a default path)

ln -s /usr/local/MozilliaFirebird/mozillafirebird firebird

then when you type firebird from the console it will execute.
 
Old 09-02-2003, 03:18 PM   #4
davis2199
LQ Newbie
 
Registered: Sep 2003
Posts: 5

Original Poster
Rep: Reputation: 0
acid_kewpie thanks for correcting me....I've used linux on and off for a little bit, but now I've decided to use it as my primary OS. It's hard to break old habits
 
Old 09-02-2003, 03:25 PM   #5
lyceum
Member
 
Registered: Aug 2003
Location: N.C.
Distribution: rh9, fc1, slack 9.1, 10
Posts: 229

Rep: Reputation: 30
acid's advice is absolutely correct on this one...

i will add that if you REALLY want to be able to execute files all over and run into problems with path, you COULD append your path to include your current working directory such as

PATH=$PATH:.

then, as long as the file is in your current working directory, whatever that may be, you can execute the file.

**note: i have heard that this is not a very sound decision from a strict security standpoint, but it's your decision, a lot of people do it.
 
Old 09-02-2003, 03:27 PM   #6
davis2199
LQ Newbie
 
Registered: Sep 2003
Posts: 5

Original Poster
Rep: Reputation: 0
I went into my .bashrc file and added the following line:

export $PATH=$PATH:/usr/local/MozillaFirebird

Now when a new shell opens, I'm getting the following error:

bash: export: `/usr/local/bin:/usr/bin:/usr/X11R6/bin:/bin:/usr/games:/opt/gnome2/bin:/opt/gnome/bin:/opt/kde3/bin:/usr/lib/java/jre/bin:/opt/gnome/bin=/usr/local/bin:/usr/bin:/usr/X11R6/bin:/bin:/usr/games:/opt/gnome2/bin:/opt/gnome/bin:/opt/kde3/bin:/usr/lib/java/jre/bin:/opt/gnome/bin:/usr/local/MozillaFirebird': not a valid identifier

Any thoughts on what I'm doing wrong..sorry about these petty questions.

B
 
Old 09-02-2003, 08:46 PM   #7
nuzzy
Member
 
Registered: Aug 2001
Location: New Hampshire, USA
Distribution: Ubuntu 6.06 LTS
Posts: 204

Rep: Reputation: 31
try:

export PATH=$PATH:/usr/local/MozillaFirebird

no $ in front of the first PATH
 
  


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
Segfaults in Mozilla, Mozilla Firebird, and Mozilla Thunderbird Ninja Cow Linux - Software 2 02-02-2004 02:33 AM
Java for Mozilla and Mozilla-firebird Problem, Please help londonboi Linux - General 5 01-08-2004 06:07 AM
Java in Mozilla Firebird and Mozilla saurya_s Linux - Software 1 12-08-2003 02:12 PM
howto get firebird to open link in mozilla mail instead of mozilla? breadbin Linux - Software 1 09-13-2003 05:46 PM
mozilla/mozilla firebird flash eltongeoff Linux - Newbie 1 07-18-2003 05:00 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 08:33 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
Open Source Consulting | Domain Registration