* [gentoo-user] Removing unneeded libraries
@ 2006-08-11 15:10 JC Denton
2006-08-11 15:21 ` Hans-Werner Hilse
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: JC Denton @ 2006-08-11 15:10 UTC (permalink / raw
To: gentoo user
[-- Attachment #1: Type: text/plain, Size: 412 bytes --]
Hi!
Does "eclean" or "emerge --depclean" remove libs that are orphaned? And if not, how can I find out if a lib could be removed from the system?
The problem is, that my /usr/lib/... and /usr/include/ almost 1 GB in size! I think there is a lot of unneccessary stuff
Regards, JC!
---------------------------------
NEU: Fragen stellen - Wissen, Meinungen und Erfahrungen teilen. Jetzt auf Yahoo! Clever.
[-- Attachment #2: Type: text/html, Size: 517 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [gentoo-user] Removing unneeded libraries
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
2 siblings, 0 replies; 4+ messages in thread
From: Hans-Werner Hilse @ 2006-08-11 15:21 UTC (permalink / raw
To: gentoo-user
Hi,
On Fri, 11 Aug 2006 17:10:47 +0200 (CEST) JC Denton
<jcdentonmail@yahoo.de> wrote:
> Does "eclean" or "emerge --depclean" remove libs that are orphaned?
> And if not, how can I find out if a lib could be removed from the
> system?
"emerge --depclean" does. Orphaned meaning "installed as a dependency
of something that is itself already deinstalled" (i.e. not in the
world-file). Be sure to check the list with "-p" before really doing
this!
> The problem is, that my /usr/lib/... and /usr/include/ almost 1 GB in
> size! I think there is a lot of unneccessary stuff
Hm, I don't think so. Mine is similar: about 950MB. OpenOffice takes
370MB (it's the -bin version, it includes a lot of redundant
libraries). My GCCs take about 200MB (including java support). Then
there's Perl, 2x Python, 2x PHP and Wine's archive of windows DLLs. So
I think about 1G is quite normal for a typical desktop.
-hwh
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [gentoo-user] Removing unneeded libraries
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
2 siblings, 0 replies; 4+ messages in thread
From: Dale @ 2006-08-11 16:11 UTC (permalink / raw
To: gentoo-user
JC Denton wrote:
> Hi!
>
> Does "eclean" or "emerge --depclean" remove libs that are orphaned?
> And if not, how can I find out if a lib could be removed from the system?
>
> The problem is, that my /usr/lib/... and /usr/include/ almost 1 GB in
> size! I think there is a lot of unneccessary stuff
>
>
> Regards, JC!
>
> ------------------------------------------------------------------------
> NEU: Fragen stellen - Wissen, Meinungen und Erfahrungen teilen. Jetzt
> auf Yahoo! Clever
> <http://de.rd.yahoo.com/xx/searchpromo/i/tagline/cleverfp/*http://de.answers.yahoo.com>.
Mine is 1.1GBs here. I have a lot of "stuff" installed. ;-)
Dale
:-) :-)
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [gentoo-user] Removing unneeded libraries
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
2 siblings, 0 replies; 4+ messages in thread
From: Richard Fish @ 2006-08-11 22:34 UTC (permalink / raw
To: gentoo-user
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
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2006-08-11 22:39 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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 is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox