Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

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?

share|improve this question

8 Answers 8

up vote 117 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.

See also:

share|improve this answer
    
(to do this with the command line, it's sudo apt-get upgrade) –  Andrew MacFie Jan 3 at 21:57

Right now, I suggest you not to install Firefox. Just download the tar file from Download Firefox 4.

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

share|improve this answer
3  
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
3  
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
1  
@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. –  belacq Mar 25 '11 at 23:27
1  
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

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
share|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

A generic way to install Firefox

You can either go to Firefox page and download the latest.

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:

share|improve this answer

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)

share|improve this answer
1  
Can I ask what is wrong with this answer. Because of the -1 so I can correct it. –  Luis Alvarado Jan 29 '12 at 23:48
    
you have the steps necessary to get the beta and daily builds, but not the stable. –  Enkouyami Mar 18 at 5:13

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

share|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

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.

share|improve this answer

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.

share|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. –  belacq Mar 14 '11 at 22:08

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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