Projects / Long Range ZIP

Long Range ZIP

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.

Operating Systems

Recent releases

  •  08 Sep 2013 23:53

    Release Notes: This release adds various fixes for the lrztar wrapper.

    •  02 Sep 2013 04:28

      Release Notes: Fixes -O not working on lrztar. Makes it less likely to run out of RAM when working with STDIO or using -U on huge files. Fixes corrupt archives being generated from incompressible data or very small files. Fixes endianness on various platforms for MD5 calculation to work. Fixes rare corruption when compressing with lzma from STDIN. Fixes all blank data being generated when compressing from STDIN on OS X. Performance micro-optimizations. Fixes corrupt archives being generated when all the same non-zero bytes exist on large files.

      •  13 Jul 2012 00:57

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

        •  07 Jul 2012 14:09

          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.

          •  17 Mar 2012 12:56

            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.

            Recent comments

            29 Sep 2011 08:09 conman

            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 chadwickboggs

            To use LRZip on an Apple Lion I did

            $ sudo port install lrzip

            I download lrztar from and did

            $ cd $(which lrztar)
            $ sudo ln -s lrztar lrzuntar

            and created lrzcat as follows:

            $ cat ~/bin/lrzcat

            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 chadwickboggs

            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 chadwickboggs

            I desire to do "tar --use-compress-program=lrzip" but it is not working. Is it possible to make this work?


            Project Spotlight


            A Fluent OpenStack client API for Java.


            Project Spotlight

            TurnKey TWiki Appliance

            A TWiki appliance that is easy to use and lightweight.