Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free.

I'm using aptitude as package manager. If one marks packages for removal it calculates the changing in disk usage, i.e. how much space is freed by removing that package and its automatically installed, otherwise unused dependencies.

Is there a way (not necessarily within aptitude) to get this number for, say, all packages marked manually installed?

share|improve this question
Does this question help, or no? I guess that doesn't show all dependencies. –  Kris Harper Oct 25 '11 at 19:36

1 Answer 1

If you use the apt-get from the command line it will tell you the total disk usage before you confirm the install.

$ sudo apt-get install php5 .. .. .. 0 upgraded, 12 newly installed, 0 to remove and 0 not upgraded. Need to get 8,459 kB of archives. After this operation, 23.4 MB of additional disk space will be used. Do you want to continue [Y/n]?

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.