Install Real Firefox in Debian

  1. Download Firefox

    Download latest version of the original Mozilla Firefox for Linux from the official Mozilla website here, and put it in the Downloads folder within your Home directory (/home/YourUserName/Downloads).

  2. Install Firefox

    • Copy and extract Firefox archive
      Open Terminal, and change directory (cd) to the Downloads folder 

      cd Downloads

      Then run the following commands (one-by-one):

      sudo cp firefox-*.tar.bz2 /opt
      cd /opt
      sudo tar -xvf firefox-*.tar.bz2
      sudo rm firefox-*.tar.bz2

      Create symbolic link to firefox binary
      Backup (move) any existing firefox bin:

      sudo mv /usr/bin/firefox /usr/bin/firefox.backup

      Create symbolic link to the real firefox binary:

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


      Create Firefox Application Shortcut

      Create symbolic links for firefox icon

      sudo ln -s /opt/firefox/icons/mozicon128.png /usr/share/icons/hicolor/128x128/apps/firefox.png & sudo ln -s /opt/firefox/icons/mozicon128.png /usr/share/pixmaps/firefox.png

      Create firefox.desktop file in /usr/share/applications
      Open gedit (or another text editor app) with root privilege:


      gksu gedit /usr/share/applications/firefox.desktop

      Then copy-paste the following text:

      [Desktop Entry]
      Comment=Browse the World Wide Web
      GenericName=Web Browser
      X-GNOME-FullName=Firefox Web Browser
      Exec=/opt/firefox/firefox %u

      Save the file (as “firefox.desktop” in /usr/share/applications folder)
      You should now have Firefox Web Browser in GNOME applications menu.

      Update Firefox

      If you install Firefox on your system using the above method, you can update your Firefox installation by running Firefox browser as Root, and then update using build-in updater in Firefox window.

      Press Alt+F2, and run the following command:

      gksu firefox

      Then in Firefox window, navigate to the Help menu ==> About Firefox. From the About Mozilla Firefox window, you can see update status and perform update process.

    • mozilla-firefox-debian-about
      Running Firefox as Root should not be used for regular web browsing.