Home > Tips > Install Firefox 4 on Ubuntu

Install Firefox 4 on Ubuntu

Firefox 4 is catching on. Still Ubuntu has not put this in its stable repositories, for the older versions. Newbies in Ubuntu will find installing Firefox 4 difficult. This describes the method I used to install Firefox 4.

First download Firefox 4 from the official site. The downloaded file will be an archive named firefox-4.0.1.tar.bz2. Extract the archive file by right click and extract here. A folder firefox will be created. Inside this folder, a file firefox is present. Give execute permission to this file by typing sudo a+x firefox/firefox.

Double clicking the file will open a message box. Choose Run in the message box. This will open the Firefox 4.0 browser. This is the simple way of using Firefox 4.

A neater way is to move the folder firefox either to a separate folder for programs in your home folder, or to the /usr/local/ directory. For the former, running the firefox file inside the firefox folder is enough. Moving the folder to /usr/local will require root’s permissions. Type sudo mv firefox /usr/local to move the folder to /usr/local/

The older version can be removed using synaptic, which leads to a broken application launcher in the top panel. Right click on it, and choose properties, browse for the firefox file or enter its path correctly. The command that I have to use will hence be usr/local/firefox/firefox %u, as I have moved the folder firefox to /usr/local Click on the icon on the left choose firefox/icons/mozicon128.png. Click on the launcher to launch Firefox 4.0

  1. May 12, 2011 at 4:41 am

    Why compile in Ubuntu there is a perfectly good PPA.

    Also the latest version of Ubuntu comes with Firefox 4.

    • May 12, 2011 at 12:31 pm

      There is no need of compilation, as it is just installing the binaries. This method is simpler than adding a PPA. Many people are still using the LTS versions or even 9.04.

  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

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

Google+ photo

You are commenting using your Google+ 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 )


Connecting to %s

%d bloggers like this: