Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

Problem with opening Firefox

New to Debian (Or Linux in general)? Ask your questions here!
Post Reply
Message
Author
mdofx
Posts: 1
Joined: 2010-04-04 15:15

Problem with opening Firefox

#1 Post by mdofx »

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?

User avatar
roseway
Posts: 1528
Joined: 2007-12-31 22:50
Location: Kent, UK
Has thanked: 3 times
Been thanked: 4 times

Re: Problem with opening Firefox

#2 Post by roseway »

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
the trooper
Posts: 28
Joined: 2010-04-01 21:46
Location: England

Re: Problem with opening Firefox

#3 Post by the trooper »

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......"

cynwulf

Re: Problem with opening Firefox

#4 Post by cynwulf »

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.

johnschong
Posts: 6
Joined: 2009-07-31 01:47

Re: Problem with opening Firefox

#5 Post by johnschong »

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$ 

cynwulf

Re: Problem with opening Firefox

#6 Post by cynwulf »

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?

Post Reply