In a previous post, I shared some terminal commands in order to install firefox 4 in ubuntu.
The problem is that when the stable version was out and I tried to update my current installation the version remained “pre xxx” and the title bar said “Minefield”.
So, I figured out how to get rid of it and install the latest and stable version…
STEP #1
Download the latest stable version from the official downlad page:
www.mozilla.com/firefox/
in tar.bz2 format.
STEP #2
Open a terminal window and go to the downloaded file directory.
for example: cd ~/downloads/
Then extract the archive: tar xjf firefox-4.0.tar.bz2
STEP #3
Remove the previous firefox installation:
sudo rm -r /opt/firefox
(don’t worry if this step fails)
STEP #4
Move the extracted firefox folder:
sudo mv firefox /opt/firefox
STEP #5
“Backup” the old Firefox launcher:
sudo mv /usr/bin/firefox /usr/bin/firefox-old
Create a symbolic link pointing to the new firefox installation:
sudo ln -s /opt/firefox/firefox /usr/bin/firefox
The icons/shortcuts usually don’t need update, but if they do point them to “firefox”.
STEP #6
Open firefox and go to the “About” selection under the “Help” menu, to check the running version.