public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Richard Fish" <bigfish@asmallpond.org>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] Removing unneeded libraries
Date: Fri, 11 Aug 2006 15:34:34 -0700	[thread overview]
Message-ID: <7573e9640608111534v1f4f9fe7r92ecad74c254ed7e@mail.gmail.com> (raw)
In-Reply-To: <20060811151047.10368.qmail@web86908.mail.ukl.yahoo.com>

On 8/11/06, JC Denton <jcdentonmail@yahoo.de> wrote:
> Does "eclean" or "emerge --depclean" remove libs that are orphaned?

Yes, provided you have not modified the files yourself.

> The problem is, that my /usr/lib/... and /usr/include/ almost 1 GB in size!

Sounds about right, but this command will generate a list of all
library files that portage things should be installed:

find /var/db/pkg/ -name CONTENTS | xargs grep /usr/lib/lib | awk '{
print $2 }' | sort

You can diff that with the output of "ls /usr/lib/lib*" to see what
may be there that portage doesn't know about.

-Richard
-- 
gentoo-user@gentoo.org mailing list



      parent reply	other threads:[~2006-08-11 22:39 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-08-11 15:10 [gentoo-user] Removing unneeded libraries JC Denton
2006-08-11 15:21 ` Hans-Werner Hilse
2006-08-11 16:11 ` Dale
2006-08-11 22:34 ` Richard Fish [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=7573e9640608111534v1f4f9fe7r92ecad74c254ed7e@mail.gmail.com \
    --to=bigfish@asmallpond.org \
    --cc=gentoo-user@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox