Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

I am getting the error "command not found" at the linux terminal when trying to run the extracted tar.bz2,as given in the installation instructions.Any advice?

  • 14 svar
  • 9 har dette problemet
  • 1008 views
  • Siste svar av ashfinance

more options

I have extracted firefox at the linux terminal in my own home directory,and trying to run the executable called firefox.But it is saying "command not found".

I have extracted firefox at the linux terminal in my own home directory,and trying to run the executable called firefox.But it is saying "command not found".

Valgt løsning

You appear to have 64-bit Linux as the Linux builds served on mozilla.org are 32-bit.

ftp://ftp.mozilla.org/pub/firefox/releases/21.0/linux-x86_64/

Les dette svaret i sammenhengen 👍 2

All Replies (14)

more options

Also,it is saying when I am putting the full path(and I am pretty sure I have not made any mistakes in there) "No such file or directory."

more options

If you start Firefox from a directory then you need to use ./firefox

I use scripts like this to run multiple versions at once:

#!/bin/sh

cd /usr/local/firefox
./firefox -no-remote -P "default"

See also:

You can use the -no-remote command line switch to open another Firefox instance with its own profile and run multiple Firefox instances simultaneously, but do not use this with the default profile.


more options

I tried that...still getting this error

bash: ./firefox: No such file or directory.
more options

Are you running this command in the directory where you installed Firefox (ls -l)?

more options

Yes.In the same directory.

more options

So, is there a firefox file in that folder?

What is the output of ls -l?

Did you check the permissions to make sure that you have read access?

more options

Output of ls -l

total 42404
-rw-r--r-- 1 sreekar sreekar      610 May 12 01:47 application.ini
drwxr-xr-x 7 sreekar sreekar     4096 May 12 02:41 browser
-rw-r--r-- 1 sreekar sreekar       40 May 12 02:41 chrome.manifest
drwxr-xr-x 2 sreekar sreekar     4096 May 12 02:41 components
-rwxr-xr-x 1 sreekar sreekar   138636 May 12 02:41 crashreporter
-rw-r--r-- 1 sreekar sreekar     4003 May 12 00:47 crashreporter.ini
drwxr-xr-x 3 sreekar sreekar     4096 May 12 02:41 defaults
-rw-r--r-- 1 sreekar sreekar      127 May 12 02:31 dependentlibs.list
drwxr-xr-x 2 sreekar sreekar     4096 May 12 02:41 dictionaries
-rwxr-xr-x 1 sreekar sreekar    96600 May 12 02:41 firefox
-rwxr-xr-x 1 sreekar sreekar    96604 May 12 02:41 firefox-bin
drwxr-xr-x 2 sreekar sreekar     4096 May 12 02:41 icons
-rw-r--r-- 1 sreekar sreekar      899 May 12 02:41 libfreebl3.chk
-rwxr-xr-x 1 sreekar sreekar   331704 May 12 02:41 libfreebl3.so
-rwxr-xr-x 1 sreekar sreekar     5908 May 12 02:41 libmozalloc.so
-rwxr-xr-x 1 sreekar sreekar   636424 May 12 02:41 libmozsqlite3.so
-rwxr-xr-x 1 sreekar sreekar   189808 May 12 02:41 libnspr4.so
-rwxr-xr-x 1 sreekar sreekar   875576 May 12 02:41 libnss3.so
-rwxr-xr-x 1 sreekar sreekar   402724 May 12 02:41 libnssckbi.so
-rw-r--r-- 1 sreekar sreekar      899 May 12 02:41 libnssdbm3.chk
-rwxr-xr-x 1 sreekar sreekar   118312 May 12 02:41 libnssdbm3.so
-rwxr-xr-x 1 sreekar sreekar   114104 May 12 02:41 libnssutil3.so
-rwxr-xr-x 1 sreekar sreekar    13356 May 12 02:41 libplc4.so
-rwxr-xr-x 1 sreekar sreekar    10764 May 12 02:41 libplds4.so
-rwxr-xr-x 1 sreekar sreekar   123492 May 12 02:41 libsmime3.so
-rw-r--r-- 1 sreekar sreekar      899 May 12 02:41 libsoftokn3.chk
-rwxr-xr-x 1 sreekar sreekar   193016 May 12 02:41 libsoftokn3.so
-rwxr-xr-x 1 sreekar sreekar   199560 May 12 02:41 libssl3.so
-rw-r--r-- 1 sreekar sreekar    11948 May 12 02:41 libxpcom.so
-rwxr-xr-x 1 sreekar sreekar 32940036 May 12 02:41 libxul.so
-rwxr-xr-x 1 sreekar sreekar    90648 May 12 02:41 mozilla-xremote-client
-rw-r--r-- 1 sreekar sreekar  6311003 May 12 02:41 omni.ja
-rw-r--r-- 1 sreekar sreekar      135 May 12 02:30 platform.ini
-rwxr-xr-x 1 sreekar sreekar    82252 May 12 02:41 plugin-container
-rw-r--r-- 1 sreekar sreekar     2371 May 12 02:41 precomplete
-rw-r--r-- 1 sreekar sreekar    36288 May 12 02:41 removed-files
-rwxr-xr-x 1 sreekar sreekar     8915 May 12 00:46 run-mozilla.sh
-rw-r--r-- 1 sreekar sreekar      825 May 12 00:47 Throbber-small.gif
-rwxr-xr-x 1 sreekar sreekar   145060 May 12 02:41 updater
-rw-r--r-- 1 sreekar sreekar      681 May 12 02:33 updater.ini
-rw-r--r-- 1 sreekar sreekar      132 May 12 01:47 update-settings.ini
drwxr-xr-x 2 sreekar sreekar     4096 May 12 02:41 webapprt
-rwxr-xr-x 1 sreekar sreekar   123020 May 12 02:41 webapprt-stub

Endret av cor-el

more options

I tried to make it easier to read.


(edited the previous reply, so this reply is no longer needed - c)

Endret av cor-el

more options

That looks OK to me, so starting Firefox via ./firefox should work AFAICT.

Does this also happen if you create a desktop launcher and browse to this location?

more options

I use an Openbox desktop,so I dont use launchers.But my attempts at opening firefox are always unsuccessful.

more options

Did you make sure that you meet the System Requirements for this Firefox version?

more options

Valgt løsning

You appear to have 64-bit Linux as the Linux builds served on mozilla.org are 32-bit.

ftp://ftp.mozilla.org/pub/firefox/releases/21.0/linux-x86_64/

more options

My problem is solved,but could you point me to some rescource explaining the nature of this(32 bit builds giving this sort of error).

more options

I am getting the same error. Can you please let me know how you have fixed it ?

@ubwebpc:/usr/local/firefox$ firefox

-bash: /usr/local/firefox/firefox: No such file or directory

Endret av ashfinance