It was thus said that the Great Jules Richardson once stated:
Sadly UNIX is going the way of Windows - you get given what comes with an
app, and never mind if you never use 90% of the functionality. OK, that's
an unfair percentage - but I bet that 30% of my most-used apps consist of
junk code which I don't actually need. And that's just the visual cruft
that I know about; I bet there's a lot more under the covers because my
apps either contain functionality also provided by some of the libraries
which they reference, or they require a library which provides extra
services not needed by my system.
Just try figuring out the absolute minimum dependencies of a modern
application though. For instance, I use Cacti [1] and I *have* installed
that by hand but man, it's a real pain. Cacti requires the use of RRDTool
[2] which itself required a few libraries for manipulating JPEGs, PNGs, and
GIFs, along with a free font support system. Cacti also requires MySQL [3]
so there's *that* app, and SNMP so you can't forget that base of
utilties/library. Cacti, being written in PHP, requires *that* along
with a number of PHP modules (for talking with MySQL, integration with GD,
integration with SNMP and to see the results, you need Apache with PHP
support.
Oh, and cron. Can't forget cron, which runs a PHP script every five
minutes to poll the devices being monitored.
And I've yet to figure out what's required to get USB block storage
devices supported under Linux [4].
-spc (Who has more experience with Cobalt RaQs than he cares to admit)
[1] Network monitoring tool that uses SNMP to make pretty graphs.
[2] A suit of programs/library that is used to store data from a time
series in a fixed-length file (as the data gets older, it gets
resampled into larger time slices).
[3] A monster of a program, but while huge, it's pretty easy to compile
and install (and yes, I've done that too, since pre-built binaries
for one of the architectures we have are hard to come by).
[4] I found it easier to reinstall Linux to get that support than to try
to figure out how to get it working myself. When I first installed
the system, I didn't include USB support since I didn't need it on
the server. A couple of years later though, and our backups are
done to an external harddrive connected via USB. It was quicker for
me to reinstall the OS than to divine the arcane incantations.