# Install lzfse with Homebrew, apk, apt, dnf, MacPorts, Nix, zypper

Apple LZFSE compression library and command-line tool. Version 1.0 via Homebrew; verified from local package data.

## Install

```sh
sudo av install brew:lzfse
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install lzfse
```

  Evidence: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install lzfse
```

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

### Linux

- apk (92%):

```sh
sudo apk add lzfse
```

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

- Debian apt (92%):

```sh
sudo apt install liblzfse-dev
```

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

- dnf (92%):

```sh
sudo dnf install lzfse
```

  Evidence: Fedora Rawhide package metadata: lzfse from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst

- Nix (92%):

```sh
nix profile install nixpkgs#lzfse
```

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

- zypper (92%):

```sh
sudo zypper install lzfse
```

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

## Package facts

- **Package key:** brew:lzfse
- **Package manager:** Homebrew
- **Package manager page:** <https://formulae.brew.sh/formula/lzfse>
- **Version:** 1.0
- **Source summary:** Apple LZFSE compression library and command-line tool
- **Homepage:** <https://github.com/lzfse/lzfse>
- **Repository:** <https://github.com/lzfse/lzfse>
- **Upstream docs:** <https://github.com/lzfse/lzfse#readme>
- **License:** BSD-3-Clause
- **Source archive:** <https://github.com/lzfse/lzfse/archive/refs/tags/lzfse-1.0.tar.gz>
- **Generated:** 2026-07-08T07:18:31+00:00

## Executables

- lzfse (cli)
- lzfse (alias)

## Build dependencies

- cmake

## Install behavior

- Post-install hook: not defined
- Bottle: available on arm64_big_sur, arm64_linux, arm64_monterey, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, big_sur, catalina, monterey, sonoma, ventura

## Freshness

- Page generated: 2026-07-08
- Package-manager version: 1.0
- Local data: ok
- Upstream repository: https://github.com/lzfse/lzfse
- Upstream latest detected: lzfse-1.0 (current)
- info: No package-manager update timestamp was available.
## Project history and usage

LZFSE is Apple's Lempel-Ziv plus Finite State Entropy compression algorithm and the name of Apple's portable reference C implementation. The upstream README describes it as the reference compressor introduced in Apple's Compression library with OS X 10.11 and iOS 9, targeting deflate-like compression ratios with higher speed.

### Project history

LZFSE entered public developer consciousness through Apple's platform Compression APIs, then gained a cross-platform package identity when Apple published the reference C implementation and a small command-line tool. That made it possible for non-Apple systems and package managers to build and test LZFSE streams without depending on private Apple frameworks.

The project is narrower than LZ4, xz, or zstd: it exists primarily to expose and document Apple's algorithm outside the OS SDK. The repository's contents reflect that role, with a Makefile, Xcode project, encoder and decoder sources, and a single lzfse executable rather than a larger suite of tools.

### Adoption history

Adoption follows two paths. On Apple platforms, LZFSE is recommended through system APIs for cases where Apple wants a balanced speed/ratio codec with good energy behavior. In package managers, lzfse is usually provided as a compatibility tool and library for reading or creating streams outside the Apple SDK environment.

The input package facts show packaging in Homebrew, Debian/Ubuntu, Fedora, Alpine, MacPorts, Nix, and openSUSE-style ecosystems, which is broad for a platform-originated codec whose main upstream is a compact reference implementation.

### How it is used

The lzfse command-line tool compresses and decompresses files in LZFSE format. Developers on Apple platforms generally use Compression.framework or related Apple APIs; developers elsewhere use the reference C implementation when they need interoperable LZFSE support.

Its practical niche is Apple-format interoperability and a middle point between very fast compressors such as LZ4 and denser but slower compressors.

### Why package nerds care

LZFSE matters to package people because it turns a platform codec into a portable build artifact. That helps Linux and macOS package sets process Apple-originated data and gives downstreams a small, BSD-licensed reference implementation rather than reverse-engineered code.

It is also a useful example of modern compression design crossing from OS vendor APIs into normal Unix package repositories.

### Timeline

- 2015: LZFSE is introduced with OS X 10.11 and iOS 9's Compression library.
- 2010s: Apple publishes the reference C implementation and command-line tool on GitHub.
- 2010s-2020s: Distribution packages adopt lzfse as a small compatibility compressor.

### Related projects

- Apple Compression.framework exposes LZFSE and other algorithms through system APIs.
- LZ4 and zlib occupy neighboring speed/ratio tradeoff points.
- Finite State Entropy is the entropy-coding family named in the LZFSE design.

### Sources

- <https://developer.apple.com/documentation/Compression/Algorithm/lzfse>
- <https://developer.apple.com/documentation/compression/compression_lzfse>
- <https://github.com/lzfse/lzfse>
- 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

## Source Database Details

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

## Other Package-Manager Records

- Debian apt - liblzfse-dev - 1.0-1+b3: normalized package name match | Debian stable package indexes: liblzfse-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | LZFSE Compression library (development files) | https://github.com/lzfse/lzfse
- Debian apt - liblzfse1 - 1.0-1+b3: normalized package name match | Debian stable package indexes: liblzfse1 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | LZFSE Compression library | https://github.com/lzfse/lzfse
- Debian apt - lzfse - 1.0-1+b3: normalized package name match | Debian stable package indexes: lzfse from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | LZFSE Compression library (command line tool) | https://github.com/lzfse/lzfse
- Nix - lzfse: normalized package name match | nixpkgs package indexes: pkgs/by-name/lz/lzfse/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - liblzfse-dev - 1.0-1: normalized package name match | Ubuntu 24.04 LTS package indexes: liblzfse-dev from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | LZFSE Compression library (development files) | https://github.com/lzfse/lzfse
- Ubuntu apt - liblzfse1 - 1.0-1: normalized package name match | Ubuntu 24.04 LTS package indexes: liblzfse1 from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | LZFSE Compression library | https://github.com/lzfse/lzfse
- Ubuntu apt - lzfse - 1.0-1: normalized package name match | Ubuntu 24.04 LTS package indexes: lzfse from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | LZFSE Compression library (command line tool) | https://github.com/lzfse/lzfse
- apk - lzfse - 1.0-r0: normalized package name match | Alpine Linux edge package indexes: lzfse from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | lzfse compression library and command line tool | https://github.com/lzfse/lzfse
- apk - lzfse-dev - 1.0-r0: normalized package name match | Alpine Linux edge package indexes: lzfse-dev from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | lzfse compression library and command line tool (development files) | https://github.com/lzfse/lzfse
- dnf - lzfse - 1.0-9.fc44: normalized package name match | Fedora Rawhide package metadata: lzfse from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst | LZFSE compression library and command line tool | https://github.com/lzfse/lzfse
- dnf - lzfse-devel - 1.0-9.fc44: normalized package name match | Fedora Rawhide package metadata: lzfse-devel from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst | Development headers and libraries for lzfse | https://github.com/lzfse/lzfse
- dnf - lzfse-libs - 1.0-9.fc44: normalized package name match | Fedora Rawhide package metadata: lzfse-libs from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst | Shared libraries for lzfse | https://github.com/lzfse/lzfse
- zypper - lzfse - 1.0-3.1: normalized package name match | openSUSE Tumbleweed package metadata: lzfse from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst | Reference C implementation of the Lempel-Ziv Finite State Entropy compressor | https://github.com/lzfse/lzfse
- zypper - lzfse-devel - 1.0-3.1: normalized package name match | openSUSE Tumbleweed package metadata: lzfse-devel from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst | Reference C implementation of the Lempel-Ziv Finite State Entropy compressor | https://github.com/lzfse/lzfse
- MacPorts - lzfse: normalized package name match | MacPorts ports tree: archivers/lzfse/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1


## Related links

- [Source-control packages](https://www.automicvault.com/pkg/source-control-tools/) - Belongs to a source-control command family.
- [Secret-risk packages](https://www.automicvault.com/pkg/secret-risk-packages/) - Has protected-tool coverage, approval-gate, or non-low Geiger security signals.
- [Terminal utility packages](https://www.automicvault.com/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Archive and compression packages](https://www.automicvault.com/pkg/archive-compression-tools/) - Matched archive or compression metadata.
- [cmake](https://www.automicvault.com/pkg/brew/cmake/) - Build dependency declared by Homebrew.
- [crabz](https://www.automicvault.com/pkg/brew/crabz/) - Shares av.db curated category or tags: cli, compression, decompression, system.
- [gzip](https://www.automicvault.com/pkg/brew/gzip/) - Shares av.db curated category or tags: cli, compression, decompression, system.
- [lizard](https://www.automicvault.com/pkg/brew/lizard/) - Shares av.db curated category or tags: cli, compression, decompression, system.
- [lunzip](https://www.automicvault.com/pkg/brew/lunzip/) - Shares av.db curated category or tags: cli, compression, decompression, system.
- [lz4](https://www.automicvault.com/pkg/brew/lz4/) - Shares av.db curated category or tags: cli, compression, decompression, system.
- [lzip](https://www.automicvault.com/pkg/brew/lzip/) - Shares av.db curated category or tags: cli, compression, decompression, system.
- [lzop](https://www.automicvault.com/pkg/brew/lzop/) - Shares av.db curated category or tags: cli, compression, decompression, system.
- [lzsa](https://www.automicvault.com/pkg/brew/lzsa/) - Shares av.db curated category or tags: cli, compression, decompression, system.

## Combined YAML source

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


## Sources

- 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
