how to install firefox-3.5 on debian etch (updated)

Share your own howto's etc. Not for support questions!

how to install firefox-3.5 on debian etch (updated)

Postby ange » 2008-02-01 22:27

#Debian etch notes on setting up firefox-3.5
For those who need a one page solution, I will quote the major steps here:
Code: Select all
1-download latest version of firefox from <http://www.mozilla.com/en-US/firefox/all.html>
2-unpack
3. the latest version of the popular browser requires GTK+ 2.10 while Debian Etch contains only 2.8, so we need to
download i from backports:
 $wget http://apt.linex.org/linex/gtk-2.10/libgtk2.0-0_2.10.13-2%7Ebpo.1_i386.deb
 and then extract it using:
 $ dpkg-deb -x libgtk2.0-0_2.10.13-2~bpo.1_i386.deb gtk2-10
 4.copy the resulting folder inside firefox:
 $sudo cp gtk2-10 /firefox-3.5
5- modify <firefox> file that is inside the folder. we need this step to tell firefox wher to find gtk2-10:
$cd firefox-3.5
$sudo kwrite firefox
after these 2 lines:
#!/bin/sh
#
paste this line:
export LD_LIBRARY_PATH="/opt/firefox-3.5/gtk2-10/usr/lib"
save your file and exit your editor.
6.to prevent iceweasel from opening when you launch firefox, just create a new file called ff3 within firefox-3.5
Paste the following content:

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

$sudo chmod +x ff3

Create your homedir

$ mkdir ~/.mozilla3

Now you can run firefox3 by executing ff3. Create a fitting symlink

7.now to install it manually to /opt:
$sudo mv -f firefox-3.5 /opt

[url=
website:http://www.linuxscrew.com/2008/06/21/install-firefox-3-in-debian-etch/]credits[/url]
Last edited by ange on 2009-07-14 02:45, edited 13 times in total.
User avatar
ange
 
Posts: 59
Joined: 2008-02-01 17:23
Location: Nador, Morocco

Re: how to install the latest build of firefox from mozilla

Postby Issyer » 2008-02-02 08:44

ange wrote:3. copy the extracted folder to /usr/local/mozilla (u need to log on as root, and u may need to create the folder mozilla manually

Nice howto. Only /opt is more suitable for copying, I believe.
i prefer this method bc converting rpm to deb using alien didnt work for me,

You can also compile it. This way you can get rid of (or enable) a lot of bloats.
User avatar
Issyer
 
Posts: 3055
Joined: 2007-05-23 02:59
Location: Khakassia

Postby llivv » 2008-02-02 14:12

The latest daily builds of firefox are code named Minefield (as of 02feb2008) and it will run as a module plugged into your system. Netscape 9 and Operas "binary download" also work this way.

  1. download the compressed binary firefox-3.0b3pre.en-US.linux-i686.tar.bz2
  2. open an xterminal of your choice, su to root or use sudo in front of root commands
  3. [[as root]]# cd /to/the/location/of/firefox-3.0b3pre.en-US.linux-i686.tar.bz2
  4. [[as root]]# mv -v firefox-3.0b3pre.en-US.linux-i686.tar.bz2 /home/llivv (substitute your user name for llivv)
  5. [[as root]]# chown llivv:llivv firefox-3.0b3pre.en-US.linux-i686.tar.bz2 (substitute your user name for llivv)
  6. [[as user]]~$ tar -jvxf firefox-3.0b3pre.en-US.linux-i686.tar.bz2
  7. [[as user]]~$ firefox/firefox
  8. Look for the Minefield branding in the browser title bar and the default startup page


This method keeps everything in the $HOME/firefox directory,
firefox runs from within it's own directory and can (but may not always) pickup iceweasels (iceapes?) profiles and plugins.
(and if everything is working like in any of my fluxbox installs) you can run firefox or iceweasel.

[EDIT: this stuff out]
I've noticed that (if) you run them both at the same time, one or the other will take
control and disable some options of the other.
This makes sense to me becasue I've noticed that if I try to open iceweasel twice in fluxbox
all that I get is another tab (added to the iceweasel that is already running).
[My bad, ideas I got while working in a faulty Blackbox session]

ps. if you get an error saying there is no libstd++5.so or libxul.so file
su to root or sudo
aptitude
/ libstd++5
or
/ libxul
(if / packagename doesn't get you right to the specific package use the "n" key take you to the next package)
+
g
g
ENTER
q
right arrow
ENTER
exit (if using su)
(in your home directory)
~$firefox/firefox


I hope you are cool with me posting this in your howto ange
User avatar
llivv
 
Posts: 5586
Joined: 2007-02-14 18:10
Location: willo the tree

Re: how to install the latest build of firefox from mozilla

Postby ange » 2008-02-13 10:27

Only /opt is more suitable for copying, I believe.

Mozilla firefox runs in its own directory; when you extract the archive to your desired folder, it's recommended to follow a consistent management of your binary files. i dont want to mess up with my system so i prefer my home folder to purely include only my personal documents. thanks for posting your reply.
Last edited by ange on 2008-02-15 23:42, edited 1 time in total.
your thoughts make your reality
User avatar
ange
 
Posts: 59
Joined: 2008-02-01 17:23
Location: Nador, Morocco

Re: how to install the latest build of firefox from mozilla

Postby llivv » 2008-02-15 15:26

ange wrote:Only /opt is more suitable for copying, [...] , it's recommended to follow a consistent management of your binary files.
That is a good point. I like your idea of using /opt for my browser binaries.
I've used /home/firefox as my working directory for firefox becasue it was easier to figure out why and when iceweasel was getting the nod from the firefox command, when I really wanted firefox.

It's a bit complicated to try to explain without a couple of pictures and a lot of arrows and exceptions to the general rules.

14feb2008
Minefield (firefox nightly build) binary is broken on etch ( at least on my install of etch, anyways)

(Gecko:13157): Gtk-WARNING **: gtkwidget.c:7322: widget class `GtkButton' has no property named `inner-border'
(crashreporter:13174): Gtk-CRITICAL **: gtk_widget_set_sensitive: assertion `GTK_IS_WIDGET (widget)' failed

I'll update results on lenny and sid.
User avatar
llivv
 
Posts: 5586
Joined: 2007-02-14 18:10
Location: willo the tree

Re: how to install the latest build of firefox from mozilla

Postby Issyer » 2008-02-15 16:36

ange wrote: dont want to mess up with my system so i prefer my home folder to purely include only my personal documents.

Right. Otherwise a big mess can occur.
User avatar
Issyer
 
Posts: 3055
Joined: 2007-05-23 02:59
Location: Khakassia

Postby llivv » 2008-02-15 22:48

I just downloaded the new Minefield again in lenny and it seems to be working fine, as I'm posting from it.
Yea lssyer, I know my stuff is all messed up... :lol:
User avatar
llivv
 
Posts: 5586
Joined: 2007-02-14 18:10
Location: willo the tree

Re: how to install the latest build of firefox from mozilla

Postby ange » 2008-02-15 23:49

Issyer wrote:
You can also compile it. This way you can get rid of (or enable) a lot of bloats.

it's a desirable method; but i couldn't compile due to some missing paths and packages that i have not enough experience to resolve that's why i resorted to the binaries.
your thoughts make your reality
User avatar
ange
 
Posts: 59
Joined: 2008-02-01 17:23
Location: Nador, Morocco

Re: how to install the latest build of firefox from mozilla

Postby Issyer » 2008-02-16 00:14

ange wrote:it's a desirable method; but i couldn't compile due to some missing paths and packages that i have not enough experience to resolve that's why i resorted to the binaries.

From my experience FF-2.0 is the nicest. Other ones even the most latest tend to crash too often. I compiled one, though.
User avatar
Issyer
 
Posts: 3055
Joined: 2007-05-23 02:59
Location: Khakassia

Re: how to install the latest build of firefox from mozilla

Postby ange » 2008-02-16 15:28

Issyer wrote:From my experience FF-2.0 is the nicest. Other ones even the most latest tend to crash too often. I compiled one, though.

The hive is that FF bugs and vulnerabilities are fixed in every next release. I absolutely agree that FF-2.0 is the most stable.
your thoughts make your reality
User avatar
ange
 
Posts: 59
Joined: 2008-02-01 17:23
Location: Nador, Morocco

Postby sumtom » 2008-02-17 21:06

i have firefox in ~/applications ... symlink to ~/bin (added to $PATH)

I absolutely agree that FF-2.0 is the most stable.

FF-minefield build 2008021104 here and never crashed :)
sumtom
 
Posts: 4
Joined: 2008-02-13 13:02

FF 2.0.0.12 keeps crashing on my pc.

Postby ange » 2008-02-18 01:13

sumtom wrote:FF-minefield build 2008021104 here and never crashed :)

u're lucky FF 2.0.0.12 keeps crashing on my pc.
your thoughts make your reality
User avatar
ange
 
Posts: 59
Joined: 2008-02-01 17:23
Location: Nador, Morocco


Return to Docs, Howtos, Tips & Tricks

Who is online

Users browsing this forum: No registered users and 4 guests

fashionable