See more...

How To Install Mozilla Firefox On Ubuntu-Linux

As we all know that Mozilla Firefox 3.5.2 has been released and is available for download. Several security issues and image rendering problems are now fixed. So its highly recommended to update your Firefox to version 3.5.2 as this version more stable and secure than the previous one. Here is a small tutorial about how you can update your Mozilla Firefox to version 3.5.2 in Ubuntu? All you need is to download and type one command in terminal. It will do the rest for you. You can also apply this procedure to update your Firefox in case of future updates released by Mozilla.

Follow these simple steps to get started:

  1. Download Mozilla Firefox 3.5.2 and save firefox3.5.2.tar.bz2 on your desktop
  2. Downlading Latest Version

    Setup File Saved To Desktop

  3. Check the current version of Mozilla Firefox by navigating to Help->About Mozilla Firefox.
  4. Mozilla Firefox Old Version

  5. Now this is important step. If you have Firefox version 3.5.0, 3.5.1 or any other version 3.5.x installed on your system then use the command below. If you have already Ubuntu's version of Firefox (as shown in the screenshot above) then skip the following command
  6. sudo rm /usr/bin/firefox && sudo dpkg-divert --rename --remove /usr/bin/firefox && sudo rm -r /opt/firefox

    The command above will downgrade your current version of Mozilla Firefox to the Ubuntu's version of Firefox which is necessary for all those who have upgraded their Firefox for at least once in past. After you will execute the above command, you will notice that your Firefox will be restored to its default version i-e Firefox 3.0.8 in Ubuntu 9.04.

  7. Now click Places->Computer
  8. Places-Computer

  9. Choose Desktop from the sidebar and right click on firefox3.5.2.tar.bz2 file and choose Cut.
  10. Cut Setup File From Desktop

  11. Now Click Ubuntu from the sidebar and paste firefox3.5.2.tar.bz2 file there.
  12. Paste In Ubuntu Folder

  13. Click Applications->Accessories->Terminal
  14. Open Terminal

  15. Now copy the code below
  16. 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

  17. After copying paste it into the terminal command line as shown in the photo below.
  18. Paste Script Into Terminal

  19. Make sure there are no trailing spaces. Hit Enter to execute
  20. Executing Script

  21. It will update all files of the current version of Mozilla Firefox. The whole process takes less than 15 seconds.
  22. Firefox Updated

  23. Its done. When you will open your Firefox it will be the updated version.
  24. Help-About Mozilla Firefox

Update: Firefox 3.5.3 Released. Click here for installation instructions for Ubuntu (Linux)
Update: Firefox 3.5.4 Released. Click here for installation instructions for Ubuntu (Linux)
Update: Firefox 3.5.5 Released. Click here for installation instructions for Ubuntu (Linux)
Update: Firefox 3.6.3 Released. Click here for installation instructions for Ubuntu (Linux)

Contact Us for News Tips, Corrections and Feedback

Related posts

Leave a message...

    boatjones10 years, 6 months ago

    Thank you for that helpful response. I downgraded from 3.6.3 to 3.5.2 since I fortunately had an install copy of as my upgrade from Ubuntu 9.04 (Jaunty) to 10.04 (Lucid) broke my Firefox install and wouldn't run 3.6.3. I am now happily running 3.5.2 thanks to your directions.

    Senthil10 years, 9 months ago

    Thanks for the article. Worked like a charm! :)

    bhuvanesh11 years, 2 months ago

    but after doing so my firefox browser doesnot open…btw my default browser version is 3.0.14 and not 3.0.8. btw i am using intrepid(ubuntu 8.10)…what do u think is the possible cause?? installation finishes successfully like the snapshot given but when clicked upon firefox doesnt open…pls help me

    muwasalat.com11 years, 2 months ago

    my fault. i didn’t c. my fault i admit it.

    muwasalat.com11 years, 2 months ago

    u sud have allowed the code to be copied it wud be easier for those who don’t want to type the whole command.

    don’t u think so!

    Satish Medos11 years, 3 months ago

    This was very well executed post ! Thanks for making the job easier ……..

    fotoguzzi11 years, 3 months ago

    Step 7 does not paste correctly for me. The command needs to be divert and rename as shown in the Step 8 screenshot.

      Jaxov11 years, 3 months ago

      Thanks for pointing it out… Its corrected now…