Compressing packages with bzip2 instead gzip?

Matt Zimmerman mdz at ubuntu.com
Wed Jan 4 03:40:35 GMT 2006


On Fri, Dec 09, 2005 at 05:02:44PM +0100, Mikael Eriksson wrote:
> On Thu, Dec 08, 2005 at 06:18:00PM -0800, Matt Zimmerman wrote:
> > On Wed, Dec 07, 2005 at 04:58:28PM +0200, Timo Jyrinki wrote:
> > > Speaking of language files, those also compress better with bz2 even though they
> > > are in mo format:
> > > -rw-r--r--  1 root root 1356095 2005-12-07 16:51 LC_MESSAGES-fi.tar.bz2
> > > -rw-r--r--  1 root root 1590691 2005-12-07 16:52 LC_MESSAGES-fi.tar.gz
> > > 
> > > (compressed etch's /usr/share/locale/fi/LC_MESSAGES to get those)
> > 
> > That's why the language pack .debs are already compressed with bzip2.
> > 
> A repack of language-pack-gnome-* shows that most would be smallest when
> compressed with 7z. And the rest is smallest with gzip -9.
> See the attached file.

However, we don't currently have support for 7zip in .debs, so among the
available compression methods, bzip2 seems to outperform gzip on the
language packs.

-- 
 - mdz



More information about the ubuntu-devel mailing list