Thursday, October 8, 2009

Installing Mozilla Firefox on Ubuntu

Mozilla Firefox would be my 1st choice of internet browser to use on linux, unfortunately Ubuntu (at least Ubuntu Jaunty 9.04 - server edition) didn't provide mozilla-firefox repository, so we need to install it manually.

Here are the steps to do it:

1. Download the source file from here, choose your preferred version and localized (better take the .tar.bz2 to follow this steps)

2. Installing dependencies
# sudo apt-get install libstdc++5

3. Extracting source files to spesific directory
# sudo tar -C /opt -jxvf firefox-*.tar.bz2

4. Manual install
# cd /opt/firefox/plugins
# sudo ln -s /usr/lib/mozilla-firefox/plugins/* . (there's a dot at the end of the line)
# sudo dpkg-divert --divert /usr/bin/firefox.ubuntu --rename /usr/bin/firefox
# sudo ln -s /opt/firefox/firefox /usr/bin/firefox
# sudo dpkg-divert --divert /usr/bin/mozilla-firefox.ubuntu --rename /usr/bin/mozilla-firefox
# sudo ln -s /opt/firefox/firefox /usr/bin/mozilla-firefox

One addition to this installation is flash plugins
1. Get the source
Go to this page, and choose .tar.gz for Linux

2. Go to Download folder, extract and move to plugins directory
# tar xvfz install_flash_player_10_linux.tar.gz
# mv ~/.mozilla/plugins/

And you are done! Just execute your browser by typing "firefox" on your terminal. Enjoy :)

No comments:

Post a Comment

Hi, for all of those who already put comments on my blog post, thanks.. really appreciate it. And for those who have not, just put your comments here :)