HowTo: Firefox, the "real" thing.

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

HowTo: Firefox, the "real" thing.

Postby lemoicavalier » 2007-08-24 00:07

Why this HowTo?

I can think of many reasons as to why anyone would want to install Firefox from binary source instead of using Debian's Iceweasel...
Maybe a website actually requires the user agent Firefox, maybe you think foxes are sexy; or maybe, just maybe! You suffer of an irrational fear of weasels! (I'm not judging! Promise!)

But it's because of the reasons that I can't think of that this HowTo was born.

Anyways, the only assumption I make here is that you have a working Internet Connection and that Iceweasel is not installed. Because of that pretty much all the code and explanations are aimed towards new users.

Ok. Let's do it!

Open a console and log in as root. Enter root's password when asked:
Code: Select all
su

Firefox depends on libstdc++5. Install it by running this command:
Code: Select all
apt-get install libstdc++5

Next, you can either type the codes manually, or just copy and paste to avoid typos... It's really up to you (This is not a typing lesson after all):
Code: Select all
cd /opt
wget ftp://ftp.mozilla.org/pub/mozilla.org/firefox/releases/2.0.0.9/linux-i686/en-US/firefox-2.0.0.9.tar.gz
tar -xvf firefox-2.0.0.9.tar.gz
ln -s /opt/firefox/firefox /usr/bin/firefox
rm -rf /opt/firefox/plugins/ && ln -s /usr/lib/mozilla/plugins/ /opt/firefox/plugins
    - The 1st line changes your location to /opt. I like it there becuase it doesn't interfer with the Debian's defaults.
    - The 2nd line downloads the latest Firefox's code. If you need a lenguage different then US English, go to ftp://ftp.mozilla.org/pub/mozilla.org/firefox/releases/2.0.0.7/linux-i686/ and change the en-US line with your language code.
    - The 3rd line untars the code to /opt/firefox/
    - The next line creates a link at /usr/bin so you can start Firefox from any console just by typing firefox
    - Next one removes the plugin folder and replaces it with a link to the Debian's pluggins. This is so we don't have to update links when adding, removing or upgrading plugins.
And that's it! You can create a shortcut to it, added to your menu or task bar, or alt+F2 and type firefox... Whatever!

Note:
When a new Firefox version is released, all you have to do is enter as root and type:
Code: Select all
rm -rf /opt/firefox*
rm /usr/bin/firefox


That will remove all traces of the current install. After that all you have to do is follow this procedure, but modified with the new source..

*********************************************************************************************
Changelog:
v 0.1
- 1st release. Firefox Version 2.0.0.6. 08-23-2007. GPL.
v 0.2
- Updated to Firefox Version 2.0.0.7. 09-24-2007
- Added libstdc++5 dependency
v 0.3
- Updated to Firefox Version 2.0.0.8. 10-19-2007
v 0.4
- Updated to Firefox Version 2.0.0.9. 11-12-2009
Last edited by lemoicavalier on 2007-11-13 01:50, edited 4 times in total.
Debian Sid, Kernel 2.6.23.8, KDE 3.5.8
I have conquered the holy mountain horizontally!
LeMoi, He whose planet is Venus.
User avatar
lemoicavalier
 
Posts: 446
Joined: 2007-07-22 10:58
Location: Plano, Tx. US of A

Re: HowTo: Firefox, the "real" thing.

Postby lemoicavalier » 2007-08-24 00:08

Reserved, for whatever! You never know.
Debian Sid, Kernel 2.6.23.8, KDE 3.5.8
I have conquered the holy mountain horizontally!
LeMoi, He whose planet is Venus.
User avatar
lemoicavalier
 
Posts: 446
Joined: 2007-07-22 10:58
Location: Plano, Tx. US of A

Postby ingo » 2007-09-03 13:35

nice one, but no joy :(

Code: Select all
dicker:/opt# firefox
Xlib: connection to ":0.0" refused by server
Xlib: No protocol specified


(firefox-bin:24195): Gtk-WARNING **: cannot open display:
dicker:/opt# 


what am I doing wrong?
User avatar
ingo
 
Posts: 197
Joined: 2007-04-15 14:15
Location: http://www.hi-motorbiketours.com

Postby plb » 2007-09-03 14:55

ehm...why are you trying to run it as root? ^^...anyway why not just download the tar file and just run it from your ~? works fine for me
plb
 
Posts: 472
Joined: 2007-04-22 14:24
Location: NYC

Postby ingo » 2007-09-03 15:02

very polite of you to point it out in such a restrained manner! DOH!!!!!
User avatar
ingo
 
Posts: 197
Joined: 2007-04-15 14:15
Location: http://www.hi-motorbiketours.com

Postby craigevil » 2007-09-03 23:47

Howto: Install Firefox 2 and various plugins on Debian Etch - Linux Forums
http://www.linuxforums.org/forum/debian ... -etch.html
Debian Sid KDE Kernel 3.17 Thinkpad R40 Intel M 1.3 CPU 2GB RAM Radeon Mobility 7500
Debian - "If you can't apt-get something, it isn't useful or doesn't exist"
Debian upgrade script smxi | sysinfo script inxi
User avatar
craigevil
 
Posts: 5192
Joined: 2006-09-17 03:17
Location: Oz

Postby Issyer » 2007-09-04 01:02

Nice howto. You can also download firefox from FTP repositories, unpack with file-roller and use together with iceweasel sharing the same .mozilla folder.
http://releases.mozilla.org/pub/mozilla ... /releases/
User avatar
Issyer
 
Posts: 3055
Joined: 2007-05-23 02:59
Location: Khakassia

Postby craigevil » 2007-09-04 02:56

Issyer wrote:Nice howto. You can also download firefox from FTP repositories, unpack with file-roller and use together with iceweasel sharing the same .mozilla folder.
http://releases.mozilla.org/pub/mozilla ... /releases/


Thats pretty much all I did, created a new profile, unpacked Firefox, created a menu shortcut, and copied the plugin symlinks to the appropriate dir. Took all of 5 minutes. I use IW 99% of the time and generally only use Firefox to check out a problem someone says they are having.
Debian Sid KDE Kernel 3.17 Thinkpad R40 Intel M 1.3 CPU 2GB RAM Radeon Mobility 7500
Debian - "If you can't apt-get something, it isn't useful or doesn't exist"
Debian upgrade script smxi | sysinfo script inxi
User avatar
craigevil
 
Posts: 5192
Joined: 2006-09-17 03:17
Location: Oz

Firefox updates.

Postby mmorse757 » 2008-04-16 02:21

OK, forgive the question. Why does the built in update function of Firefox not work when it is installed in this manner?

Michael
mmorse757
 
Posts: 1
Joined: 2008-04-16 02:13

Re: Firefox updates.

Postby lemoicavalier » 2008-04-17 03:13

mmorse757 wrote:OK, forgive the question. Why does the built in update function of Firefox not work when it is installed in this manner?

Michael


Didn't realize how long it has been since I was here the last time :(

As for the question: The build in update works just fine, but you have to run Firefox as 'root' so it's able to overwrite files; after all /opt is owned by root, and by default other users only get read access to it.

Easy way to go about it is to open a terminal and then:
Code: Select all
host +
su               (enter root pasword when prompted)
firefox

Go to Help > Check for Updates...
And that's it!


I've been meaning to update this HowTo and include that bit, but alas I haven't had time to visit this community for months now!
Debian Sid, Kernel 2.6.23.8, KDE 3.5.8
I have conquered the holy mountain horizontally!
LeMoi, He whose planet is Venus.
User avatar
lemoicavalier
 
Posts: 446
Joined: 2007-07-22 10:58
Location: Plano, Tx. US of A

Re: Firefox updates.

Postby TristanDee » 2009-12-11 15:06

lemoicavalier wrote:I've been meaning to update this HowTo and include that bit, but alas I haven't had time to visit this community for months now!

And now you haven't been updating this NICE HowTo for over a year!

Thanks for the tut. Haven't yet tried it on my Squeeze system though, but I hope it WILL work.

Just one question: Will there be any problem if Iceweasel is also installed on the system? Or do I need to uninstall Iceweasel?

Edit: Also, does Firefox still depend on libstdc++5?
...Our lives are mostly a constant evasion of ourselves. --TS Eliot
Linux User #501018
User avatar
TristanDee
 
Posts: 64
Joined: 2007-12-11 10:43
Location: Dhaka, Bangladesh

Re: HowTo: Firefox, the "real" thing.

Postby jheaton5 » 2009-12-12 16:01

I'm not having any issues using iceweasel. Why do I want to download firefox? OK, it's that freedom thing. Not everyone thinks like me. Perhaps you are fortunate that way.
debian sid
User avatar
jheaton5
 
Posts: 1489
Joined: 2008-08-20 01:40
Location: Newnan, GA, USA

Re: HowTo: Firefox, the "real" thing.

Postby TristanDee » 2009-12-12 19:23

jheaton5 wrote:I'm not having any issues using iceweasel. Why do I want to download firefox? OK, it's that freedom thing. Not everyone thinks like me. Perhaps you are fortunate that way.

No sir, it's not that. I've always used Iceweasel in Debian. I'm writing this very post through Iceweasel. I just wanted to try the REAL Firefox once with that good old logo and that orangish colour (perhaps I want to see if I can do those tricky things correct, I don't know). And yes, I love Firefox--the real one--more than its "clone" Iceweasel. But I'm happy with IW, no complaints with that.
...Our lives are mostly a constant evasion of ourselves. --TS Eliot
Linux User #501018
User avatar
TristanDee
 
Posts: 64
Joined: 2007-12-11 10:43
Location: Dhaka, Bangladesh

Re: HowTo: Firefox, the "real" thing.

Postby vrkalak » 2009-12-12 21:12

I have used Firefox for a number of years. Since FireFox 2.0 (IceWeasel) in PuppyLinux and my personal favorite FireFox 3.0. 3.0 is much better than the newer 3.5

I was using FireFox 3.5.5 in my Debian (testing) Xfce build. Of course, I had done some major 'tweaking' of the FireFox source files.

A few days ago, I found the daily build codes for FireFox in Launchpad.net and added them to my 'testing' repositories.
I am now running FireFox 3.7 - tweaked, of course.

In FireFox 3.7 I find that the fonts are sharper, crisper than in previous versions, and the taskbar to be more customizable.
Although, the Speed-dial feature (new for FireFox) is harder to configure than it was in Opera 10.
And, the big difference is the speed. It's 'stupid' fast ... faster the Chrome browser.

Of course, FireFox 3.7 is still in pre-Alpha. FireFox 3.6 is still in Beta 4. . . . :lol: I likes the 'bleeding edge'
User avatar
vrkalak
 
Posts: 268
Joined: 2009-10-08 03:43
Location: Santa Fe, NM, USA

Re: HowTo: Firefox, the "real" thing.

Postby Coco » 2009-12-12 21:31

No, thanks! I want Iceweasel or nothing. You keep your Firecrap!
"Giving the Linus Torvalds award to the Free Software Foundation is sort of like giving the Han Solo award to the Rebel Fleet." - Richard Stallman

My Libre.fm profile
User avatar
Coco
 
Posts: 317
Joined: 2009-07-29 07:55

Next

Return to Docs, Howtos, Tips & Tricks

Who is online

Users browsing this forum: No registered users and 6 guests

fashionable