how to check dependencies of packages

Gerard Beekmans gerard at
Wed Sep 11 19:25:52 PDT 2002

On September 5, 2002 06:46 am, Matthias Benkmann wrote:
> strace
> > Is it possible to separate necessary from optional dependencies?
> No.

It's near impossible to automate. You'll have to do trial&error runs to see 
what is really necessary and what is not. First you find all the dependencies 
that a package normally uses. Then you try to build that package while you 
move one of the dependencies out of the way. Maybe it'll still build just 
fine. An example:

The 'make' program needs 'make' to build itself. But, in the event your 'make' 
isn't working properly or is missing, you can build it without 'make'. So 
that 'make' for 'make' dependency is highly recommended and pretty much 
required, but technically speaking it can be deemed optional.

Same with the /bin/install program. If it's missing, some packages come with 
their own install script. It doesn't have the same functionality but it can 
get the job done.

So, trial & error.

Gerard Beekmans

-*- If Linux doesn't have the solution, you have the wrong problem -*-
Unsubscribe: send email to listar at
and put 'unsubscribe lfs-dev' in the subject header of the message

More information about the lfs-dev mailing list