Firefox 3.5.4 has been released by Mozilla and is available for download. This short tutorial will explain how you can update to Firefox 3.5.4 from Firefox 3.5.3 or any other older version in Ubuntu (Linux). All you need to do is to paste one command in your Ubuntu's terminal and it will do the rest of the job for you.
Tidbit : Click here to learn how to upgrade to Firefox 3.5.5 in Ubuntu-Linux
How To Upgrade Your Firefox To Version 3.5.4
Download Mozilla Firefox 3.5.4 for Ubuntu.
After downloading firefox-3.5.4.tar.bz2 to your Ubuntu's desktop, right-click on it and choose CUT.
Go to your Home directory as shown in the screenshot below.
Paste firefox-3.5.4.tar.bz2 in your Home directory.
Now open any Firefox window and navigate to Help->About Mozilla Firefox to check the current version of Mozilla Firefox you have installed.
CASE I : You Have Previously Updated Mozilla Firefox
If you have already updated Mozilla Firefox in past to any version like 3.5.x then use the following command at terminal. The command below will revert back your Mozilla Firefox to default Ubuntu's version of Firefox which is mandatory for command in step II.
sudo rm /usr/bin/firefox && sudo dpkg-divert --rename --remove /usr/bin/firefox && sudo rm -r /opt/firefox
Now use the command in step II to install Firefox 3.5.4
CASE II : You Never Updated Firefox In Past
If you have never ever updated Firefox since installation of Ubuntu on your system, then you must have Ubuntu's default version of Firefox which is 3.0.8 for Ubuntu 9.04. Use the following command to install Firefox. There is no need for you to use the command in Step I. All those who have never updated their Firefox in past can use the command below directly otherwise first use the command in step I and then in Step II.
if [[ ! -f /usr/bin/firefox ]]; then sudo apt-get update && sudo apt-get install firefox; fi && if [[ -e ~/.mozilla ]]; then cp -R ~/.mozilla ~/.mozilla.backup; fi && sudo tar -jxvf firefox-3*.tar.bz2 -C /opt && rm firefox-3*.tar.bz2 && sudo mv /opt/firefox/plugins /opt/firefox/plugins.backup && sudo ln -s /usr/lib/xulrunner-addons/plugins /opt/firefox/plugins && sudo dpkg-divert --divert /usr/bin/firefox.ubuntu --rename /usr/bin/firefox && sudo ln -s /opt/firefox/firefox /usr/bin/firefox
Thanks for using my tutorial. If you faced any problem during the upgradation process, please do mention in comments. I will try my best to answer your queries as soon as possible.Contact Us for News Tips, Corrections and Feedback