LRZIP is a compression program and library that can achieve very high compression ratios and speed when used with large files using unlimited sized compression windows. It uses the combined compression algorithms of zpaq and lzma for maximum compression, lzo for maximum speed, and the long range redundancy reduction of rzip. It is designed to scale with increases with RAM size, improving compression further. A choice of either size or speed optimizations allows for either better compression than even lzma can provide, or better speed than gzip, but with bzip2 sized compression levels. It also has high grade password protected encryption and full STDIN/STDOUT support.
| Tags | Archiving Compression encryption |
|---|---|
| Licenses | GPL |
| Operating Systems | POSIX Linux FreeBSD Mac OS X Cygwin |
| Implementation | C C++ asm |
Recent releases


Release Notes: A fix for a broken lrztar in 0.613 was committed.


Release Notes: This release fixes a bug which made massive files show an incorrect md5 value on decompression, compression of ultra-small files to corrupt archives, compilation on various platforms, and a crash related to using -S.


Release Notes: This release has been updated to a new zpaq library backend which is faster and now supports three different compression levels. This significantly increases the maximum compression available by lrzip with -L 9. The include file Lrzip.h used by liblrzip is now properly installed into $prefix/include.


Release Notes: lrzcat and lrzuntar have been fixed. lrzuntar will not overwrite existing directories by default now. The update counter will continue to update even when there is nothing being matched (like a file full of zeroes). Numerous optimizations in the rzip stage speeds up the faster compression modes noticeably. Checksumming is done in a separate thread during rzip compression for more compression speed improvements.


Release Notes: A new liblrzip library allows lrzip compression and decompression to be added to other applications. The rzip stage is now faster when files are large enough to require the sliding mmap feature and in unlimited mode. A bug where multiple files being compressed or decompressed from the one command line could have become corrupted was fixed. The modification date of the decompressed file is now set to that of the lrzip archive. Compilation warnings were fixed. lrztar now works with directories with spaces in their names.
Recent comments
29 Sep 2011 08:09
In fact tar itself is broken and that command line option does not work, nothing to do with lrzip! So unfortunately you have to use the lrztar wrapper that it comes with or do it in two steps (which yields better compression than the wrapper).
26 Sep 2011 06:00
To use LRZip on an Apple Lion I did
$ sudo port install lrzip
I download lrztar from github.com/ckolivas/lr... and did
$ cd $(which lrztar)
$ sudo ln -s lrztar lrzuntar
and created lrzcat as follows:
$ cat ~/bin/lrzcat
#!/bin/bash
lrzip -d -o - $*
Results Comparing GZip, LZOP, and LRZip:
-rw------- 1 dude staff 1.1M Sep 25 23:50 conf.rev12356.20110926055006.tar.lrz
-rw-r--r-- 1 dude staff 7.0M Sep 25 23:52 conf.rev12356.20110926055213.tlz
-rw-r--r-- 1 dude staff 4.1M Sep 25 23:52 conf.rev12356.20110926055213.tgz
Speeds, {GZip, LZOP, LRZIP} = {Standard (A.K.A. Baseline), Blazingly fast, Amazingly slow}
26 Sep 2011 04:36
On Apple Lion I get "configure: error: Could not find lzo2 library - please install liblzo2-dev" even after I did "sudo port install lzo2".
26 Sep 2011 04:20
I desire to do "tar --use-compress-program=lrzip" but it is not working. Is it possible to make this work?