Every Flavour Beans

“The time has come…to talk of many [technologies].” –Lewis Carroll(’The Walrus and the Carpenter’)
Development Tools. Web Frameworks. GNU/Linux. Nokia N800. Video Encoding.

October 17, 2006

How to Run Firefox 1.5 And Firefox 2.0 RC3 Side by Side

Filed under: GNU/Linux — tabrez @ 10:04 pm

Mozilla has recently announced Release Candidate 3(RC3) of the next version of Firefox - Firefox 2.0. Those who can’t wait for the final version to be released before having a peek at the new features(not too many actually) that will be part of Firefox 2.0 can grab the RC3 version and install it on their systems. For Windows users there is an all familiar wizard based installer file to install it, but remember that it will overwrite the existing Firefox installation, so make sure that you really want to move to a version that is not completely bug free yet(release candidates are fairly stable but of course not as stable as the final version) and you understand that you might have to live with a broken installation if luck is not on your side. In any case, backup the current profile before attempting to upgrade to RC3 so that you can go back to it by reinstalling the stable version if things do go wrong.

The same thing applies to the GNU/Linux users too: grab the tar ball of the RC3 version of Firefox 2.0 and install it on your system(again ). But if you want to minimize the risk of corrupting the current Firefox installation and still want to get a sneak peek into what the next version of Firefox is going to be like, you can just extract the Firefox 2.0 RC3 tar file into a separate folder in your home directory, create a new profile for it and run the new version of Firefox using this newly created profile; this way, you can continue to use the stable version of the Firefox with your older profile. Below is the procedure on how to do this.

NOTE: Remember that we are only trying to use separate profiles with the two versions of Firefox here, they might still share a lot of other files between themselves. That is why it is always a good idea to start with a complete backup of the existing installation. I usually backup the entire “.mozilla” directory present in the home directory like this:

sh# cp -R .mozilla firefox_backup

Download the latest Firefox 2 Release Candidate version and extract it in your home directory(link of the English version is used in the following example):

sh# wget http://www.mozilla.com/products/download.html?product=firefox-2.0rc3&os=linux&lang=en-US
sh# tar xvjf firefox-2.0rc3.tar.bz2

Now we need to load the new version of Firefox with a freshly created profile. Run the following command from the extracted directory:

sh# cd firefox
sh# ./firefox -ProfileManager

From the popped up dialog box, click “Create Profile” button and follow the wizard(enter a name like “firefoxrc3″ when prompted if you wish, or accept the default profile name).

Wizard to create a new profile for Firefox 2.0 RC3

Click Finish to dismiss the wizard box. You can now see the newly created profile being listed in the “Choose Profile” dialog box. Select it and click “Start Firefox” button to start the web browser.

Choose a different profile for Firefox 2.0 RC3

You can customise the environment to the heart’s content now, without worrying about corrupting the older profile. From the next time onwards, just run the command from the Firefox 2 RC3 directory and choose the profile that was created for it. When you want to run the older Firefox version, just remember to pick the default profile and you will get into the same old environment.

The process can be simplified by creating a new desktop/menu/panel item and entering the appropriate command(“$HOME/firefox/firefox -ProfileManager”) in its property box(right click and select properties).

Create a launcher shortcut for Firefox 2.0 RC3

If you don’t want to start with an empty profile for the new version of Firefox, then you need to search the Internet to find a way to make a copy of the existing profile(or have a look in $HOME/.mozilla/firefox folder for hints). You can then let the new Firefox version to use the copy of the default profile instead of creating a new profile for it.


If you want to receive future posts by email, enter your email address here:

Related Posts:

  • Screenshot of Digg.com in Firefox vs Safari on Windows
  • Direct Server to Server Copy using FXP
  • Five Desktop Blog Editors for GNU/Linux Users
  • Should I Be Developing Ajax Applications using Google Web Toolkit(GWT)?
  • Apache + PHP + MySQL on Gentoo
  • Maemo SDK VMWare Appliance 0.4 Released With Lot of Goodies
  • How Wordpress 2.6 ‘Post Revisions’ Retrieved My Unsaved Post Updates

  • Readers who viewed this page, also viewed:

    • Coming soon. (Gathering data)

    3 Comments »

    1. Now that I have a VServer set up on my Linux system, I could probably just run the new Firefox and any other bleeding edge stuff in a separate VServer and then there is very little probability of anything bad happening.

      Quote

      Comment by Marc — October 17, 2006 @ 11:51 pm

    2. That’s the blessing for those who run virtualization software. But I find QEmu and Microsoft VirtualPC to be very slow even after allocating around 1GB of RAM for them. I should give a try to Xen or VServer, which should have much better performance.

      Other easy way to just play with the new browser for some time is to download and burn a Live CD that comes with the software: Ubuntu Edgy Eft Beta version for example.

      Quote

      Comment by tabrez — October 18, 2006 @ 5:00 pm

    3. Please add firefox cookies/bad web sites immunization in next version!
      Firefox 2 cannot reject third party cookies!!!!!!!!

      Quote

      Comment by Larry — November 17, 2006 @ 11:27 pm

    RSS feed for comments on this post. TrackBack URI

    Leave a comment

    Subscribe without commenting


    Copyright (c) 2006, 2007 Tabrez Iqbal.
    Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation; with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts. Verbatim copying and distribution of this entire article is permitted in any medium without royalty provided this notice is preserved. A copy of the license is included in the section entitled "GNU Free Documentation License".


    Powered by WordPress
    This website is hosted by Dreamhost