Replace Firefox 3.0.14 with 3.5.3 in Ubuntu 9.04

Asked by peterzay

How do you replace Firefox 3.0.14 with 3.5.3 in Ubuntu 9.04 (fully patched) so that
all shortcuts for all users (present and future, admin or regular) will launch the new version 3.5.3?

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu firefox-3.0 Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
John2 (humright2) said :
#1

Hi,

I assume that you already have Firefox 3.5 installed, otherwise you can get it by using Add/remove application (Applications--->Add/Remove. Firefox 3.5 is called Shiretoko and its icon is a blue globe).

You can also visit these pages for more details:

https://help.ubuntu.com/community/FirefoxNewVersion

http://lifehacker.com/5306169/install-firefox-35-on-ubuntu-with-one-command

About the replacement, as the two versions will cohexist, my advice is to just set Firefox 3.5 as your default browser in the options, so that the system will always regard it as "the" browser (EDIT > PREFERENCES > ADVANCED > GENERAL).

Hope it helps.

Revision history for this message
zvacet (ivicakolic) said :
#2

Download Firefox3.5.3tar.bz file in your home directory and after that type in terminal (you can copy/paste this)

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

Revision history for this message
arochester (arochester) said :
#3

I uses Ubuntuzilla. Have a look at "Install Firefox 3.5 in Ubuntu 9.04 using Ubuntuzilla" at http://tombuntu.com/index.php/2009/07/15/install-firefox-35-in-ubuntu-904-using-ubuntuzilla/

You can then update versions of Firefox by opening Firefox from the Terminal using the command: gksudo firefox
then going Help>Chack for updates.

NOTE that you MUST NOT use : sudo firefox
because this will mess up Firefox. I know!

-------------------------------------------------------------------------------------------------------
Ubuntu Forums - Absolute Beginner Talk - http://ubuntuforums.org/forumdisplay.php?f=326
Kubuntu Forums - Help the New Guy - http://kubuntuforums.net/forums/index.php?board=7.0

Basic Toolkit
1) Download the Linux Starter Pack - http://www.tuxradar.com/linuxstarterpack
2) Look at the UNOFFICIAL Ubuntu Guide - http://ubuntuguide.org/wiki/Ubuntu:Jaunty
3) Look at Psychocats - http://www.psychocats.net/ubuntu
4) Download the Ubuntu Pocket Guide and Reference - http://www.ubuntupocketguide.com/index_main.html

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#4

why not just run:

sudo apt-get install firefox-3.5

You can then set it as the default browser how John says.

Simple is usually the most effective.

Revision history for this message
peterzay (peterzay) said :
#5

John,

Your advice is great and it works, except that Shiretoko is 3.5.4pre and not
3.5.3 current prod release.

On Mon, Oct 5, 2009 at 3:23 PM, John <email address hidden>wrote:

> Your question #84879 on Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+question/84879
>
> Status: Open => Answered
>
> John proposed the following answer:
> Hi,
>
> I assume that you already have Firefox 3.5 installed, otherwise you can
> get it by using Add/remove application (Applications--->Add/Remove.
> Firefox 3.5 is called Shiretoko and its icon is a blue globe).
>
> You can also visit these pages for more details:
>
> https://help.ubuntu.com/community/FirefoxNewVersion
>
> http://lifehacker.com/5306169/install-firefox-35-on-ubuntu-with-one-
> command
>
> About the replacement, as the two versions will cohexist, my advice is
> to just set Firefox 3.5 as your default browser in the options, so that
> the system will always regard it as "the" browser (EDIT > PREFERENCES >
> ADVANCED > GENERAL).
>
> Hope it helps.
>
> --
> If this answers your question, please go to the following page to let us
> know that it is solved:
> https://answers.launchpad.net/ubuntu/+question/84879/+confirm?answer_id=0
>
> If you still need help, you can reply to this email or go to the
> following page to enter your feedback:
> https://answers.launchpad.net/ubuntu/+question/84879
>
> You received this question notification because you are a direct
> subscriber of the question.
>

--
Peter

Revision history for this message
peterzay (peterzay) said :
#6

actionparsnip,

Have you tested that fully? If not, please let me know what has not been
tested.

My VMWare virtual machine testing setup is not currently available. So to
reinstall 9.04 and update to current patch status takes about 1/2 day per
test scenario. The update servers are very slow.

I need to know if
- 3.5.3 FF current prod release is properly installed
- all FF icons launch 3.5.3 and not 3.0.14
- this works for all users (present and future, admin and regular)

Thanks.

On Mon, Oct 5, 2009 at 3:34 PM, actionparsnip <
<email address hidden>> wrote:

> Your question #84879 on Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+question/84879
>
> actionparsnip proposed the following answer:
> why not just run:
>
> sudo apt-get install firefox-3.5
>
> You can then set it as the default browser how John says.
>
> Simple is usually the most effective.
>
> --
> If this answers your question, please go to the following page to let us
> know that it is solved:
> https://answers.launchpad.net/ubuntu/+question/84879/+confirm?answer_id=3
>
> If you still need help, you can reply to this email or go to the
> following page to enter your feedback:
> https://answers.launchpad.net/ubuntu/+question/84879
>
> You received this question notification because you are a direct
> subscriber of the question.
>

--
Peter

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#7

Sure its in the Jaunty repo so why not use it? As long as your apps obey the default browser then changing the default browser to firefox-3.5 will suffice.

You COULD run:

sudo mv /usr/bin/firefox /usr/bin/firefox_old; sudo ln -s /usr/bin/firefox-3.5 /usr/bin/firefox

and you dont have to change a thing. You can ALSO uninstall firefox 3.0, leaving only 3.5 standing as it is a separate app.

Installing a browser to then uninstall it will not damage your image. Why do you not create a nonproduction VM image which you can duplicate to create lots of new systems rather than clean installing each time?

Revision history for this message
peterzay (peterzay) said :
#8

actionparsnip,

I did: sudo apt-get install firefox-3.5 and got Shiretoko 3.5.3 over and
above FF3.0.14 for all users admin and regular.

I made Shiretoko the default browser.

The 2 FF icons for end users on the system launch 3.0.14.

The Shiretoko icon in Applications/Internet launches Shiretoko 3.5.3. Note
that mousing over the focus bar of the Shiretoko window gives a busy mouse
pointer for about 15 seconds. The launch of FF3.0.14 is instantaneous, no
busy mouse pointer there. On first launch, Shiretoko detects
incompatibilities which it offers to try to fix unsuccessfully. That might
explain the 15 seconds at each launch.

Add/Remove FF does not work, it refers you to Synaptic. In Synaptic, there
are so may references to FF that it's not obvious how to fully uninstall the
entire app and all its components. In a previous test cycle, I removed them
all and got a black square in place of the FF icon next to System. My users
did not like that.

I will keeps things like this for now.

Karmic Koala is alleged to solve these issues by shipping FF3.5.3.

Team, thanks for all the ideas.

On Mon, Oct 5, 2009 at 4:05 PM, actionparsnip <
<email address hidden>> wrote:

> Your question #84879 on Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+question/84879
>
> Status: Open => Answered
>
> actionparsnip proposed the following answer:
> Sure its in the Jaunty repo so why not use it? As long as your apps obey
> the default browser then changing the default browser to firefox-3.5
> will suffice.
>
> You COULD run:
>
> sudo mv /usr/bin/firefox /usr/bin/firefox_old; sudo ln -s
> /usr/bin/firefox-3.5 /usr/bin/firefox
>
> and you dont have to change a thing. You can ALSO uninstall firefox 3.0,
> leaving only 3.5 standing as it is a separate app.
>
> Installing a browser to then uninstall it will not damage your image.
> Why do you not create a nonproduction VM image which you can duplicate
> to create lots of new systems rather than clean installing each time?
>
> --
> If this answers your question, please go to the following page to let us
> know that it is solved:
> https://answers.launchpad.net/ubuntu/+question/84879/+confirm?answer_id=6
>
> If you still need help, you can reply to this email or go to the
> following page to enter your feedback:
> https://answers.launchpad.net/ubuntu/+question/84879
>
> You received this question notification because you are a direct
> subscriber of the question.
>

--
Peter

Revision history for this message
John2 (humright2) said :
#9

Hi Peterzay,

quote:

Shiretoko is 3.5.4pre and not
3.5.3 current prod release.

Have you checked your Software Sources application to see whether you have some pre-released and unsupported updates checked under the UPDATES tab?

In my case the version of Shiretoko I have installed is 3.5.3 and it's the only available.

Hope it helps.

Can you help with this problem?

Provide an answer of your own, or ask peterzay for more information if necessary.

To post a message you must log in.