On the screenshot below is an icon squared in red. Clicking it will launch Mozilla Firefox 3.0.18. I want to upgrade Firefox to version 5.0 so that clicking the same icon should launch the new version.
I do not want to simply install Mozilla Firefox on a different location but overwrite the existing setup so that only one version of Mozilla exists (I do know that I can have different versions by extracting the tar.bz file to a different location). Finally, all this should be done via terminal. How can this be done?