Linux - SoftwareThis 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.
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.
So far I have used default installation of Firefox that came as a part of install CD. But now that FF3 is out, I would like to install it.
I downloaded the bz2 package, unzipped it, and can run new FF3 from the folder it was installed in. However, is there a proper way to install it in such a way that it replaces existing installation, is available to each user so that when I run a 'firefox' command from a terminal, it actually launches the new version?
So far I have used default installation of Firefox that came as a part of install CD. But now that FF3 is out, I would like to install it.
I downloaded the bz2 package, unzipped it, and can run new FF3 from the folder it was installed in. However, is there a proper way to install it in such a way that it replaces existing installation, is available to each user so that when I run a 'firefox' command from a terminal, it actually launches the new version?
I assume you're running Fedora 8 (as indicated by your profile). Since you installed Firefox 2 as a Fedora installable package, there is no easy way to replace it with the generic version of Firefox 3.
What I would do is copy the unzipped firefox directory under /opt (so that the full path looks like /opt/firefox) and, as root, create a symbolic link to /opt/firefox/firefox in /usr/bin as follows.
Code:
ln -s /opt/firefox/firefox /usr/bin/firefox-3
Once you do that, then all users will have access to the firefox 3 binaries and be able to run it by typing "firefox-3" from the terminal.
So far I have used default installation of Firefox that came as a part of install CD. But now that FF3 is out, I would like to install it.
I downloaded the bz2 package, unzipped it, and can run new FF3 from the folder it was installed in. However, is there a proper way to install it in such a way that it replaces existing installation, is available to each user so that when I run a 'firefox' command from a terminal, it actually launches the new version?
Sorry, i haven't been able to get it to run at all under SuSE 9.2. i've tried to install it to /opt, as i did Firefox 2.0.0.x, but no luck so far.
When it does run (from terminal) it shows up as Firefox 1.5.0.7, which was the default version that came with this distribution. The only discernable difference is that this version is a .bz2 file, while 2.x was a simple tar.gz.
i have no idea why this particular version is being so difficult.
Diahard: Yes it worked. Thanks for your reply. I'll now need to figure out how to create a shortcut on the panel as well as the menu.
Billgatus of Borg: I used this command to unzip "tar --use-compress-program bzip2 -xvf firefox-3.0.tar.bz2". This will create a firefox directory in whatever directory you are. You can navigate to that directory and run 'firefox'. Use 'firefox &' instead.
Diahard: Yes it worked. Thanks for your reply. I'll now need to figure out how to create a shortcut on the panel as well as the menu.
Billgatus of Borg: I used this command to unzip "tar --use-compress-program bzip2 -xvf firefox-3.0.tar.bz2". This will create a firefox directory in whatever directory you are. You can navigate to that directory and run 'firefox'. Use 'firefox &' instead.
Glad you got it to work.
As for the tar command, you can save your keystrokes by using this instead.
Billgatus of Borg: I used this command to unzip "tar --use-compress-program bzip2 -xvf firefox-3.0.tar.bz2". This will create a firefox directory in whatever directory you are. You can navigate to that directory and run 'firefox'. Use 'firefox &' instead.
Thank you for the input to this matter. i finally managed to find the proper Firefox references on their page (they were unavailable for a while). It appears that Firefox is rather picky about how one sets up the link in BASH. One simply cannot navigate to the ~/firefox directory on a local install, and type firefox. What must happen is that the entire path should be typed in from the shell. It isn't a problem to alter the desktop link.
If the path is not followed correctly, the default version of Firefox (which came with the distribution) will open instead of the newly-installed version.
Now i will have to determine if i have the correct libraries for this version to work. This is a rather old version of SuSE, and i will not be upgrading until i see some reviews on Open SUSE 11.0, which is released tomorrow.
That firefox 3 doesn't install itself system-wide is a serious annoyance to me. I downloaded it promptly because the many memory leaks in FF2 have been causing me grief forever.
I installed it manually. Here is how I did it (note: your details may vary).
I copied the entire new firefox directory to the location /usr/local/firefox3 where it sits alongside /usr/local/firefox (which is firefox2).
I also had to copy the entire new firefox directory to the location /usr/lib/firefox-3.0. This results in the entire installation being present twice in the system, but it is needed because of the way FF handles its library lookups. I am sure this can be tailored, but I am equally sure it would be a PITA so I didn't bother.
Then went into /usr/local/firefox3/plugins and symlinked all my plugins, just as they are in /usr/local/firefox/plugins.
Then, into /usr/bin where I renamed the firefox executable as firefox2. I then created a new symlink (note that I had to symlink it; copying the executable into /usr/bin didn't work - again some path issues):
ln -s /usr/local/firefox3/firefox firefox.
I also created the same symlink in /usr/local/bin though I probably didn't need to.
One simply cannot navigate to the ~/firefox directory on a local install, and type firefox.
If you wish to run the firefox in your present working directory, you need to type ./firefox without the ./ the system will check your PATH for the binary, which causes the system to launch the old version which is probably located in /usr/bin.
I expect all the distributions are currently working on packaging this to be easily installed system wide for each distro.. I wouldn't be surprised if this even became available for Debian Stable as a Security Update...(3.0rc2 is currently available in Debian unstable) In the mean time I installed it manually and threw a custom launcher up top in the panel.
I copied the entire new firefox directory to the location /usr/local/firefox3 where it sits alongside /usr/local/firefox (which is firefox2).
I also had to copy the entire new firefox directory to the location /usr/lib/firefox-3.0. This results in the entire installation being present twice in the system, but it is needed because of the way FF handles its library lookups. I am sure this can be tailored, but I am equally sure it would be a PITA so I didn't bother.
Then went into /usr/local/firefox3/plugins and symlinked all my plugins, just as they are in /usr/local/firefox/plugins.
As far as I can see, copying your firefox directory into /usr/lib/firefox-* is not necessary. I only have /opt/firefox3 and have /opt/firefox3/firefox symlinked to /usr/bin/firefox, and it works just fine.
Likewise, you can specify your own Firefox plugins directory by using the
MOZ_PLUGIN_PATH environment variable.
I expect all the distributions are currently working on packaging this to be easily installed system wide for each distro.. I wouldn't be surprised if this even became available for Debian Stable as a Security Update...(3.0rc2 is currently available in Debian unstable) In the mean time I installed it manually and threw a custom launcher up top in the panel.
FYI, Firefox 3.0 GA (final) is the same build as RC2.
As far as I can see, copying your firefox directory into /usr/lib/firefox-* is not necessary. I only have /opt/firefox3 and have /opt/firefox3/firefox symlinked to /usr/bin/firefox, and it works just fine.
Likewise, you can specify your own Firefox plugins directory by using the
MOZ_PLUGIN_PATH environment variable.
On my system, firefox did not work until I copied the installation into /usr/lib/firefox-3.0.
I have not troubled myself to figure out which libraries are loaded from which location, but definitely some of them are not found - on my system - unless they are located there.
If you wish to run the firefox in your present working directory, you need to type ./firefox without the ./ the system will check your PATH for the binary, which causes the system to launch the old version which is probably located in /usr/bin.
I expect all the distributions are currently working on packaging this to be easily installed system wide for each distro.. I wouldn't be surprised if this even became available for Debian Stable as a Security Update...(3.0rc2 is currently available in Debian unstable) In the mean time I installed it manually and threw a custom launcher up top in the panel.
"./" wouldn't do it for me with fc6. i did a fully qualifed (/usr/src/firefox firefox) and then cd'ed to /usr/src/firefox and did "./firefox". still shows 1.5. sure don't like the way fedora insulates me from application. can't really figure out the firefox 1.5 file structure.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.