Shell Person Help me keep the shell people alive.

17Apr/107

Install Firefox 3.6 in Debian Lenny

Two reasons for this:
1. It's the newest version of Firefox.
2. "Firefox" sounds cooler than "Iceweasel"

Downside:
This won't be upgraded with "apt-get upgrade"

This is being run on a very sparse system. Here are the packages you should probably get, if you don't already have them:

apt-get update && apt-get install xorg iceweasel bzip2 libdbus-glib-1-2

Download the most recent version of Firefox. You can just go to http://getfirefox.com with Iceweasel (or any other browser), or you can use wget from the command line:

wget 'http://download.mozilla.org/?product=firefox-3.6.3&os=linux&lang=en-US'

Now just unpack the file where it belongs. I'm not actually sure what the best place for it is, so I put it in /usr/local/src. You'll need to have root privileges for this, and you'll need to note the location of the file you just downloaded (in my case it's /home/james/firefox-3.6.3.tar.bz2).

su
cd /usr/local/src
tar -xvjf /home/james/firefox-3.6.3.tar.bz2

Now you'll have a directory named "firefox" where you just unpacked it -- /usr/local/src in the example above. Now you just need to symlink it /usr/local/bin (you should still be root).

ln -s /usr/local/src/firefox/firefox /usr/local/bin

That's it. There's no need to get rid of Iceweasel. If you really want you can create separate profiles for Iceweasel and Firefox. By default they'll use the same one. Launch it and browse (as a regular user, not as root):

firefox

Comments (7) Trackbacks (2)
  1. Fantastic! excellent fix – thanks

  2. Glad it was helpful.

  3. Thanks the steps work installing Firefox 4 Beta 2!! I only must pay attention to the folders

  4. Fantastic, glad to hear that works.

  5. hi all. i am using this distribution

    Linux version 2.6.24-1-686 (Debian 2.6.24-7) (dannf@debian.org) (gcc version 4.1.3 20080114 (prerelease) (Debian 4.1.2-19))

    i followed the steps but on launching the command from the terminal, iceweasel is started again…
    kindly help me in using firefox

  6. Hello, I did say.Son aşamada hata çıkıyor.

    hakk@debian:~$ firefox
    XPCOMGlueLoad error for file /usr/local/src/firefox/libxpcom.so:
    libxul.so: cannot open shared object file: No such file or directory
    Couldn’t load XPCOM.
    hakk@debian:~$

    Help me please

  7. Hello I did say. Errors on the last stage.

    hakk@debian:~$ firefox
    XPCOMGlueLoad error for file /usr/local/src/firefox/libxpcom.so:
    libxul.so: cannot open shared object file: No such file or directory
    Couldn’t load XPCOM.
    hakk@debian:~$

    Help me please


Leave a comment