There is 2 ways to install the Firefox 4 beta version. But first, here are a few points to learn before entering the beta:
A. Prior to test the Firefox 4 beta
1. Firefox Sync
If you are using Firefox Sync (previously called Weave). It is integrated in the beta. So you do not need the add-on. What does it implies to early adopter? Some glitches that the user of the final release won't notice.
Mozilla needs to enhance the scalability of the Sync architecture, as this is going to be directly incorporated in the Firefox 4 release, the number of user is going to grow. So they change quite a few bit of the Sync architecture, that's why you probably saw an new update of the add-on if you're using it with the current stable release. Now this add-on is in version 1.5 (incompatible with add-on of earlier release, which means if you've updated this add-on on one of your Firefox, you have to do it on all the other).
As far as I know the current beta of Firefox (beta 6) is "compatible" with the Sync 1.4 protocol, so Sync will not work any longer with the beta if you have updated your add-on to the 1.5 release. However, as soon as beta 7 is out (should be days now), this will work.
On the other side, if you're still using the 1.4 version of the Sync add-on on your stable Firefox release, then it should work with the beta 6, and as soon as you upgrade to beta 7, it will migrate your Sync data to the new architecture. So if you want to still use Firefox 3.6 on other machine, you will have to upgrade the add-on.
If you are definitively using Firefox 4 on a machine, you can uninstall the Firefox Sync plug-in, as it is not needed anymore.
2. Warnings
This is still a beta, so things don't work always. They are still numerous slowdown, site that don't work (e.g. one.ubuntu.com is partly broken, I cannot upload file, or publish them from the web interface).
B. A generic way, that work on all Linux distribution
You can either go to Firefox Beta page and download the latest beta. But this will download the 32bit version of Firefox, which is buggy on a 64bit system. Or you could go to Firefox Repository page where you can find the link for the latest beta (currently 4.0b6) then choose linux-x86_64 for the 64bit version, then select your language or en_US for English. And there you can download the file ending in .bz2
Then you could create a directory where you're going to test this release of Firefox, unpack the downloaded package (I assume it is in your $HOME/Downloads folder) and launch it:
cd $HOME
mkdir Apps
cd Apps
tar jxf ~/Downloads/firefox-4.0b*.tar.bz2
To launch it, it's probably more interesting to create a "Launcher" (Gnome specific), an icon on your desktop to launch the beta. I guess there are similar steps for KDE. For this:
- Display your Desktop
- Right click and choose
Create launcher... from the popup menu
- Type
Firefox 4 beta for the name
- Next to
Command click on the "Browse" button, and browser through to the Apps -> firefox and select firefox
- Click on
OK and double-click the Launcher :-)
C. An Ubuntu specific way
You just have to add the Mozilla Firefox-Next PPA to your list of sources. There is a really good answered question about what is a PPA and how to add one, so I'm not going to repeat it here, just check the answers here: What are PPAs and how do I use them.
The PPA name to add (you will need it when you will follow the answers) is: ppa:mozillateam/firefox-next And Install Firefox 4 Beta as instructed in the same answered question.