Using Firefox 1.5 with Ubuntu 5.10 - Quick Howto

Posted by tadelste on Oct 23, 2005 11:52 AM
LXer; By Tom Adelstein

Why would you want to use a beta of Firefox when you an have a more stable release? The version that comes with Breezy Badger has a bad memory leak - and 1.5 runs faster.

I started using Ubuntu 5.10 as my desktop about a week before it hit the final release state. At first, I didn't have any problems with it and it had a small and fast footprint. Then I noticed that the version of Firefox released with the Ubuntu desktop came to a standstill and I couldn't live with it.

One of the editors at O'Reilly reported having a similar problem. So, I decided to see how Opera worked. Turns out I liked Opera. It didn't freeze on me and it has a nice feel.

Unfortunately, Opera doesn't integrate well with Google and Gmail in particular. So, I started looking at what people had said about the new Firefox 1.5 beta2. I saw a lot of praise. Now I had to install it on this tightly built Ubuntu desktop.

Here's what I did (with the help of a howto on the Ubuntu Wiki - see below):

First, I used synaptic package manager and added libstdc++5

I then downed downloaded firefox-1.5b2.tar.gz

I didn't want to chance confusing my apt database. I usually install non-deb packages into /usr/local or /opt. I Installed firefox 1.5 to the /opt directory. First, I copied the downloaded tar.gz file to the /opt directory as superuser.



sudo cp firefox-1.5b2.tar.gz /opt/
cd /opt
sudo tar xzvf firefox-1.5b2.tar.gz
sudo rm firefox-1.5b2.tar.gz



Now create a symbolic link from your existing plugin directory to the Firefox 1.5 directory and remove totem.



cd /opt/firefox/plugins/
sudo ln -s /usr/lib/mozilla-firefox/plugins/* .
sudo rm libtotem_mozilla.*



Now move your existing .mozilla home directory into the background.



cd
mv .mozilla .mozilla.bak



You'll want to use the firefox 1.5 beta as your default, so change the symbolic link in your /usr/bin directory



sudo dpkg-divert --divert /usr/bin/firefox.ubuntu --rename /usr/bin/firefox
sudo ln -s /opt/firefox/firefox /usr/bin/firefox



Create a launcher by right clicking on your desktop and put firefox as the command.



You'll find that the stock Firefox runs faster that the one that comes with the distribution and the Firefox Beta2 beats that. In the last Ubuntu release, people on the user-discuss list complained mightily about how slow firefox ran. It runs a little faster in Ubuntu 5.10 but the memory leak, until fixed is a major annoyance.



You might want to give this a try. I find that it works well. If you want to go back to the stock version at some point, then you must:



Restore the symbolic link



Restore your old profile



Delete the firefox directory in /opt



Ben Scholl's Howto at the Ubuntu Wiki provided the instruction for this article. Thank you.

Return to the LXer Features

Subject Topic Starter Replies Views Last Post
Restore your old profile? jamesstansell 0 2,239 Oct 23, 2005 7:19 PM
relevant bug numbers jamesstansell 0 1,646 Oct 23, 2005 6:50 PM

You cannot post until you login.

LXer

  Latest Features
Scott Ruecker (Phoenix, U.S.): LXer Weekly Roundup for 31-Aug-2014
Aug 31, 2014

Scott Ruecker (Phoenix, U.S.) : Interview With Richard Kenner of AdaCore
Aug 29, 2014

Carla Schroder: Test Sites for Heartbleed OpenSSL Vulnerability
Apr 09, 2014

penguinist: Better Than a Quad-Head Display: My Adventures with "4K" 2160p and Linux
Mar 31, 2014

Dr Tony Young: Replacing KDE4 with Xfce
Mar 07, 2014

Dr Tony Young: Removing/Disabling The Semantic Deskop in KDE4 Running on openSUSE 13.1 Part 2
Feb 18, 2014

Dr Tony Young: Removing/Disabling The Semantic Deskop in KDE4 (and firing up Thunderbird) Part 1
Feb 08, 2014

Dr Tony Young: KMail Complexity - and a little Patience
Jan 26, 2014

Carla Schroder: Linux Nerd New Year's Resolutions
Dec 29, 2013

Carla Schroder: Fedora 20 Released With New, Newer, and Newest
Dec 17, 2013


View all

  Search Features

Search LXer Features:

[ Copyright © LXer | All times are recorded in Central Daylight Time (CDT) ]

[ Contact Us | Privacy Policy | Terms of Service | About us | rss | Mobile ]

Login