[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Weeding



Bill Wohler wrote:
>   OK, my disk filled up today. Ultimately, I'll get a bigger disk, but
>   in the short term, I'd like to remove some large, unused packages. Is
>   there a tool that gives me a list of installed packages, sorted by
>   size? 

grep-dctrl -F Status 'ok installed' /var/lib/dpkg/status -n \
	-s Installed-Size,Package | perl -pe 's/^(\d+)\n/$1 /' \
	| sort -rn | head -20

I'd recommend installing debfoster, and running it once. It'll ask you
what packages you mean to have installed, will skip over those that
packages you have installed depend on, and will remove everything else.
And after you've ran it once, it remembers and you can run it again later
with only a few questions asked to clean your system up again after it
gets crufty.

-- 
see shy jo


-- 
To UNSUBSCRIBE, email to debian-user-request@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org



Reply to: