Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I managed to fill up my Ubuntu partition by installing large number of packages. When I was installing them, I was thinking about future, so there is a number of packages which I will not use for several months.

Now for my question: Is there a program which will help me find candidates for deletion? I'd like to see a list of packages sorted by amount of disk space they consume. Command line programs are good too, but good GUI is a plus.

share|improve this question
up vote 5 down vote accepted

Two answers:

From the command line:

Install the package wajig, and then run

wajig large

And you will get a list of the largest packages that are installed.

The online man page for it is annoyingly useless; the main documentation is located at

Using a GUI

Synaptic has this functionality built-in. Simply launch Synaptic, choose "all" in the left hand column and click the "size" column header to sort packages by installed size.

Both methods will give you exactly the same values. I just prefer using the command line as I typically install using aptitude, so I can call aptitude purge afterwards and be fairly confident every trace has been scrubbed away.

share|improve this answer

in synaptic settings/preferences/columns and fonts then enable size column, then sort by size

share|improve this answer
Answer already given ;) – BloodPhilia Sep 4 '10 at 22:32

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .