什么是最好的unix压缩实用程序?

时间:2022-10-20 16:25:38

What is the best unix compression utility available?

什么是最好的unix压缩实用程序?

5 个解决方案

#1


depends on your speed/size tradeoff. Gzip is fast and yields good results. Bzip2 is slow and often yields better results.

取决于你的速度/大小权衡。 Gzip速度快,效果很好。 Bzip2很慢并且通常会产生更好的结果。

#2


A good compression utility is 7-zip (p7zip on linux) using the lzma-algorithm (slow compression, good decompression speed, very good compression ratio). Can decompress most popular archive-formats.

一个很好的压缩实用程序是使用lzma算法的7-zip(Linux上的p7zip)(缓慢压缩,良好的解压缩速度,非常好的压缩比)。可以解压缩最流行的存档格式。

You can also look at compression benchmark sites:

您还可以查看压缩基准站点:

#3


XZ compression is a relative newcomer, but is a good balance between compression and speed. Supposedly almost as good compression as bzip2, but only slightly slower than gzip.

XZ压缩是一个相对较新的,但在压缩和速度之间是一个很好的平衡。据说与bzip2几乎一样好的压缩,但只比gzip慢一点。

#4


http://www.linuxjournal.com/article/8051

http://tukaani.org/lzma/benchmarks.html

Pick the best per your needs. The graphs in the first link comprehensively cover every Unix compression utility I've heard of. The second one offers some hard numbers from the more common untilities.

根据您的需求选择最佳。第一个链接中的图表全面涵盖了我听说过的每个Unix压缩实用程序。第二个提供了一些来自更常见的东西的硬数字。

I tend towards lzma -2 when doing large backups, which offers smaller AND faster compression than bzip -9.

在进行大型备份时,我倾向于lzma -2,它提供比bzip -9更小和更快的压缩。

#5


bzip is pretty efficient, spacewise, but not as fast as some of the others.

bzip非常有效,空间,但不如其他一些快。

From "man bzip2":

来自“man bzip2”:

bzip2 compresses files using the Burrows-Wheeler block sorting text compression algo‐ rithm, and Huffman coding. Compression is generally considerably better than that achieved by more conventional LZ77/LZ78-based compressors, and approaches the performance of the PPM family of statistical compressors.

bzip2使用Burrows-Wheeler块排序文本压缩算法和Huffman编码来压缩文件。压缩通常比通过更传统的基于LZ77 / LZ78的压缩机实现的压缩要好得多,并且接近PPM系列统计压缩机的性能。

#1


depends on your speed/size tradeoff. Gzip is fast and yields good results. Bzip2 is slow and often yields better results.

取决于你的速度/大小权衡。 Gzip速度快,效果很好。 Bzip2很慢并且通常会产生更好的结果。

#2


A good compression utility is 7-zip (p7zip on linux) using the lzma-algorithm (slow compression, good decompression speed, very good compression ratio). Can decompress most popular archive-formats.

一个很好的压缩实用程序是使用lzma算法的7-zip(Linux上的p7zip)(缓慢压缩,良好的解压缩速度,非常好的压缩比)。可以解压缩最流行的存档格式。

You can also look at compression benchmark sites:

您还可以查看压缩基准站点:

#3


XZ compression is a relative newcomer, but is a good balance between compression and speed. Supposedly almost as good compression as bzip2, but only slightly slower than gzip.

XZ压缩是一个相对较新的,但在压缩和速度之间是一个很好的平衡。据说与bzip2几乎一样好的压缩,但只比gzip慢一点。

#4


http://www.linuxjournal.com/article/8051

http://tukaani.org/lzma/benchmarks.html

Pick the best per your needs. The graphs in the first link comprehensively cover every Unix compression utility I've heard of. The second one offers some hard numbers from the more common untilities.

根据您的需求选择最佳。第一个链接中的图表全面涵盖了我听说过的每个Unix压缩实用程序。第二个提供了一些来自更常见的东西的硬数字。

I tend towards lzma -2 when doing large backups, which offers smaller AND faster compression than bzip -9.

在进行大型备份时,我倾向于lzma -2,它提供比bzip -9更小和更快的压缩。

#5


bzip is pretty efficient, spacewise, but not as fast as some of the others.

bzip非常有效,空间,但不如其他一些快。

From "man bzip2":

来自“man bzip2”:

bzip2 compresses files using the Burrows-Wheeler block sorting text compression algo‐ rithm, and Huffman coding. Compression is generally considerably better than that achieved by more conventional LZ77/LZ78-based compressors, and approaches the performance of the PPM family of statistical compressors.

bzip2使用Burrows-Wheeler块排序文本压缩算法和Huffman编码来压缩文件。压缩通常比通过更传统的基于LZ77 / LZ78的压缩机实现的压缩要好得多,并且接近PPM系列统计压缩机的性能。