The Ubuntuzilla project provides a repository with the latest official versions of Firefox, SeaMonkey, and Thunderbird. The supplied packages contain unmodified official Mozilla release binaries. Using the Ubuntuzilla repository is quite simple and you only need to execute a few commands to get it up and running.

The first step is to add the repository to the list of package sources. The list of sources to be used by apt-get and the other package management tools is found in /etc/apt/sources.list. To add the Ubuntuzilla repository, without needing to edit the sources.list file use:

To check that the command executed successfully look at the end of the /etc/apt/sources.list file using the tail command: The last line should be: Next you need to add the repository’s digital signature. This comes in the form of a cryptographic key and enables apt-get to validate the packages to check that they are genuine. Execute the following command: Now that the new repository has been added, the package list needs to be re-synchronized to include the packages available from Ubuntuzilla. To do this tell the apt package manager to update:

Installing Firefox, SeaMonkey, or Thunderbird

With the repository added, installing the Mozilla program is very easy. To install the latest version of Firefox use: To install the latest release of Thunderbird use: To get the most recent version of Seamonkey enter: Once a package is installed, it will supersede any version installed previously installed including the versions that come from your distro’s main repositories. However this can mean that you have two versions of Firefox installed, one called Firefox (or possibly Firefox Web Browser) and one called Mozilla Build of Firefox.

You can either choose to ignore the duplicate or remove the distro supplied version, most likely with a command like sudo apt-get remove firefox (or thunderbird etc). If you do keep both versions installed and the update manager informs you that the distro version has an update available then you can safely carry out the upgrade as the default version will remain the Ubuntuzilla build and that is always going to be the latest official Mozilla build.

Technical details

The way the package installer works is to copy the actual binaries in /opt/firefox (or /opt/thunderbird etc.) and then a link is placed in /usr/bin. The original link in /usr/bin is renamed as /usr/bin/firefox.ubuntu (or /usr/bin/thunderbird.ubuntu etc.). To remove the Ubuntuzilla versions use the same apt-get commands except replace install with remove, e.g. and so on.

Conclusion

Since most of the major Debian derived distributions often can’t upgrade the supplied versions of Firefox, Thunderbird and Seamonkey (due to the large number of libraries and dependencies that would also need to be upgraded), the Ubuntuzilla repository provides a safe way to upgrade to Mozilla’s latest builds. If you do run into any troubles then the Ubuntuzilla project has a fairly active support forum.