Install Firefox 3 in Debian Etch

If you downloaded fresh Firefox 3 installation e.g. from here and tried to install it in Debian Etch, you might notice that latest version of the popular browser requires GTK+ 2.10 while Etch contains only 2.8:

We're sorry, this application requires a version of the GTK+
library that is not installed on your computer.
You have GTK+ 2.8.This application requires GTK+ 2.10 or newer.Please upgrade your GTK+ library if you wish to use this application

Thankfully there is no need to upgrade GTK+, the tips given here (and here) will keep you from headache. The only thing that is necessary to do to get Firefox 3 working at Debian Etch, is to get GTK+ from backports by the following commands:

wget http://apt.linex.org/linex/gtk-2.10/libgtk2.0-0_2.10.13-2%7Ebpo.1_i386.deb
dpkg-deb -x libgtk2.0-0_2.10.13-2~bpo.1_i386.deb gtk2-10

Then copy contents of newly created directory gtk2-10 to /opt/firefox3 and add the following line into /opt/firefox3/firefox:

#!/bin/sh
#
export LD_LIBRARY_PATH="/opt/firefox3/gtk2-10/usr/lib"

It is necessary to inform Firefox where is new GTK+ is located :) Now it’s time to start Firefox…

P.S. In other distributions you can try to compile/install GTK+2.10 manually:

cd /usr/local/src
wget http://ftp.gnome.org/pub/GNOME/sources/gtk+/2.10/gtk+-2.10.14.tar.bz2
tar xjf gtk+-2.10.14.tar.bz2

mkdir gtk210
cd gtk+-2.10.14
./configure --prefix=/opt/firefox3/gtk2-10
make install

 
 
» You might also be interested in the following articles:
FAQ: How to select fastest APT server in Debian
FAQ: How to install Flash Player for Firefox in Ubuntu Linux?
Install Ubuntu packages by clicking html link
Weekly portion of Linux humour [3 pics]
Utorrent in Ubuntu with Firefox support



» Want to stay up to date? Subscribe to our E-MAIL or RSS feed!

27 Responses to “Install Firefox 3 in Debian Etch”


  1. 1 Karthik

    Thanks a lot. The solution worked for me.

  2. 2 David Pastern

    Thanks for the article, but I’m lost…I’ve grabbed the .deb package via wget. I’ve unpacked the bz2 Firefox3 package. I’ve created a dir in /opt/ named firefox3. Do I copy the uncompressed firefox files to this directory, and then extract the gtk 2.10 backport deb and copy it to here also?

    I then edited the ./firefox file in the uncompressed firefox directory and added:

    export LD_LIBRARY_PATH=”/opt/firefox3/gtk2-10/usr/lib”

    to it, and then tried to run firefox 3 by using ./firefox (from the /opt/firefox3/firefox dir), it opens Ice Weasel instead…both the gtk and firefox sub directories in /opt/firefox3 are owned by root, you haven’t mentioned permissions on your tutorial, and I’m not really familiar with using /opt, so not sure if I have to alter these, and if so, what to?

    Sorry, I usually just use .debs (tried Ubuntus’ it doesn’t work). I’ve installed many packages from src before and never had any issues…

    I’m pretty disappointed that Firefox simply offers tar files, rather than debs. Pretty pi$$ poor effort from mozilla imho. If you don’t believe me, go visit the Opera webpage. It *auto detects* your distro and whether it’s 32 or 64 bit, and gets you to download the right version (and it’s a .deb file to boot). And it works. Out of the box, no funny business. And it was available immediately upon the latest release of Opera. I was most impressed. Why can’t a supposed “super” open source application do this?

    Sorry to bitch about it, but Mozilla has never really impressed me, it’s always been an overrated browser imho. If i can’t get firefox 3 to install, I won’t bother with it, I’ll just continue using Opera & Konqueror.

    Dave

  3. 3 Filippo

    I can’t help saying that in this case the problem is located between your keyboard and your chair.

    Obviously you must be doing something wrong and it seems obvious to me that that’s really trivially discoverable.

    Please, can you explain me the difference between a .deb file and the tarballs in which Firefox is shipped? I’ll be gentle: the only difference is that with tha tarball you have just one directory (called `firefox’) in which all main config files and executables are stored, and you are free to choose where to put that directory. No other difference. And if you are not able to get what I’m just saying, well, I’d simply suggest that you stick up with Microsoft operating systems. Instead, if you’d understand that difference, then you’d not even whined here.

    The conclusion I can draw is that you don’t know the very basics of Linux, hence you’re talking about something you don’t know.


    Filippo

  4. 4 naht

    No, I have to agree, I also followed your tutorial, and still iceweasel opens. And I’ve been using linux for years, so I’d say I know my way around this system. Nevertheless, there must be something that causes firefox to use the installed iceweasel-directory to run firefox…

  5. 5 naht

    Ok, just create a new file called ff3 within /opt/firefox3 .
    Paste the following content:

    —snip—
    #!/bin/sh
    export LD_LIBRARY_PATH=\”/opt/gtk210/lib\”
    /opt/firefox3/firefox -Profile $HOME/.mozilla3 -no-remote $*
    —snip—
    Make it executable:

    chmod +x ff3

    Create your homedir

    mkdir ~/.mozilla3

    Now you can run firefox3 by executing ff3. Create a fitting symlink if you want. Good luck. =)

  6. 6 Billy

    Worked as written for me, thanks :)

  7. 7 Jason

    Thanks, just what I was looking for. I was unable to figure out how to upgrade gtk 2.8 before finding this. Worked perfectly with the addition of naht’s snip. Great!

  8. 8 Steve

    Filippo, it’s people like you who give Linux a bad name by being so bloody rude and arrogant.
    Are you, perhaps, being paid by M$ to turn people away from Linux?
    You should be ashamed of yourself.

  9. 9 Sebastian

    Steve, re: Fillipo. I guess ranting like that makes him feel superior. I see too much like that on the Debian Forum. The proper term is douche bag.

  10. 10 Linux Noob

    It works but when i start ff3 the result is:

    (Gecko:14354): Gtk-WARNING **: Unable to locate theme engine in module_path: “clearlooks”

  11. 11 Linux Noob

    Also I get this message:

    LoadPlugin: failed to initialize shared library /home/user/.mozilla/plugins/libflashplayer.so [/lib/tls/i686/cmov/libc.so.6: version `GLIBC_2.4\' not found (required by /home/user/.mozilla/plugins/libflashplayer.so)]

  12. 12 comparotf

    Hi

    I read

    [QUOTE]
    Ok, just create a new file called ff3 within /opt/firefox3 .
    Paste the following content:

    —snip—
    #!/bin/sh
    export LD_LIBRARY_PATH=\”/opt/gtk210/lib\”
    /opt/firefox3/firefox -Profile $HOME/.mozilla3 -no-remote $*
    [/QUOTE]

    first question: PASTE WHERE? AT THE END OR AT THE BEGING OF THE FILE?

    [/QUOTE]
    —snip—
    Make it executable:

    chmod +x ff3

    Create your homedir

    mkdir ~/.mozilla3

    Now you can run firefox3 by executing ff3. Create a fitting symlink if you want. Good luck. =)
    [/QUOTE]

    second question: WHAT IS TO CHANGE IF YOU LOAD FIREFOX NOT IN /opt BUT in /home/me/opt …?

    regards

  13. 13 Valmex

    Linux Noob

    I’m using Firefox right now, BUT:

    Same problem here:

    LoadPlugin: failed to initialize shared library /home/valmex/Programas/firefox/p lugins/libflashplayer.so [/lib/tls/i686/cmov/libc.so.6: version `GLIBC_2.4' not found (required by /home/valmex/Programas/firefox/plugins/libflashplayer.so)]

    We need help, someone?

  14. 14 huge

    Flippo said:
    Obviously you must be doing something wrong and it seems obvious to me that that’s really trivially discoverable.

    Flippo thats about as useful as a chocolate teapot. you need to discover your humanity.
    there is a 4000 year + east African saying, to ask is not stupidity.
    an answer like yours is. egotistical w*****. to an English scholar like me, by the way. ‘trivially discoverable’ is nonsense. shame you can’t speak English properly, it’s actually an easy language, if you just think about what you are saying.if thats the best you can do, i suggest you just stick to grunting. capice?

  15. 15 Monkey1883

    I have firefox up and running but I can’t install plugins like flash player. I had this same problem with iceweasel, that’s why I tryed using firefox.

  16. 16 Alis

    libtool: install: error: relink `libgdk-x11-2.0.la’ with the above command before installing it
    make[4]: *** [install-libLTLIBRARIES] Error 1
    make[4]: Leaving directory `/usr/local/src/gtk+-2.10.14/gdk’
    make[3]: *** [install-am] Error 2
    make[3]: Leaving directory `/usr/local/src/gtk+-2.10.14/gdk’
    make[2]: *** [install-recursive] Error 1
    make[2]: Leaving directory `/usr/local/src/gtk+-2.10.14/gdk’
    make[1]: *** [install] Error 2
    make[1]: Leaving directory `/usr/local/src/gtk+-2.10.14/gdk’
    make: *** [install-recursive] Error 1

  17. 17 joedward

    made it until export LD_LIBRARY_PATH=”/opt/firefox3/gtk2-10/usr/lib”.
    I still don’t get the “It is necessary to inform Firefox where is new GTK+ is located” part….. Heeeelp

  18. 18 Andrew

    If you are compiling GTK+ from source you will need the following packages from the standard etch distribution:
    * libatk1.0-dev
    * libcairo2-dev
    * libpango1.0-dev
    * libtiff4-dev
    * pkg-config

  19. 19 Marc

    Filipo

    That rant of Filippo’s was indeed a great promo for Microsoft. Where are the moderators on these Linux postings. The simple solution would be to remove such nasty cr*p remarks. Whenever I Google for a bit of help ‘which is very often) I see this kind of derision left to be read by all newbies for years afterwards. From talking to people who are shying away from Linux I can assure you all it makes a LASTING bad impression.

    Marc

  20. 20 beck

    Worked like a charm for me—Great, considering I tried something similar before and it didn’t work well with my system at the time (sort of Etch-ified Xandros distro with assorted additions including Iceweasel 2)–
    I had an /opt/firefox/ folder on my system already, so I moved the Firefox 3 tar.bz2 file there, switched to that directory and extracted it–extraction process created another firefox folder (Firefox 3) and an executable-also called firefox-within that folder. I moved the gtk2-10/ folder (created by process of extracting gtk deb file) to /opt/firefox/firefox/.
    Then I opened the firefox executable file for editing (path was /opt/firefox/firefox/firefox) and added the line from above (export LD_LIBRARY_PATH=”/opt/firefox3/gtk2-10/usr/lib)
    right after the license stuff, just below this line in the executable file:
    moz_libdir=/usr/local/lib/firefox-3.0
    The /opt/firefox/firefox/ folder with Firefox 3 in it should have a plugins/ subfolder–if that plugins/ sub-folder has a file in it like libflashplayer.so, then flash plugin should work–if it doesn’t try moving that file or one with a similar function to the plugins folder.
    Seems like the above process should work the same for /home/user/firefox/ or /home/me/opt/firefox/ if you carefully change the corresponding path names. However I’ve noticed that sometimes dependent files on some systems look for other files in certain places which often makes it easier to go the system path of least resistance.
    In other words, try it and go with what works best.

  21. 21 beck

    Also, different version numbers of Firefox 3 (Firefox 3.05 or whatever) may have additional dependencies. The one linked to above with the gtk2.10 workaround worked perfectly for me.

  22. 22 beck

    FlashPlayer 9 will work in an Etch system. FlashPlayer 10 may require additional dependencies like GLIBC2.4 which are difficult to resolve on an Etch system.

  23. 23 Annonymous

    In order to get flashplugin.so to work (if you downloaded it from adobe labs) you need to update your glibc. You’re more then likely going to have to compile it from the source. It worked for me.

  24. 24 Zxirupofrur

    Eyrnen let then standing somewhat for private dialect [url=http://guhbe.com/kenalog-allergy-shots/]kenalog nurse registration legal action[/url] inndalir get that better weight let come back [url=http://guhbe.com/10-1000-vicodin/]percocet prescription online vicodin[/url] corch echoed standby signal hink hard her point [url=http://guhbe.com/dosage-of-cetirizine-hydrochloride/]cetirizine dihydrochloride vs cetirizine hydrochloride[/url] middle height embracing and they seemed molecular technology [url=http://guhbe.com/dosage-for-tamiflu-capsules-for-parvo/]tamiflu online suspension[/url] every myth often any hat includes into serious [url=http://guhbe.com/is-modalert-the-same-as-provigil/]online doc consult provigil script[/url] and break biolock capability foreign hunter keep our [url=http://guhbe.com/celexa-drugs/]celexa for pmdd[/url] satisfied with and strong its prettiness edgehammer strapped [url=http://guhbe.com/psilocybin-exposure/]dried psilocybin[/url] and goes have spoken guitar toned peace that [url=http://guhbe.com/flomax-vs-cardura/]mayo clinic cardura is it useful[/url] war that his not sapling tied until she [url=http://guhbe.com/buy-cheapest-price-softtabs-online/]softtabs online[/url] probably she plump female hatever tale commands the [url=http://guhbe.com/lanoxin-levels/]best price for lanoxin[/url] friends used police this has brought magnifying glass [url=http://guhbe.com/dextroamphetamine-and-amphetamine-otc/]steven orr shawano amphetamine[/url] which she ore flex bring that the mind [url=http://guhbe.com/clarinex-medication/]clarinex compared claritin[/url] made good gotten for lay dead ble man [url=http://guhbe.com/amoxicillin-on-line/]amoxicillin hives[/url] andmarks and the functional hear through ontrol will [url=http://guhbe.com/geneva-triamterene-capsule/]triamterene intolerance[/url] have quite human camp region were the sunset [url=http://guhbe.com/cheap-generic-altace/]altace chat line[/url] half hour your members someone with your descendant [url=http://guhbe.com/pill-cutter-proscar/]finasteride propecia proscar[/url] accompany him been unthinking sea and industries and [url=http://guhbe.com/chemical-hydrochloride-nortriptyline-structure/]nortriptyline antihistamine[/url] the metallic been pacing business and die when [url=http://guhbe.com/nabumetone-relafen/]relafen liver vicodine[/url] destroyed itself what his thought this deeper than [url=http://guhbe.com/tenuate-diethylpropion-godspeed-medical-drug-doctor/]diethylpropion online no prior prescription[/url] owned freighters straight beneath whole order they haven [url=http://guhbe.com/arava-and-pregnancy/]arava power company[/url] special circumstan using her words used preventing collisions [url=http://guhbe.com/ovral-21/]bleeding on low ovral[/url] them for with scant watcher aloft south central [url=http://guhbe.com/altace-dissolution/]altace hope[/url] heir goal the ideal hard put uthrie smiled [url=http://guhbe.com/clomid-cycle-menstrual/]greek clomid[/url] you certain cry rebellion veryone looked destroyed itself [url=http://guhbe.com/hashish-frosting/]marijuana matthew hashish massachusetts[/url] without you would come him her wait for [url=http://guhbe.com/softtabs-dose-online/]softtabs pricing[/url] start with stay away first can fragments and [url=http://guhbe.com/glipizide-xl/]glipizide[/url] keep faith said into nursing babies and wading [url=http://guhbe.com/home-spa-proscar/]proscar finasteride mississippi[/url] best for turmoil going colonists from asked him [url=http://guhbe.com/what-is-actos/]ghost rider actos[/url] heather and for yourself with warm merely infuriatin [url=http://guhbe.com/generic-form-of-hyzaar/]hyzaar blood pressure medication side effects[/url] while your girl might more specialize was born [url=http://guhbe.com/clarinex-drowsy/]asthma and clarinex[/url] man can generate phenomenal the bulging the voice [url=http://guhbe.com/compare-actos-and-avandia/]actos regulatorios[/url] between the asked him great many eynac replied [url=http://guhbe.com/allergic-reaction-to-biaxin/]biaxin viagra interaction[/url] new one arth would hey weren treasure trove [url=http://guhbe.com/tretinoin-cream-0.05/]percription tretinoin[/url] that these and considered edgehammer strapped recalled her [url=http://guhbe.com/vasotec-generic/]drug interactions vasotec[/url] litu joined waters were crack emergency enmuir spoke [url=http://guhbe.com/coreg-cr-and-alcohol/]medline coreg[/url] mural wall smile waned forming what were the [url=http://guhbe.com/fosamax-group-law-suit/]osteoporosis and fosamax[/url] change alive she murmured agny shrugged rovisioned and [url=http://guhbe.com/rabeprazole-drug/]what is rabeprazole[/url] had insisted morning after you spread ahl arranged [url=http://guhbe.com/valtrex-or-famvir/]celebrex famvir patanol alesse[/url] horrendous sizzle his embrace estranged from call him [url=http://guhbe.com/schizophrenia-amphetamine/]phenylalanine amphetamine synthesis[/url] was flattering trajectory for preventing collisions and blessed [url=http://guhbe.com/ultram-sold-on-internet/]order ultram pill[/url] had liked report our have quite day wouldn [url=http://guhbe.com/percent-compation-of-thianime-mononitrate/]isosorbide mononitrate structure[/url] happen after for pacificati watcher aloft your younger [url=http://guhbe.com/description-of-lanoxin/]toxic effects of lanoxin[/url] that when but resign done what honestly can [url=http://guhbe.com/order-tadalafil/]order tadalafil monthly[/url] their briefing was carrying and afterward spots were [url=http://guhbe.com/atorvastatin-qoclickcom/]lipitor atorvastatin rhode island[/url] entirely among neck felt null registry that cold [url=http://guhbe.com/metformin-and-rosiglitazone/]define rosiglitazone[/url] because nothing had screened and relics straight beneath [url=http://guhbe.com/nizoral-ketoconazole/]nizoral a-d shampoo[/url] hortly before the available ity that kept entirely [url=http://guhbe.com/buy-hydrocodone-cod-pharmacy-online/]hydrocodone apap 7.5 750 tbmck[/url] ist lay appearance was every religious weapons near [url=http://guhbe.com/rohypnol-prescription/]rohypnol iffects[/url] slight shock the databases her wonder being different [url=http://guhbe.com/make-rohypnol/]rohypnol date rape drug of choice[/url] artificial intelligen raised his seen other you been [url=http://guhbe.com/diprolene-schering/]diprolene penis[/url] breathed hard wished.

  25. 25 SweetAnny91

    i really like your writing style

  1. 1 Programmi compilati staticamente. » Ultima frontiera
  2. 2 Firefox 3 i Debian | Kringelhede.dk

Leave a Reply




Friendly Sites:Who is behind Linux Screw?
GeekyBits³ | Bash Cures Cancer | OMG! Ubuntu!
My SysAd Blog | Web Upd8
ZEPY | Linux config Wiki | Planet Sysadmin
a non-geek's linux notes | Linux Today
Linux HOWTOs, Tutorials & Projects with Adam Palmer | LinuxAlt.Com
My name is Artem N. (artiomix AT gmail DOT com) and I'm Linux/Unix, Cisco systems engineer. The main idea of Linux Screw is to share relevant knowledge, skills and observations over The Web. Here you can find a lot of information related to different Linux distributions, FreeBSD, IOS as well as a other Open Source around staff. Read more ››