Update: Beta 3 is out-of-date; see Install Firefox 3 Beta 4 in Ubuntu with One Command.
Heard about the new Firefox 3 Beta 3 and want to try it out in Ubuntu? Here’s a one line command that will install it in Ubuntu (or another distro) alongside your existing Firefox.
The command does two things: it downloads Firefox to your home directory using wget, and extracts the Firefox folder there. Copy and paste the command (it’s one line) and run it in your terminal:
wget -P ~ ftp://ftp.mozilla.org/pub/firefox/releases/3.0b3/linux-i686/en-US/firefox-3.0b3.tar.bz2 && tar xjf ~/firefox-3.0b3.tar.bz2 -C ~
After Firefox 3 has finished downloading and extracting you can delete the firefox-3.0b3.tar.bz2 file in your home directory. If you have any problems using the command to install Firefox, leave a comment so I can help you out.
Before you run Firefox, you may want to back up your profile from Firefox 2. I haven’t had any problems sharing the profile besides a home button being added to my bookmarks toolbar. Just don’t let Firefox 3 update update your extensions when it starts to avoid incompatibilities. This command will back up the Firefox profiles folder to firefox_profile_backup in your home folder:
cp -r ~/.mozilla/firefox/ ~/firefox_profile_backup
Restore from the backup by replacing the firefox folder from the hidden .mozilla folder with the backup.
Ready to run Firefox 3? Close any Firefox 2 windows first. Double-click the firefox file inside the firefox folder in your home folder, or run this command: