Saturday, March 13, 2010

Installing Firefox 3.6 into Ubuntu 9.10 (Karmic)

If you are like me and constantly want the latest version of everything in your Ubuntu installation, you will most probably want to install Firefox 3.6 into your Ubuntu installation. You first have the add in the Mozilla Team's firefox-stable repository by typing the following in a terminal shell:

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

Once you have that entry in your source.list file, you will need to update the available installers with the command:

sudo apt-get update

Now you can simply get firefox 3.6 installed with the command:

sudo apt-get install firefox-3.6

Warning, this will remove your current installation of Firefox.

:::::::::::: For older Ubuntu users :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::

If you are a Jaunty, Intrepid or Hardy user, you will need to edit the source.list file by typing the following into the terminal shell:

gksudo gedit /etc/apt/sources.list

You then need to add in the following two lines at the end of the file:

deb http://ppa.launchpad.net/mozillateam/firefox-stable/ubuntu BUILDNAME main
deb-src http://ppa.launchpad.net/mozillateam/firefox-stable/ubuntu BUILDNAME
main

Remember to replace the name
BUILDNAME, with jaunty, intrepid or hardy (depending on which version of Ubuntu you have installed).

You will then need to import the correct public key so that Ubuntu will trust the repository. To do that, please read my earlier post on Getting the public key of a Ubuntu repository.

Again, once you have done the above, you will need to issue the command for Ubuntu to update and install the repository data and install Firefox 3.6:

sudo apt-get update

sudo apt-get install firefox-3.6


You now have Firefox 3.6 installed. :)