Results 1 to 10 of 13
I don't know if anyone is interested, but I found that Debian Etch comes with Firefox 1.5 rather that Firefox 2.0. There has been some talk about Firefox 2.0 rendering ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 12-26-2006 #1
Howto: Install Firefox 2 and various plugins on Debian Etch
Bookmark this page
We are going to need some additional repositories other than the basic ones used by a fresh Debian Etch Install. Start your Root Terminal and give roots password. Gnome users click Applications - Accessories - "Root Terminal". You should now have a nice pretty white window that says Terminal at the top.
I found a very easy to use editor for novices, it has a complete menu of all available options. To install this editor type:
debian:/# apt-get install ee
debian:/# ee /etc/apt/sources.list
debian:/# apt-get update
Firefox 2.0 depends on libstdc++5
debian:/# apt-get install libstdc++5
Firefox 2.0 may be available from the debian unstable repo as Iceweasel. However, I elected to go with the official Firefox 2.0. I am in the US and speak English so I use the en-US version of Firefox. Other versions can be found at ftp://ftp.mozilla.org/pub/mozilla.or....0/linux-i686/ pick your locale and substitute into the following code:
debian:/# cd /tmp debian:/# wget ftp://ftp.mozilla.org/pub/mozilla.org/firefox/releases/2.0/linux-i686/en-US/firefox-2.0.tar.gz
debian:/# cd /opt debian:/# tar -zxvf /tmp/firefox-2.0.tar.gz
debian:/# cd /opt/firefox debian:/# rm -R plugins debian:/# ln -s /usr/lib/firefox/plugins /opt/firefox
debian:/# ln -sf /opt/firefox/firefox /usr/bin/firefox debian:/# ln -sf /opt/firefox/firefox /usr/bin/mozilla-firefox debian:/# ln -sf /opt/firefox/firefox /usr/bin/mozilla
Now let's install some standard plugins.
Type the following command to install Java from debians contrib repo. You will be asked to accept Sun's license agreement.
debian:/# apt-get install sun-java5-jre sun-java5-fonts sun-java5-plugin
debian:/# update-java-alternatives --set java-1.5.0-sun
When I tested mine the plugin didn't work so I created a link from Sun's Java plugin to Firefox's plugin dir.
debian:/# ln -s /usr/lib/jvm/java-1.5.0-sun/jre/plugin/i386/ns7/libjavaplugin_oji.so /usr/lib/firefox/plugins/libjavaplugin_oji.so
Adobe's Flash Player 9
Now lets install Flash player 9. This install has been made painless by a package thats available in either the contrib or non-free repos.
debian:/# apt-get install flashplugin-nonfree
Adobe Acrobat Reader
There is an official Adobe Acrobat plugin for firefox in either the Debian contrib or non-free repos. You can install it using:
debian:/# apt-get install acroread acroread-escript acroread-plugins mozilla-acroread
Mplayer and mp3 stuff
If your like me, you get tired of going to sites and finding out that you can't view or listen to some video or music file because they used a format thats not open source. Debian-multimedia.org has fixed this for us. If you followed this howto exactly the repository is already setup. Simply do the following:
debian:/# apt-get install mplayer mplayer-skin-blue mozilla-mplayer w32codecs mplayer-docCode:
Optional Firefox Configuration
I don't like having to manually select urls in the url bar to navigate to a different site. I also like having the tab bar up all the time. I don't like the bookmarks bar up all the time. And all those security warnings talking about entering and leaving encrypted pages really don't make any sense to me. Also, by default Firefox doesn't use http.pipelining. pipelining allows the browser to use more available bandwidth to download pages quicker. If you agree with all of the above then you can fix it by following all of the following instructions:
Click View - Toolbars - "Bookmarks Toolbar"
Click Edit - Preferences - Tabs - "Always show the tab bar"
I don't know what it does, except slow down Firefox. But there is an addon running by default called DOM Inspector. The Description says that it "Inspects the structure and properties of a window and its contents." You can turn it off by clicking Tools - "Add-ons" under the heading "DOM Inspector" click Disable. Voila, Firefox is now a lot faster (at least on my old eMachine).
Urlbar, pipelining, security warnings
Now we are going to get into the actual Firefox Configuration. In the Firefox url bar type about:config
In the Filter bar type urlbar. The second item listed should be browser.urlbar.clickSelectsAll. Under the Value column right click on false then click toggle. The value field should now say true.
In the Filter bar type pipelining. The first line will say network.http.pipelining right click on false and click toggle. Now the third line will say network.http.proxy.pipelining right click on false and click toggle.
In the Filter bar type security.ui. The only option is security.ui.enable. Right click on true and click toggle.
Restart Firefox for all the new settings to take effect. Now you are rid of all the annoying things that cause people to not use firefox. Hopefully you will get as much enjoyment from all the new features and plugins as I do. Enjoy using Firefox 2.0.
- 12-26-2006 #2
Some tweaks for 2.0 that some people may like:
/* 2.0 UI tweaks */
/*Get rid of the ugly file picker*/
/*Block third part cookies*/
/* Set backspace key to go to previous page */
- 12-26-2006 #3
- Join Date
- Jul 2004
Hi craigevil, what is the file in iceweasel to edit all this?
- 12-26-2006 #4
ice weasel is Firefox with some debian tweaks. you can configure them both the same way. the preferred method is to type about:config in the url bar where you would type an internet address (like linuxforums.org). The is a file that you can manually edit. however, if you are not careful it is possible to really mess stuff up there.
--edit - I just checked all of the settings craigevil described and they are all available in about:config. type about:config in the url bar then copy each of the following into the filter bar 1 at a time. For each setting you will right click on the value column and then click either toggle or modify. Enter the settings that craigevil listed in his post.
layout.css.dpi browser.urlbar.hideGoButton ui.allow_platform_file_picker network.cookie.cookieBehavior browser.backspace_action
- 12-26-2006 #5
I always try to put modification in user.js, that way an upgrade doesn't tend to overwrite my changes.
All of my settings.
Nice guide BTW. I was lazy and simply extracted the Mozilla Firefox tar file to my hope directory then symlinked the plugins, when Firefox 2.0 first came out. Now I run Iceweasel most of the time.
- 12-26-2006 #6
Very nice tutorial if that's what I may call it. I bookmarked the page and saved it in a text file. I might publish this content on my website in the near future if it's OK with you. Of course, I will give the author credit
- 12-26-2006 #7
- Join Date
- Jul 2004
Thanks brokndodge and craigevil, it works!
- 12-29-2006 #8
- Join Date
- Dec 2006
Thanks for the how to it works very well just a small question when a new version comes out do i just update it the same way as it was installed or do i need to remove the old version first then reinstall the newer one the same way.
- 01-01-2007 #9
I believe Firefox2 will self update. But I'm not completely sure. Yet
- 01-02-2007 #10
Yes , if you have the update option checked under Advance it will update when Mozilla releases updates.
Debian's Firefox/Iceweasel updates in Sid usually come out 4-5 days after Mozilla releases an update., which is much better than most other distros.