Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I downloaded Firefox (firefox-15.0.1.tar.bz2) file from this link

Now That file is present under /opt directory, this is the permission of that file

-rw-r--r-- 1 root root 19280364 Sep 17 15:33 firefox-15.0.1.tar.bz2

I extracted that file using this command

tar -jvxf firefox-15.0.1.tar.bz2

now the extracted file present in Firefox directory (under /opt)

Inside Firefox directory one script is there, this is permission of that script

-rwxr-xr-x 1 root root 8915 Sep 6 04:52

I tried this command to execute that script

sh but it's showing this error

[root@localhost firefox]# sh Cannot execute .

I thought that it's a installation script...

Now what should I do, why its showing that error?

I am using CentOS 6.2

share|improve this question
Is there a reason you can't use the Firefox package shipped by you distro? sudo yum update; sudo yum install firefox should give you Firefox 10.0.5, installed and ready to go. – Eroen Sep 17 '12 at 12:27

The correct way to start Firefox is


The is only used internally. There is no installer.

share|improve this answer
Then how to open with GUI. using launcher I can do, but in Applications>Internet it's not showing the Firefox option for that what should I do? – max Sep 17 '12 at 11:58
You can create a launcher in the menu yourself, but honestly, that's what package management is for. yum install firefox does all that in a user-friendly way. – Stefan Seidel Sep 17 '12 at 12:01

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .