Re: Automatic pruning of unused libs
dman <dsh8290@rit.edu> writes:
> On Sat, Dec 08, 2001 at 11:05:00AM -0800, Jeffrey W. Baker wrote:
> | Is there a program to remove libraries which were pulled in by apt-get
> | as prerequisites, but are no longer needed by anything? For example, my
> | system has libgtkhtml17, 18, 19, and 20. The three former versions are
> | not required by any installed package -- they just consume disk space.
> | It would be neat if apt-get remembered what packages were pulled in as
> | dependencies, and offered to remove them when they fall out of the
> | dependency tree.
>
> deborphan reports what libs are not depended on by any packages. You
> can then use that list to remove the ones you really don't want.
> (just think, suppose I have no installed packages using libgtkhtml18,
> but I am writing my own program using it -- I wouldn't want it
> automatically removed, but I would like to know what stuff isn't being
> used)
Also check out debfoster.
--
Brian Nelson <nelson@bignachos.com>
BigNachos@jabber.org
http://bignachos.com
Reply to: