Install Firefox 4 In Ubuntu 10.04 / 10.10 Via PPA Repository

Written by Andrew @http://www.webupd8.org

Firefox 4.0

Firefox 4 (stable) will be released soon and I though I’d let you know how to install it in Ubuntu 10.04 and 10.10 – the proper way.

No, using Ubuntuzilla or the Mozilla Daily PPA (well, this PPA is relatively ok but you’ll never get stable builds so you might start receiving Firefox 4.1 alpha updates – or whatever the next Firefox version will be called -, as soon as Firefox 4 is released) is not the proper way to install Firefox 4. Why?

Ubuntuzilla: the Ubuntu devs had to push some fixes to the official Firefox builds just so they don’t get so many bug reports that come from those using Ubuntuzilla. Check out this changelog (via Guiodic).
Ubuntu Mozilla Daily PPA: sure, if you like bleeding edge software, this PPA is ok but this PPA will never provide stable builds so one day, Firefox might stop working or corrupt your profile. Further more, this PPA will also upgrade Thunderbird to the latest daily builds. So if you want Firefox stable, go with the solutions below!

How to install Firefox 4 in Ubuntu

1. Firefox Stable PPA provides the latest Firefox stable builds for Ubuntu 9.10 Karmic Koala, 10.04 Lucid Lynx and 10.10 Maverick Meerkat.

There is a Firefox stable PPA repository that will provide the latest Firefox 4.0 stable. For now the PPA doesn’t have any Firefox 4 builds but will get them once Firefox 4 is out.

Add the PPA using the commands below:

sudo add-apt-repository ppa:mozillateam/firefox-stable
sudo apt-get update
Then if you have Firefox installed, you should get an update for the latest Firefox 4 when it will be released (the package name shouldn’t be named “firefox-4.0” like it is now in the Mozilla Daily PPA but simply “firefox”).

2. Firefox Next PPA: provides Firefox alpha / beta / RC builds for Ubuntu 9.10 Karmic Koala, 10.04 Lucid Lynx and 10.10 Maverick Meerkat.

This PPA repository is not stable, but it’s better then the Mozilla Daily builds PPA because it provides the latest official alpha / beta / RC releases and not daily builds. For example, at the time I’m writing this post, this PPA provides the latest Firefox 4 RC1. So using this PPA, you can already install Firefox 4 release candidate 1 which the Firefox developers say it will most probably be identical to the latest Firefox 4.0 final.

But be aware, this PPA will provide alpha/beta releases in the future!

Add the PPA and install Firefox 4 RC 1 using the following commands:

sudo add-apt-repository ppa:mozillateam/firefox-next
sudo apt-get update
sudo apt-get install firefox-4.0
It’s best to remove this PPA once the Firefox 4 will be released and will be available in the Firefox stable PPA and use this last PPA from then on.

Use an icon for the Firefox 4 menu

And a tip for those who will install Firefox 4 RC 1 from the Firefox-Next PPA: the Firefox 4 menu is a bit too wide as you can see in the image below:

Firefox 4 menu

Here’s how it will look after this tweak:

Firefox 4 menu icon

To get an icon only for the menu, either install Stylish and use the following code as an user script:

#appmenu-toolbar-button {
list-style-image: url("chrome://branding/content/icon16.png");
}
#appmenu-toolbar-button > .toolbarbutton-text,
#appmenu-toolbar-button > .toolbarbutton-menu-dropmarker {
display: none !important;
}
Or edit ~/.mozilla/firefox-4.0/YOURPROFILE.default/chrome/userChrome.css and paste the above code and save the file (where “YOURPROFILE” are some random letters/numbers).

http://www.webupd8.org/2011/03/install-firefox-4-in-ubuntu-1004-1010.html

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s