LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
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 12-01-2005, 09:05 PM   #1
pdeman2
Member
 
Registered: Jul 2005
Location: Maine, USA
Distribution: OpenSUSE, Gentoo, Fedora, Ubuntu, Mandriva, others
Posts: 413

Rep: Reputation: 30
Trouble installing Firefox 1.5


I just downloaded and installed the stable version of Firefox 1.5. Using a launcher won't start Firefox, so when I used the terminal to start it, it said:
Code:
linux:/home/---- # firefox
Cannot find mozilla runtime directory. Exiting.
 
Old 12-01-2005, 10:43 PM   #2
mjrich
Senior Member
 
Registered: Dec 2001
Location: New Zealand
Distribution: Debian
Posts: 1,046

Rep: Reputation: 45
Sounds like you may have a stale link somewhere.

- Make sure that you're attempting to run the same version of Firefox that you just installed. Cd the the correct (just installed) directory, then run
Code:
./firefox
 
Old 12-02-2005, 03:34 PM   #3
pdeman2
Member
 
Registered: Jul 2005
Location: Maine, USA
Distribution: OpenSUSE, Gentoo, Fedora, Ubuntu, Mandriva, others
Posts: 413

Original Poster
Rep: Reputation: 30
Thanks, that file set every thing up. I can run firefox fine now.

Last edited by pdeman2; 12-02-2005 at 06:10 PM.
 
Old 12-07-2005, 02:11 PM   #4
jtlaw
LQ Newbie
 
Registered: Jul 2005
Posts: 1

Rep: Reputation: 0
I have a similar issue.

I have Firefox 1.0.7 installed in /usr/lib/firefox-1.0.7, and I just grabbed 1.5 today -- gunzipped/untarred it to /usr/lib/firefox.

When I type "firefox" on the command line, it starts up 1.0.7... but I want it to fire up 1.5 instead (and also want Firefox 1.5 to look at my ~/.mozilla/.../bookmarks). If I cd to /usr/lib/firefox/ and run ./firefox, the new version fires up just fine.

I've used Linux on and off for years, but never quite understood how the system "decides" to use one version or another when something like plain old "firefox" is typed at the command line (or through a launcher on a GNOME toolbar). Could someone clear this up for me?

Last edited by jtlaw; 12-07-2005 at 02:12 PM.
 
Old 12-07-2005, 02:27 PM   #5
mjrich
Senior Member
 
Registered: Dec 2001
Location: New Zealand
Distribution: Debian
Posts: 1,046

Rep: Reputation: 45
Quote:
Originally Posted by jtlaw
...never quite understood how the system "decides" to use one version or another when something like plain old "firefox" is typed at the command line...
It depends mostly on the order that locations of binaries are listed in your 'path'. To find out what your shell currently searches through, type (assuming a Bash-type shell) echo $PATH into a terminal. You will get something back along the lines of "/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin:/usr/games" -- indicating that binaries (etc.) will be searched for first in /usr/local/bin, followed by /usr/bin, followed by /bin, and so on. If you type whereis firefox into a shell, you should be able to place this into the above search path.

Unless you truly need both versions of firefox, the easiest thing to do would be to remove the old installation -- though it is also possible (likely ?) that there is a link in /usr/local/bin/firefox pointing to the old version, which you may want to delete or re-point to the new version.

Hope this helps,

Michael.
 
  


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
firefox trouble!!!! jaspreet85 Linux - Software 4 03-14-2005 02:20 PM
Im having trouble installing Firefox katanajf Linux - Software 2 01-30-2005 06:06 PM
Trouble installing Firefox drewsa Linux - Newbie 6 01-16-2005 03:00 AM
Trouble Installing Firefox 0.9.3 in Fedora Core 2 n00b2linux Linux - Software 4 08-29-2004 06:11 AM
trouble with firefox sbcdivision63 Linux - Software 4 03-10-2004 05:04 PM


All times are GMT -5. The time now is 11:39 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