How to upgrade Firefox to 3.5 in Ubuntu
Ubuntu 9.04’s default Firefox version is 3.0. However, nowadays the latest relase of Mozilla Firefox is 3.5.3. In Linux systems like Ubuntu it is hard to install or upgrade programs not similar to Windows operating systems. By the way, Mozilla Firefox has no 3.5.3 debian package. So the upgrade operation becomes harder.
Here is the way to upgrade/install Mozilla Firefox 3.5 in operating system Ubuntu
- Firstly you must download the latest version of Firefox from its official web site. While I was writing this post, the latest version was 3.5.3.
Click here to download Mozilla Firefox 3.5.3
- If your system has Firefox 3.5.x(3.5.1 or 3.5.2) paste the code below to Terminal and press enter button.(To open terminal: Application -> Accessories -> Terminal)
sudo rm /usr/bin/firefox && sudo dpkg-divert –rename –remove /usr/bin/firefox && sudo rm -r /opt/firefox
After this operation, open Firefox and follow this path Help -> About Mozilla Firefox. There will be a window that is written that your Firefox version is downgraded to 3.0.8.
-
Next step is to move the file that was downloaded and placed on our Desktop named firefox-3.5.3.tar.bz2 Copy or cut this file from here and paste it to your Home folder. To reach it follow this path: Places -> Home
-
open the terminal by following this path: Application -> Accessories -> Terminal and paste this code below. After that press enter button
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
- Restart Firefox. If you look at its version by clicking Help -> About Mozilla Firefox, you will see 3.5.3