Compressing packages with bzip2 instead gzip?

Mikael Eriksson mikael_miffe_eriksson at yahoo.se
Fri Dec 9 16:02:44 GMT 2005


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.
-------------- next part --------------
<snip>
language-pack-gnome-uk-base_20051011_all  949780    0.5       1419177   0.15      1249790   0.13      1216602   0.12      1084795   0.71      980487    0.6       947633    0.59      803672    0.28     7z             803672
language-pack-gnome-uk_20051011_all       2040      0.0       1212      0.0       1148      0.0       1118      0.0       1306      0.0       1306      0.0       1306      0.0       1116      0.04     7z             1116
language-pack-gnome-uz-base_20051011_all  5450      0.0       4665      0.0       4330      0.0       4229      0.0       4391      0.0       4391      0.0       4391      0.0       3422      0.03     7z             3422
language-pack-gnome-uz_20051011_all       2026      0.0       1224      0.0       1150      0.0       1113      0.0       1289      0.0       1289      0.0       1289      0.0       1124      0.03     gz9            1113
language-pack-gnome-vi-base_20051011_all  852116    0.39      1171450   0.12      1056295   0.1       1042071   0.1       964520    0.6       870753    0.55      850213    0.54      715644    0.25     7z             715644
language-pack-gnome-vi_20051011_all       2034      0.0       1210      0.0       1144      0.0       1114      0.0       1300      0.0       1300      0.0       1300      0.0       1116      0.03     gz9            1114
language-pack-gnome-wa-base_20051011_all  210240    0.1       296309    0.03      271265    0.02      268143    0.02      245435    0.13      218417    0.15      207879    0.11      184454    0.09     7z             184454
language-pack-gnome-wa_20051011_all       2062      0.0       1218      0.0       1157      0.0       1124      0.0       1329      0.0       1329      0.0       1329      0.0       1122      0.03     7z             1122
language-pack-gnome-xh-base_20051011_all  625844    0.29      847843    0.08      769285    0.07      761414    0.07      719274    0.43      655108    0.39      623984    0.36      524249    0.18     7z             524249
language-pack-gnome-xh_20051011_all       2040      0.0       1219      0.0       1151      0.0       1120      0.0       1301      0.0       1301      0.0       1301      0.0       1123      0.03     gz9            1120
language-pack-gnome-yi-base_20051011_all  52634     0.02      76054     0.0       66132     0.0       63915     0.0       56686     0.03      51361     0.02      51361     0.02      47288     0.05     7z             47288
language-pack-gnome-yi_20051011_all       2028      0.0       1223      0.0       1158      0.0       1120      0.0       1311      0.0       1311      0.0       1311      0.0       1126      0.03     gz9            1120
language-pack-gnome-yo-base_20051011_all  5220      0.0       4370      0.0       4145      0.0       4091      0.0       4205      0.0       4205      0.0       4205      0.0       3583      0.03     7z             3583
language-pack-gnome-yo_20051011_all       2048      0.0       1215      0.0       1150      0.0       1120      0.0       1303      0.0       1303      0.0       1303      0.0       1124      0.03     gz9            1120
language-pack-gnome-zh-base_20051011_all  1801446   0.9       2391026   0.27      2221779   0.22      2207181   0.21      2052327   1.27      1842757   1.14      1800433   1.14      1182400   0.49     7z             1182400
language-pack-gnome-zh_20051011_all       2040      0.0       1224      0.0       1158      0.0       1125      0.0       1296      0.0       1296      0.0       1296      0.0       1121      0.03     7z             1121
language-pack-gnome-zu-base_20051011_all  113674    0.04      147216    0.01      134146    0.01      132998    0.01      124656    0.06      112133    0.05      112133    0.05      100900    0.06     7z             100900
language-pack-gnome-zu_20051011_all       2054      0.0       1213      0.0       1150      0.0       1121      0.0       1330      0.0       1330      0.0       1330      0.0       1118      0.03     7z             1118
-                                         deb-size  deb-time  gz1-size  gz1-time  gz5-size  gz5-time  gz9-size  gz9-time  bz1-size  bz1-time  bz5-size  bz5-time  bz9-size  bz9-time  7z-size   7z-time  smallest-type  smallest-size
Total                                     50536266  27.72     70169812  7.42      63123720  6.18      61979881  5.96      57585608  37.98     51911625  31.69     50303324  30.55     40346684  20.76    7z(124)        40346519


More information about the ubuntu-devel mailing list