Slackware dependencies revealed

written by Tomas M. 304 days ago

Slackware itself doesn't track library dependencies, however sometimes I need to know what package is required by any other package. So I wrote small script which analyzes all slackware tarbals and uses ldd to get the dependency list.

Here is a result showing all packages from Slackware64-current:

http://www.tomas-m.com/blog/upload/slackware-deps.php

Isn't it useful to know that alsa-utils need over 40MB of other packages? Or phonon needs around 157MB of other stuff, and we are talking here about the compressed size!

It shows itself that the less-bloated clean Slackware installation should consist of these packages:

aaa_base
aaa_elflibs
cxxlibs
glibc-solibs
openssl-solibs
cyrus-sasl
attr
acl
bash
udev

Plus lilo, kernel, and kernel modules of course.

Tomas M.

User comments

[1] xcb567 wrote 282 days ago:

Any possibility that you might post that script for others to (ab)use?

[2] Dude wrote 252 days ago:

Your script may be accurate, but it is not precise :)
Let me explain: in case of aaa_elflibs (which is a hacked collection of a bunch of libs that exist in other packages) your script mentions it needs it needs cyrus-sasl, when it's not true for a minimal install.

Also (we are talking minimal install here) dbus does not need any X11 component.
I managed to get a working slackware minimal system (just enough to have network + slackpkg working).
With slackpkg you could then expand the minimal install as needed (this was my goal).

This minimal install was for slackware 13.1 and you an check the package list in this LQ forum thread:
http://www.linuxquestions.org/questions/slackware-14/slack-minimal-install-howto-829789/

You can't add your comment any longer since the post is too old.

(c) 2012, Tomas M; rss