Posted by: yuvan004 | September 23, 2010

Installing Firefox on Ubuntu


Installing outside of a package manager

Complete instructions for installing Firefox outside of package management may be available at your distribution’s support website. For example:

Before you install Firefox, make sure that your computer has the required libraries installed. Missing libraries will cause Firefox to be inoperable.

The following instructions will install Firefox into your home directory, and only the current user will be able to run it.

Note: The installation file provided by Mozilla in .tar.bz2 format does not contain sources but pre-compiled binary files, therefore you can simply unpack and run them. There is no need to compile the program from source if all the system requirements are met.
  1. Download Firefox from the Firefox download page to your home directory.
  2. Open a Terminal and go to your home directory:
    cd ~
  3. Extract the contents of the downloaded file:
    tar xjf firefox-*.tar.bz2
  4. Close Firefox if it’s open.
  5. To start Firefox, run the firefox script in the firefox folder.
    ~/firefox/firefox

Firefox should now start. You can then create an icon on your desktop to run this command.

libstdc++5 error

As noted above, you need to install the required libraries for Firefox to work. Many distributions don’t include libstdc++5 by default.

“firefox not installed” message or wrong version of Firefox starts

If Firefox is installed following the instructions given above, it must be started (in a Terminal or in a launcher on the Desktop, for example) using the command

~/firefox/firefox

If you try to start Firefox in a Terminal with the command

firefox

it will either start the package-manager-installed version of Firefox or will tell you the program is not installed.

Advertisements

Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Categories

%d bloggers like this: