Thomas Trepl wrote:
> Hi,
> 
> just a dumb idea which came up when I thought about the possible content of a 
> "core"-book or such:
> Could it be possible to generate a list of packages which are most used as 
> depedencies by other packages?  That is as the other way round as looking at 
> a 
> package for which other packages are used as dependency but which packages 
> are 
> using this particular package as (required) dependency.
> I've no idea whether such an analysis would bring useful information.
> 
> So i think about a result of something like "libthis is used by 123 other 
> packages, but libthat is used by 2."  So, the libthis could be a candidate 
> for 
> the core, the libthat not so much.

If you have the xml:

find -name \*.xml| grep -v /tmp | xargs grep linkend | \
sed -r 's/.*(linkend=".*").*/\1/'| sort

Then count the identical lines.

Some of the ones used a lot (more than 10) are GConf, GTK, alsa, 
alsa-lib, avahi, cups, db, cyrus-sasl, dbus, dbus-glib, docbook-utils,
doxygen, etc.

There are a total of 3499 references and I see 573 unique refs.  Not all 
the refs are packages.

   -- Bruce
-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to