How to Install Firefox in Debian Linux

Download Firefox as the packed archive from Mozilla web site., Go to your home directory and type "nano firefox.sh" to create the shell script to launch the Firefox., You can create a shortcut to the shell script you wrote and use it without...

3 Steps 1 min read Easy

Step-by-Step Guide

  1. Step 1: Download Firefox as the packed archive from Mozilla web site.

    Unpack the archive in /opt/ directory.

    Use command "sudo mv firefox /opt/" to move extracted folder to /opt directory.

    The content contains files like firefox, firefox-bin and others that should launch the browser.

    Try them.

    If this works, you are done.

    However do not panic if this fails.

    If the Firefox complains about the missing library that you see in its folder, try export LD_LIBRARY_PATH = <folder where you have placed firefox>.

    Later you can write the shell script where the first line will be this export statement and second
    - the actual command to launch the Firefox.

    Firefox may also complain about some other missing libraries.

    This is because we bypass the Debian package manager that would solve these missing dependencies.

    To get other missing libraries, try to run tool like "Synaptic package manager" that provides a user friendly search by name.

    If you do not have the user friendly manager, install it with apt-get install synaptic (run as root).

    Firefox should start after you install its needed libraries that way.
  2. Step 2: Go to your home directory and type "nano firefox.sh" to create the shell script to launch the Firefox.

    It can be the simple script like #!/bin/sh export LD_LIBRARY_PATH=/opt/firefox/firefox /opt/firefox/firefox/firefox-bin , At the same time, you preserve the opportunity to launch IceWeasel, if needed.
  3. Step 3: You can create a shortcut to the shell script you wrote and use it without problems.

Detailed Guide

Unpack the archive in /opt/ directory.

Use command "sudo mv firefox /opt/" to move extracted folder to /opt directory.

The content contains files like firefox, firefox-bin and others that should launch the browser.

Try them.

If this works, you are done.

However do not panic if this fails.

If the Firefox complains about the missing library that you see in its folder, try export LD_LIBRARY_PATH = <folder where you have placed firefox>.

Later you can write the shell script where the first line will be this export statement and second
- the actual command to launch the Firefox.

Firefox may also complain about some other missing libraries.

This is because we bypass the Debian package manager that would solve these missing dependencies.

To get other missing libraries, try to run tool like "Synaptic package manager" that provides a user friendly search by name.

If you do not have the user friendly manager, install it with apt-get install synaptic (run as root).

Firefox should start after you install its needed libraries that way.

It can be the simple script like #!/bin/sh export LD_LIBRARY_PATH=/opt/firefox/firefox /opt/firefox/firefox/firefox-bin , At the same time, you preserve the opportunity to launch IceWeasel, if needed.

About the Author

G

Grace Edwards

Specializes in breaking down complex crafts topics into simple steps.

33 articles
View all articles

Rate This Guide

--
Loading...
5
0
4
0
3
0
2
0
1
0

How helpful was this guide? Click to rate: