PDA

View Full Version : How to update Firefox using Firefox's ".mar" files.


hellerite
April 15th, 2006, 09:15 PM
How to update firefox to a new version. For Dapper.

Things you will need. Download to your home directory.
A. Firefox's updater utility: Found in Firefox's tar file... Download to your home folder and extract.

B. Firefox's .mar file; "firefox-1.5.0.2.complete.mar" file: ftp://ftp.mozilla.org/pub/mozilla.org/firefox/releases/1.5.0.2/update/linux-i686/
and choose your locale... In my case en-US.

Open gnome-terminal.

Create the following directory:
sudo mkdir /usr/lib/firefox-update


Copy and rename the .mar file to the above directory.
sudo cp /home/<your home>/firefox-1.5.0.2.complete.mar /usr/lib/firefox-update/update.mar

Copy the updater utility to the firefox-update folder:
sudo cp /home/<your home>/firefox/updater /usr/lib/firefox-update

cd to the Firefox directory.
cd /usr/lib/firefox

Run the following command to update: (Make sure that you are in your current firefox directory... see above)
sudo ../firefox-update/updater ../firefox-update 0

Once the update completes change to /usr/lib/firefox-update directory and review the update.log file. Look for a "Succeeded" message at the bottom.

Open Firefox and go to Help/About Firefox. It should have the new version.

For More information on .mar files go to the following Mozilla address

http://wiki.mozilla.org/Software_Update:Manually_Installing_a_MAR_file

http://hellerite.googlepages.com/firefox-update.png/firefox-update-full.png