Skip to main content
Welcome guest. | Register | Login | Post

Which compression?

bzip2 (.bz2)
43% (6 votes)
gzip (.gz)
57% (8 votes)
zip (.zip)
0% (0 votes)
Total votes: 14

Comments

Which compression?

Which type of compression do you prefer, and why?

I tend to prefer bzip2 (.bz2) compression, since I think I read someware that it comptessed slightly more.

What about you?

Zip isn't compression, it's some awkward cross between compression and archiving.

Bzip2 compresses better than gzip.

Bzip2 is standardly considered the highest compression and packages that are bzip2 compressed are usually smaller compared to gzip. So if a bzip2 is available I usually choose that over gzip, though gzip is very good too.

As for zip, that's old and reminds of windows. :-P

7-Zip... nah bz2 Laughing out loud

7Zip is another one of those awkward combinations of compression & archiving.

Sometimes bzip gives bigger compressed files than gzip, but usually they are smaller. If you really want to be sure your file becomes as small as possible, try both.
I prefer gzip because I have found not everyone understands what a .tar.bz2 is Shock .

There's also compress (.Z), but AFAIK noone uses that anymore. You might encounter some old stuff that is compressed that way, though.

"a thing" wrote:

7Zip is another one of those awkward combinations of compression & archiving.

alright, LZMA then Smiling

Quote:

There's also compress (.Z), but AFAIK noone uses that anymore. You might encounter some old stuff that is compressed that way, though.

Compress uses the same patented method as GIF.

"http://www.gnu.org/philosophy/gif.html" wrote:

We were able to search the patent databases of the USA, Canada, Japan, and the European Union. The Unisys patent expired on 20 June 2003 in the USA, in Europe it expired on 18 June 2004, in Japan patent expired on 20 June 2004 and in Canada it expired on 7 July 2004. The U.S. IBM patent expires 11 August 2006, (we are still searching the databases of other countries).

however that compression method is still inferior to gzip or bzip2.

I found gzip to compress better than bzip2 about 1/3 of the time, and it is definitely faster. Though I still use bzip2 almost exclusively.

I tend to go for tar.gz
I just always have done.
Im not too bothered about the compression level, as most things are not too slow to download anywhere on my connections.

No personal reason for it really...

"AndrewB" wrote:

I tend to go for tar.gz

tar.gz is a gziped tar archive, not a compression to itself. You should try using the bzip2 compression with tar someday, and see how it is tar cjvf archive.tar.bz2 archive

dylunio

 

I tend to use tar.gz or most often .tgz for no specific reason. Smiling

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.