Home Download Debian

Install Firefox in Debian

Mozilla made Firefox package a very good one, because you don't need to install it anymore. Just untar, copy, place shortcut and that's it.

Steps required to "install" Firefox


Get Firefox:

Go to www.mozilla.org and download the latest version of Firefox.

Uninstall any versions of iseweasel:

apt-get remove iceweasel

usually iceweasel is your main browser under Debian and we want it gone to be able to install Firefox smoothly.

Copy the downloaded file in /opt folder:

cp firefox-11.0.tar.bz2 /opt

change firefox-11.0.tar.bz2 to your downloaded version

Untar the file:

tar -jxvf firefox-11.0.tar.bz2 /opt

Change owner and permissions:

chown -R root:users /opt/firefox

chmod 750 /opt/firefox

usermod -a -G users username

where username its your (current) username.

Create a symbolic link:

ln -s /opt/firefox/firefox /usr/bin/firefox

Delete Firefox archive:

rm firefox-11.0.tar.bz2

Make a shortcut:

touch /usr/share/applications/firefox.desktop

nano /usr/share/applications/firefox.desktop

paste this:

[Desktop Entry]
Encoding=UTF-8
Name=Mozilla Firefox
Comment=Browse the World Wide Web
Type=Application
Terminal=false
Exec=/usr/bin/firefox %U
Icon=/opt/firefox/icons/mozicon128.png
StartupNotify=true
Categories=Network;WebBrowser;

That's it!

Note: if you don't find any Firefox icon under Applications -> Internet or you can't start Firefox, just reboot the system. That did the trick for me!

Resources: superuser.com

0 comments:

Post a Comment