LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   Where are dependencies in Slackware packages? (https://www.linuxquestions.org/questions/slackware-14/where-are-dependencies-in-slackware-packages-135181/)

sbassi 01-15-2004 03:35 PM

Where are dependencies in Slackware packages?
 
Hello all,

I'd like to know how could I find the dependency between all the Slackware packages. I want to customize an installation using tag files, but I don't want to install programs without all requiered files.
As far as I know, using tag files I could install "Python-demos" without "Python", but, "Python-demos" won't work.
Hope someone could help me. Thank you very much!

slightcrazed 01-15-2004 04:23 PM

The package description usually (emphasis on usually) lists the package dependancies, if any. Be careful though because I don't believe that 'assumed' dependencies are listed (i.e. programs that would be considered part of a 'standard' slackware install).

slight

Tinkster 01-15-2004 04:24 PM

There is no dependeny checking.


You can help yourself, though, reasonably easily.

All you need to do is
explodepkg
the package in question, then do a
find -type f -perm -ugo+x -exec ldd {} \;
and look for the files returned in
/var/log/packages/* ... if not present,
look through
<cdmountpoint>/slackware/*/*.txt
and install the matching ones :}

A nice little scripting task.


Cheers,
Tink


All times are GMT -5. The time now is 10:59 AM.