# Install lrzip with Homebrew, apk, apt, MacPorts, Nix, pacman, zypper

Compression program with a very high compression ratio. Version 0.641 via Homebrew; verified 2026-08-02. Also installable with debian: sudo apt install lrzip.

## Install

```sh
sudo av install brew:lrzip
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install lrzip
```

  Evidence: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install lrzip
```

  Evidence: MacPorts ports tree: archivers/lrzip/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- apk (92%):

```sh
sudo apk add lrzip
```

  Evidence: Alpine Linux edge package indexes: lrzip from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz

- Debian apt (92%):

```sh
sudo apt install lrzip
```

  Evidence: Debian stable package indexes: lrzip from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

- Nix (92%):

```sh
nix profile install nixpkgs#lrzip
```

  Evidence: nixpkgs package indexes: pkgs/by-name/lr/lrzip/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

- pacman (92%):

```sh
sudo pacman -S lrzip
```

  Evidence: Arch Linux sync databases: lrzip from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz

- zypper (92%):

```sh
sudo zypper install lrzip
```

  Evidence: openSUSE Tumbleweed package metadata: lrzip from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst

## Package facts

- **Package key:** brew:lrzip
- **Package manager:** Homebrew
- **Version:** 0.641
- **Source summary:** Compression program with a very high compression ratio
- **Homepage:** <http://lrzip.kolivas.org>
- **Last updated:** 2026-08-02T00:19:40+09:00
- **Generated:** 2026-08-03T19:37:03+00:00

## Executables

- lrunzip (alias)
- lrzcat (alias)
- lrzip (alias)
- lrztar (alias)
- lrzuntar (alias)

## Install behavior

- Bottle: not available

## Freshness

- Page generated: 2026-08-03
- Package-manager version: 0.641
## Project history and usage

lrzip, short for Long Range ZIP or LZMA RZIP, is a compression utility aimed at high compression ratios on large files.

### Project history

The official README says lrzip excels on large files, usually above 10-50 MB, and uses an extended rzip-style long-distance redundancy reduction pass before applying back-end compressors such as LZMA, LZO, bzip2, gzip, LZ4, or ZPAQ.

Con Kolivas' repository was created on GitHub in March 2010. The README authorship notes also record earlier documentation by Peter Hyman in January 2009, a GitHub Markdown rewrite by Haneef Mubarak in September 2013, and a README update by Con Kolivas in February 2021.

The project is a continuation of the rzip idea for systems with more memory and larger files. Its README emphasizes that lrzip tries to use available RAM aggressively to gain compression benefit, which is both its distinctive feature and the reason it is most useful on large modern machines.

### Adoption history

The supplied package-manager facts show wide packaging across Homebrew, Debian, Ubuntu, MacPorts, Nix, Arch, Alpine, and openSUSE. That breadth reflects its role as a specialist compressor: not the default archive format for every user, but common enough to be kept available in Unix package collections.

GitHub metadata reports hundreds of stars and dozens of forks, and the README points users to official GitHub releases for stable packaged tarballs.

### How it is used

lrzip compresses a single file to `.lrz`; directory workflows typically go through `tar` or the included `lrztar` and `lrzuntar` wrappers. The README documents modes for LZMA, ZPAQ, LZO, and gzip-like semantics via the `lrz` wrapper.

The tool has no documented persistent config or credentials. Tuning is by CLI options such as compression backend, level, thread count, and memory/window behavior.

### Why package nerds care

lrzip is a package-manager favorite for compression enthusiasts because it exposes a very different tradeoff curve from gzip, xz, or zstd: it spends memory and CPU to find long-range redundancy in large inputs. That makes it useful in archival experiments, benchmark discussions, and old-school Unix compression collections.

### Timeline

- 2009: Official README notes documentation by Peter Hyman.
- 2010: GitHub repository created for ckolivas/lrzip.
- 2013: README mostly rewritten and converted to GitHub Markdown.
- 2021: README updated by Con Kolivas.
- 2022: GitHub releases list version 0.651.
- 2026: Supplied package-manager facts list packaging across major Unix-like distributions.

### Related projects

- lrzip is directly related to rzip, and its README names LZO, LZMA, gzip, bzip2, LZ4, ZPAQ, and tar-wrapper workflows as part of its compression ecosystem.

### Sources

- <https://api.github.com/repos/ckolivas/lrzip>
- <https://github.com/ckolivas/lrzip>
- <https://raw.githubusercontent.com/ckolivas/lrzip/master/README.md>
- source_facts.package-manager


## Security Notes

broad file, network, media, or database tool signal.

- **Geiger risk:** blue / medium
- broad file, network, media, or database tool signal

## Other Package-Manager Records

- Debian apt - lrzip - 0.651-3: normalized package name match | Debian stable package indexes: lrzip from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | compression program with a very high compression ratio | http://ck.kolivas.org/apps/lrzip/README.md
- Nix - lrzip: normalized package name match | nixpkgs package indexes: pkgs/by-name/lr/lrzip/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - lrzip - 0.651-2ubuntu1: normalized package name match | Ubuntu 24.04 LTS package indexes: lrzip from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | compression program with a very high compression ratio | http://ck.kolivas.org/apps/lrzip/README.md
- apk - lrzip - 0.660-r0: normalized package name match | Alpine Linux edge package indexes: lrzip from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | compression utility that excels at compressing large files | https://github.com/ckolivas/lrzip
- apk - lrzip-doc - 0.660-r0: normalized package name match | Alpine Linux edge package indexes: lrzip-doc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | compression utility that excels at compressing large files (documentation) | https://github.com/ckolivas/lrzip
- apk - lrzip-extra-scripts - 0.660-r0: normalized package name match | Alpine Linux edge package indexes: lrzip-extra-scripts from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | compression utility that excels at compressing large files (bash scripts) | https://github.com/ckolivas/lrzip
- pacman - lrzip - 0.660-1: normalized package name match | Arch Linux sync databases: lrzip from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | Multi-threaded compression with rzip/lzma, lzo, and zpaq | https://github.com/ckolivas/lrzip
- zypper - lrzip - 0.660-1.3: normalized package name match | openSUSE Tumbleweed package metadata: lrzip from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | Very High Ratio and Speed Compression Designed for Large Files | http://ck.kolivas.org/apps/lrzip/
- MacPorts - lrzip: normalized package name match | MacPorts ports tree: archivers/lrzip/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1


## Combined YAML source

View the package source record on GitHub. [combined/lrzip.yml](https://github.com/mxcl/pkgdb/blob/main/combined/lrzip.yml)


## Sources

- pkg.so package database
- Geiger risk classifier
- curated package history
- pkgdb category and tag curation
- external package-manager database matches
- cross-ecosystem install command graph
