Problem with opening Firefox

New to Debian (Or Linux in general)? Ask your questions here!

Problem with opening Firefox

Postby mdofx » 2010-04-04 15:23

Hi,

I have downloaded and unextracted the Firefox recently. And I got a problem with opening it.

When I typed the below commands in the terminal.

Code: Select all
~$ cd Firefox
~$ Firefox


The Firefox didn't start, but the Iceweasel.

Could anyone help me?
mdofx
 
Posts: 1
Joined: 2010-04-04 15:15

Re: Problem with opening Firefox

Postby roseway » 2010-04-04 15:51

The first thing to realise is that Iceweasel is Firefox with a different name, so you didn't have to download Firefox at all - you could simply use Iceweasel.

But if you really want to use your downloaded Firefox, then there are two more things to understand:

1. Filenames in Linux are case-sensitive, and the executable for Firefox is 'firefox', not 'Firefox'.
2. Linux handles file paths differently to Windows. To run an executable in the current directory, you should type ./ before the filename ('.' means the current directory). So the command which you should have typed after entering the directory where Firefox was extracted is:

./firefox
Eric
User avatar
roseway
 
Posts: 1510
Joined: 2007-12-31 22:50
Location: Kent, UK

Re: Problem with opening Firefox

Postby the trooper » 2010-04-04 19:40

You need to run the executable within the Firefox directory,so for example on my system It's run from /opt with the command:

/opt/firefox/firefox
"I will not be pushed,filed,stamped,indexed,briefed,debriefed or numbered.My life is my own......"
User avatar
the trooper
 
Posts: 28
Joined: 2010-04-01 21:46
Location: England

Re: Problem with opening Firefox

Postby cynwulf » 2010-04-04 19:57

the trooper wrote:You need to run the executable within the Firefox directory,so for example on my system It's run from /opt with the command:

/opt/firefox/firefox

That's pretty much how mine is set up. It works and it leaves Iceweasel set up as it is. I just added a launcher to the main menu.
cynwulf
 
Posts: 2396
Joined: 2008-09-25 08:49

Re: Problem with opening Firefox

Postby johnschong » 2010-04-06 01:25

I also have a problem when opening firefox

the terminal showed

Code: Select all
johnson@johnsonxp:~$ cd firefox
johnson@johnsonxp:~/firefox$ ./firefox
./firefox-bin: error while loading shared libraries: libgtk-x11-2.0.so.0: cannot open shared object file: No such file or directory
johnson@johnsonxp:~/firefox$
johnschong
 
Posts: 6
Joined: 2009-07-31 01:47

Re: Problem with opening Firefox

Postby cynwulf » 2010-04-06 08:16

johnschong wrote:I also have a problem when opening firefox

the terminal showed

Code: Select all
johnson@johnsonxp:~$ cd firefox
johnson@johnsonxp:~/firefox$ ./firefox
./firefox-bin: error while loading shared libraries: libgtk-x11-2.0.so.0: cannot open shared object file: No such file or directory
johnson@johnsonxp:~/firefox$

Do you have Iceweasel installed? In fact which desktop/wm are you running? I say this because libgtk2.0-0 is one of gnome's dependencies so should already be installed.

Also why are you installing firefox in your home directory?
cynwulf
 
Posts: 2396
Joined: 2008-09-25 08:49


Return to Beginners Questions

Who is online

Users browsing this forum: No registered users and 2 guests

fashionable