Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

One of the fields included in the control file of a .deb package is the 'Installed-Size', which should inform of the final disk occupation (in kB) of the package in question.

My question is when/how is this information typically used?

Is it e.g. dpkg using it to inform and maybe prevent a user with low free disk space to install/upgrade a system? Has the information any value after an installation has completed?

share|improve this question

1 Answer 1

From the Debian Policy Manual:

5.6.20 Installed-Size

This field appears in the control files of binary packages, and in the Packages files. It gives an estimate of the total amount of disk space required to install the named package. Actual installed size may vary based on block size, file system properties, or actions taken by package maintainer scripts.

The disk space is given as the integer value of the estimated installed size in bytes, divided by 1024 and rounded up.

I suspect the intention is for this field to be used by package managers and the like to give the user an idea of how much disk space the installed package will take up.

share|improve this answer
    
Thank you for the answer, but I knew already about what 'the theory' says about it. My question was more about how in practice this information is currently used. –  bitwelder Jul 20 '11 at 18:03

Your Answer

 
discard

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.