Firefox 3 in Debian Etch
October 1st, 2008When trying to install Iceweasel3 with apt-get update, you get message:
igord:~# apt-get install iceweasel
Reading package lists… Done
Building dependency tree… Done
iceweasel is already the newest version.
But, if you want to use Firefox3 in Debian Etch, there is solution!
First, download Firefox3 source from here .
Suppose you downloaded it in /home/user/ directory.
# bunzip2 firefox-3.0.3.tar.bz2
# tar xvf firefox-3.0.3.tar
# cd firefox
# ./firefox
Ater this, you`ll probably receive error:
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.
Solution
(suppose you`re in /home/user):
# wget http://ftp.gnome.org/pub/gnome/sources/gtk+/2.10/gtk+-2.10.0.tar.gz
# mkdir /opt/gtk2.10
# tar xvzf gtk+-2.10.0.tar.gz
# cd gtk+-2.10.0/
# ./configure –prefix=/opt/gtk2.10
(after this you`ll probably receive messages for some library`s missing, in my case this made solution:
# apt-get install libtiff4 libtiff-tools libtiff-opengl libtiff4-dev )
then, again:
# ./configure –prefix=/opt/gtk2.10
After this, you will have to make script that will use gtk2.10 for Firefox3:
#!/bin/sh
export LD_LIBRARY_PATH=”/opt/gtk2.10/lib”
/home/user/firefox/firefox $*
and save that script to you $PATH, for example copy it to /usr/local/bin/firefox3
After this, firefox3 can be run via command “firefox3″
Enjoy!