# 使用 Homebrew, apk, apt, MacPorts, Nix, pacman, zypper 安装 lrzip

查看 lrzip 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

## 安装

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

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install lrzip
```

  证据: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install lrzip
```

  证据: 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
```

  证据: 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
```

  证据: 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
```

  证据: 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
```

  证据: 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
```

  证据: openSUSE Tumbleweed package metadata: lrzip from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst

## 软件包事实

- **软件包键:** brew:lrzip
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/lrzip>
- **版本:** 0.641
- **来源摘要:** Compression program with a very high compression ratio
- **主页:** <http://lrzip.kolivas.org>
- **仓库:** <https://github.com/ckolivas/lrzip>
- **上游文档:** <https://github.com/ckolivas/lrzip#readme>
- **许可证:** GPL-2.0-or-later
- **源码归档:** <http://ck.kolivas.org/apps/lrzip/lrzip-0.641.tar.xz>
- **已生成:** 2026-07-26T07:20:29+00:00

## 可执行文件

- lrunzip (cli)
- lrzcat (cli)
- lrzip (cli)
- lrztar (cli)
- lrzuntar (cli)
- lrunzip (别名)
- lrzcat (别名)
- lrzip (别名)
- lrztar (别名)
- lrzuntar (别名)

## 依赖

- lz4
- lzo

## 构建依赖

- autoconf
- automake
- libtool
- pkgconf

## macOS 提供的库

- bzip2

## 安装行为

- post-install 钩子: 未定义
- Bottle: 可用 于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## 版本和新鲜度

- 页面生成时间: 2026-07-26
- 管理器版本: 0.641
- 本地数据: OK
- 上游仓库: http://lrzip.kolivas.org
- 信息: No package-manager update timestamp was available.
- 信息: Release/tag comparison is only available for GitHub repositories.
## 项目历史与用法

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

### 项目历史

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.

### 采用历史

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.

### 使用方式

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.

### 为什么软件包爱好者会关心

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.

### 时间线

- 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.

### 来源

- <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


## 安全说明

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

- **Geiger 风险:** blue / 中
- broad file, network, media, or database tool signal

## 源数据库详情

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** lrzip
- **Version Scheme:** 0
- **Revision:** 0
- **Conflicts With:** lrzsz
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** yes
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** stable

## 其他软件包管理器记录

- 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.651-2.9: normalized package name match | openSUSE Tumbleweed package metadata: lrzip from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-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


## 相关链接

- [Secret-risk packages](https://www.automicvault.com/zh-hans/pkg/secret-risk-packages/) - Has protected-tool coverage, approval-gate, or non-low Geiger security signals.
- [Terminal utility packages](https://www.automicvault.com/zh-hans/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Archive and compression packages](https://www.automicvault.com/zh-hans/pkg/archive-compression-tools/) - Matched archive or compression metadata.
- [Networking and protocol packages](https://www.automicvault.com/zh-hans/pkg/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [lz4](https://www.automicvault.com/zh-hans/pkg/brew/lz4/) - Runtime dependency declared by Homebrew.
- [autoconf](https://www.automicvault.com/zh-hans/pkg/brew/autoconf/) - Build dependency declared by Homebrew.
- [automake](https://www.automicvault.com/zh-hans/pkg/brew/automake/) - Build dependency declared by Homebrew.
- [libtool](https://www.automicvault.com/zh-hans/pkg/brew/libtool/) - Build dependency declared by Homebrew.
- [pkgconf](https://www.automicvault.com/zh-hans/pkg/brew/pkgconf/) - Build dependency declared by Homebrew.
- [rzip](https://www.automicvault.com/zh-hans/pkg/brew/rzip/) - Shares av.db curated category or tags: archiving, cli, compression, system.
- [crabz](https://www.automicvault.com/zh-hans/pkg/brew/crabz/) - Shares av.db curated category or tags: cli, compression, system.
- [dwarfs](https://www.automicvault.com/zh-hans/pkg/brew/dwarfs/) - Shares av.db curated category or tags: cli, compression, system.
- [lizard](https://www.automicvault.com/zh-hans/pkg/brew/lizard/) - Shares av.db curated category or tags: cli, compression, system.
- [lzfse](https://www.automicvault.com/zh-hans/pkg/brew/lzfse/) - Shares av.db curated category or tags: cli, compression, system.
- [lzip](https://www.automicvault.com/zh-hans/pkg/brew/lzip/) - Shares av.db curated category or tags: cli, compression, system.
- [lzop](https://www.automicvault.com/zh-hans/pkg/brew/lzop/) - Shares av.db curated category or tags: cli, compression, system.
- [dar](https://www.automicvault.com/zh-hans/pkg/brew/dar/) - Local package facts share a topical domain. Shared terms: archiving, cli, compression, files, lz4.
- [squashfs](https://www.automicvault.com/zh-hans/pkg/brew/squashfs/) - Local package facts share a topical domain. Shared terms: cli, compression, lz4, lzo, system.

## Combined YAML source

View the package source record on GitHub. [combined/lrzip.yml](https://github.com/automic-vault/db/blob/main/combined/lrzip.yml)


## 来源

- Nucleus package database
- Geiger risk classifier
- package-page enrichment
- curated package history
- package version freshness
- av.db category and tag curation
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
