On 07/17/2011 02:28 PM, James Wall wrote: > On Sun, Jul 17, 2011 at 4:19 PM, Michael Sullivan <msulli1...@gmail.com> > wrote: >> I'm running into space issues (my / partition is at 99% of capacity) and >> I'd like some advice on what I can remove and how. My USE line in >> /etc/make.conf looks like this: >> >> USE="-setup declarative static-libs gallium moonlight semantic-desktop >> -kdeprefix -aqua policykit cdda vhosts automount flashblock jadetex >> vanilla additions mplayer -evo gentoo a52 -asterisk dbus ctype session >> zaptel ivtv -kerberos gphoto2 pcre mode-owner -firefox seamonkey >> -mozilla candy apache2 oss -apm alsa arts avi berkdb bitmap-fonts cdr >> crypt cups doc encode fortran f77 foomaticdb gdbm gif gpm -gnome >> gstreamer -gtk -gtk2 imlib jpeg -kde libg++ libwww mad mikmod motif mpeg >> ncurses nls oggvorbis pam pdf lib png ppds python -qt quicktime readline >> -samba sasl sdl threads nntp spell ssl svga tcltk tcpd truetype usb X >> xml xml2 xmms xv zlib x86 imap offensive java mysql examples mmx mmx2 >> perl divx4linux real mmxext audiofile nas snmp hal unicode guile slp >> tidy dvd dvdr dvdread flash glut new-login browserplugin nsplugin bzip2 >> win32codecs v4l v4l2 ruby sql lirc mythtv dvb ffmpeg userlocales php >> -debug jack jack-tempfs portaudio bash-completion bind-mysql joystick >> cli cgi ftp dba nptl nptlonly libclamav syslog jikes mpm-leader ithreads >> -nautilus tcl expat" >> >> and I'd like to completely remove both gnome and kde (except for kpat). >> I use xfce, so that shouldn't be a problem, right? I've tried emerge >> -C gnome and emerge -C kde, but the gnome line only unmerged the final >> gnome package, and the kde line didn't work at all (I'm thinking it's >> called kde-meta now), but unmerging kde-meta only unmerged the final kde >> package. How do I do this? >> >> > > I would recommend using emerge -p --depclean to see what can be yanked > off automatically. since you have the gnome and kde-meta packages > already uninstalled it should pull all the chunks out for you.
I also use "eclean-dist -d" every week or two to delete the obsolete source tarballs from /usr/portage/distfiles. Sometimes I free up a huge amount of disk space that way.