Ubuntu / Linux news and application reviews.


When trying to compile something from source in Linux, there may be lots of dependencies missing. Running the ./configure command will only tell you one missing dependency. Then you must run ./configure again, install another missing dependency, run it again and so on.

However, you can make ./configure tell you everything that it's missing or failed, running it only once. For this, use the following command:

./configure -n > config.txt

Then check the config.txt file for all the lines that say no, missing, or failed.

The -n will run configure but nothing will actually be changed. You can also use ./configure -h - it will give you the options.

[thanks to the tip: StanTweedle user @ reddit]