I want to install the latest Firefox on my Ubuntu (64bit) box.

What is the best way to do this? Is there a specific update site or should I download the binaries manually? If doing manually, in which directory should I put the files? In my home directory, or is there a better place?

link|improve this question
feedback

8 Answers

up vote 103 down vote accepted
+100

The latest version of Firefox is available for as a security updates in all supported releases of Ubuntu, just doing a normal update will pull it in.

Usually it's available within a few hours of Mozilla's announcement, sometimes faster, depending on the archive builders, and the speed of your local mirror, etc.

link|improve this answer
17  
Yes, I maintain Firefox in Ubuntu, and this is the right way to get Firefox 4 for releases older than Natty (11.04) – Chris Coulson Mar 22 '11 at 17:36
feedback

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:

  1. Display your Desktop
  2. Right click and choose Create launcher... from the popup menu
  3. Type Firefox 4 beta for the name
  4. Next to Command click on the "Browse" button, and browser through to the Apps -> firefox and select firefox
  5. 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.

link|improve this answer
Thanks Jorge, I've corrected the article and made it a community wiki so other could contribute to it too. – Huygens Oct 12 '10 at 18:46
This answer is now completely out of date, it should probably just be removed. – Jorge Castro Jan 29 at 19:43
1  
Agreed, this answer applies to beta version, not to the latest stable version. – Huygens Feb 2 at 12:14
feedback

Read Firefox 4, 5 & Beyond Mega Thread or my tutorial:

link|improve this answer
4  
I don't think Ubuntuzilla will be getting Firefox 4; they've ceased operating. ubuntuforums.org/… – Aibara Iduas Mar 15 '11 at 1:16
Thanks for the info about Ubuntuzilla. I have updated the information. – lovinglinux Mar 21 '11 at 20:58
1  
-1: A link is not an answer. – Firefeather Mar 22 '11 at 20:06
2  
Firefather, I am just tired of updating the same info on multiple sites every time Mozilla or Ubuntu change something. If you read the link content you will see the information is good and updated. Take care. – lovinglinux Mar 25 '11 at 12:02
And what happens if the content of the link changes, or the link stops working altogether? Then your answer wouldn't be very helpful at all anymore. – Ryan Aug 17 '11 at 8:30
show 1 more comment
feedback

step 1 : Setup the Mozilla - Ubuntu daily PPA and update your package list using the following command:

sudo add-apt-repository ppa:ubuntu-mozilla-daily/ppa && sudo apt-get update

step 2: After the repository gets updated, you can install Firefox-4.0 on your Ubuntu system using the following command:

sudo apt-get install firefox-4.0
link|improve this answer
1  
This would be more helpful if you explain what those do; it's bad form to give a sudo command without explanation. – Shawn J. Goff Mar 14 '11 at 18:18
1  
ppa:mozillateam/firefox-next is more stable than the daily builds. – papukaija Mar 14 '11 at 20:53
feedback

If you want the Beta you can use this PPA:

sudo add-apt-repository ppa:mozillateam/firefox-next

Source - Firefox Next

If you want the Bleeding Bloody Edge Next 2.0 Experience (Firefox 11.x now) then use this PPA:

sudo add-apt-repository ppa:ubuntu-mozilla-daily/ppa

Sources - Firefox Daily Builds (WARNING - Very unstable and you get several updates a day)

link|improve this answer
Can I ask what is wrong with this answer. Because of the -1 so I can correct it. – Luis Alvarado Jan 29 at 23:48
feedback

Here is what I found works best:

Download it from mozilla.com and extract it (to wherever you want). It creates a folder called "firefox" and in that folder there is a file called "firefox". Drag this file onto your panel, and it asks you to give the new launcher a name (call it Firefox, but it doesn't matter), and you're done. To open Firefox just use the new launcher on the panel (the correct icon should be there automatically).

Be wary though that the firefox command still opens your old installation.

link|improve this answer
That install won't stay updated... Use repositories instead. – papukaija Mar 14 '11 at 20:54
This is essentially what I do, and it updates fine for me. If you have a multi-user system, this becomes problematic, but if you're installing it for yourself this works well. – belacqua Mar 14 '11 at 22:08
feedback

You can add the ppa:mozillateam/firefox-next PPA which holds the Release builds(alpha, beta, RC) of the current development version of Firefox which currently is rc1.

Firstly add the PPA ppa:mozillateam/firefox-next(How to Add a PPA) then install firefox-4.0 from the software center.

link|improve this answer
feedback

right now I suggest you not to install the firefox. Just download the tar file from

Download firefox 4

Untar this tar file in your home and double click the file run-mozilla.sh and you will have your firefox 4. If you want you can create a shortcut to the home folder for instant access.

link|improve this answer
2  
Always use repositories if it's possible. Otherwise you won't get security updates or new releases. – papukaija Mar 14 '11 at 20:52
1  
@papukaija Commenting on everyone's answer and telling them your way is better Is The Wrong Way To Do Things around here. Make your answer, let the community judge it. Fwiw, you have a good solution, you just need to post it as an answer instead of a bazillion comments. – djeikyb Mar 18 '11 at 0:22
2  
So you think it's a good idea to not let people to know that their suggestion is insecure? Really, the question isn't if my supported way (no, I haven't even suggested firefox-next ppa first) is better than others, but how to do things securely and efficiently. – papukaija Mar 22 '11 at 20:54
@papukaija -- Updates work correctly if you're installing in your own directory for a single user. That being said, it looks like the ppa is now up-to-date for 4.0, so I would encourage anyone to use that as the preferred method. – belacqua Mar 25 '11 at 23:27
This is the only way that works if you are using an older version of ubuntu (because the community has abandoned your particular video card for example...grrr..). Downvoters should realize that not everyone is on the lastest version of ubuntu. – srboisvert Apr 27 '11 at 18:48
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.