[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Devel] estimating disk space usage
From Herman Robak on Saturday, 2003-07-26 at 15:30:33 +0200:
> On Sat, 2003-07-26 at 10:07, Conrad Newton wrote:
> > From Paolo M. Pumilia on Saturday, 2003-07-12 at 17:35:55 +0200:
> > > Can you point me at some utilities to estimate changes in the used space
> > > on the knoppix-like cd, when adding or deleting application packets?
> >
> > There is no utility that can do this, but there are some
> > rules of thumb. Roughly speaking, Knoppix delivers a
> > 3-to-1 compression ratio. As a first guess then, if
> > you add a 15MB package, it will add 5MB to the CD.
>
> 15MB would be the "installed size", I presume.
Right.
> Debian packages are compressed. Thus you would
> probably get a more accurate estimate by adding
> up the size of the .deb files. Some files grow
> a lot when installed, others don't.
Yes, the size of the .deb file should be
a good indicator.
As an example, I just checked openoffice.org-bin
Installed-Size: 108440 =~ 105MB
.deb-size: 34MB
So here, too, you see a ratio of approximately 3-1.
Conrad