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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
09-02-2003, 02:06 PM
|
#1
|
LQ Newbie
Registered: Sep 2003
Posts: 5
Rep:
|
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
|
|
|
09-02-2003, 02:13 PM
|
#2
|
Moderator
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417
|
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
|
|
|
09-02-2003, 02:15 PM
|
#3
|
Member
Registered: Aug 2003
Location: Denver, CO
Distribution: CentOS, Debian
Posts: 825
Rep:
|
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.
|
|
|
09-02-2003, 02:18 PM
|
#4
|
LQ Newbie
Registered: Sep 2003
Posts: 5
Original Poster
Rep:
|
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 
|
|
|
09-02-2003, 02:25 PM
|
#5
|
Member
Registered: Aug 2003
Location: N.C.
Distribution: rh9, fc1, slack 9.1, 10
Posts: 229
Rep:
|
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.
|
|
|
09-02-2003, 02:27 PM
|
#6
|
LQ Newbie
Registered: Sep 2003
Posts: 5
Original Poster
Rep:
|
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
|
|
|
09-02-2003, 07:46 PM
|
#7
|
Member
Registered: Aug 2001
Location: New Hampshire, USA
Distribution: Ubuntu 6.06 LTS
Posts: 204
Rep:
|
try:
export PATH=$PATH:/usr/local/MozillaFirebird
no $ in front of the first PATH
|
|
|
All times are GMT -5. The time now is 07:41 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|