Sign up ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free.

This question already has an answer here:

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

marked as duplicate by Eric Carvalho, muru, 2707974, v2r, waltinator Sep 25 at 18:15

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new 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

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