Install Firefox4 on debian Squeeze

by
Share this Article: Facebook0Google+0Twitter0LinkedIn0Reddit0StumbleUpon0

Question : How to install Firefox4 in Debian Squeeze?

Answer:

Firefox is not  the defaut borwser in Debian, in this post we will try to install firefox4.0 from source in Debian Squeeze

First, download Firefox4.0  tarball package

Now, Open  terminal  and, as root, type the following commands.

remove  the  iceweasel  browser

apt-get remove iceweasel
 mv firefox-4.0.tar.bz2 /usr/lib/
 cd /usr/lib/
 tar -jxvf firefox-4.0.tar.bz2
 ln -s /usr/lib/firefox/firefox /usr/bin/firefox 

If you prefer, you can simplify the above commands by copying/pasting the following text onto your terminal command line:

apt-get remove iceweasel; mv firefox-4.0.tar.bz2 /usr/lib/; cd  /usr/lib/; tar -jxvf firefox-4.0.tar.bz2; ln -s  /usr/lib/firefox/firefox /usr/bin/firefox 

Now, you’ll need to create a symlink from /usr/lib/firefox/plugins/ to /usr/lib/mozilla/plugins/, using this two-part command (as root):

rm -rf /usr/lib/firefox/plugins; ln -s /usr/lib/mozilla/plugins /usr/lib/firefox/plugins.

Because  of  some  libgtk  isssues  you  have  to install some  dependencies  manually

apt-get  install ia32-libs-gtk

now   you  are   ready  to  start the firefox  from the  terminal

 

  • Add the  firefox  icon  to the  menu bar

right click  > add to  panel> Custum application Luncher  >

Name: application

name: firefox

Command: firefox

Comment : firefox

You  can change  the  icon  from  the  /usr/lib/firefox/icons

Enjoy

For questions please refer to our Q/A forum at : http://ask.unixmen.com/


Share this Article: Facebook0Google+0Twitter0LinkedIn0Reddit0StumbleUpon0