11 July, 2011

Installing Firefox 5 in a Red Hat machine

Hello!
While installing some IBM software, the installer launchpad failed because it required Firefox 3.5 or later. So, to solve the problem, I had to install a newer Firefox version on the server.

Here are the steps to install Firefox 5 in Linux, which I've found in the following link (http://linuxforums.org.uk/netbooks/install-firefox-5-on-an-acer-aspire-one-running-linpus-lite-linux/):

  • sudo mv -v /opt/firefox /opt/firefox-backup
  • wget -O firefox-5.0.tar.bz2 "http://download.mozilla.org/?product=firefox-5.0&os=linux&lang=en-GB"
  • sudo tar -jxvf firefox-5.0.tar.bz2 --directory /opt
  • sudo mkdir /opt/firefox/plugins
  • sudo ln -fs /opt/firefox/firefox /usr/bin/firefox
  • sudo ln -s /usr/lib/mozilla/plugins/* /opt/firefox/plugins
  • wget http://dl.dropbox.com/u/11876059/libstdc++6.tar.bz2
  • sudo tar -jxvf libstdc++6.tar.bz2 --directory /opt/firefox
  • firefox -profilemanager -no-remote

Perfect!!! Now firefox 5 is already installed and the installer launchpad already runs as expected.

Regards,

1 comment:

Mark Greaves said...

The wget command has been updated to download the newer Firefox 5.0.1 at the original link.

Disclosure - I wrote the original instructions :)

Never crossed my mind that they might be useful for red hat users too :)