Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. 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

Fairly newbie. Fresh Debian install. I need to compile a package but the "./configure command" does not work ? Getting the following error :

-bash ./configure : No such file or directory

Where is that script ? Locate did not give something

share|improve this question
up vote 2 down vote accepted

locate will not work unless you have a up-to-date database.

Try find . -type f -name configure instead, or issue a updatedb command first, then do the locate (make sure the current path isn't excluded)

share|improve this answer
OK thx, got it fixed. – Mille Bii Feb 18 '13 at 10:45

The 'configure' command is NOT a standard Linux/UNIX command.

configure is a script that is generally provided with the source of most standardized type Linux packages and contains code that will "patch" and localize the source distribution so that it will compile and load on your local Linux system. Sometimes configure is put on your disk without the execute bit set, so the configuration could be invoked by sh ./configure....depending on the package, that is why they tell you to look at any type of README file.

share|improve this answer

usually configure is in the top directory after you extracted the source of a package.


mst@mst-gentoo-ws /tmp $ tar -xzf nginx-1.2.0.tar.gz 
mst@mst-gentoo-ws /tmp $ ls nginx-1.2.0/configure 

so after unpacking, you have to cd into the newly created folder, and thats where configure should be.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.