# Install zfp with Homebrew, apt, dnf, MacPorts, Nix, pacman, zypper

Compressed numerical arrays that support high-speed random access. Version 1.0.1 via Homebrew; verified 2026-04-28.

## Install

```sh
sudo av install brew:zfp
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install zfp
```

  Evidence: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install zfp
```

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

### Linux

- Debian apt (92%):

```sh
sudo apt install libzfp-dev
```

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

- dnf (92%):

```sh
sudo dnf install python3-zfpy
```

  Evidence: Fedora Rawhide package metadata: python3-zfpy 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#zfp
```

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

- pacman (92%):

```sh
sudo pacman -S zfp
```

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

- zypper (92%):

```sh
sudo zypper install libzfp1
```

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

## Package facts

- **Package key:** brew:zfp
- **Package manager:** Homebrew
- **Package manager page:** <https://formulae.brew.sh/formula/zfp>
- **Version:** 1.0.1
- **Source summary:** Compressed numerical arrays that support high-speed random access
- **Homepage:** <https://zfp.llnl.gov>
- **Repository:** <https://github.com/llnl/zfp>
- **Upstream docs:** <https://zfp.readthedocs.io/en/release1.0.0>
- **License:** BSD-3-Clause
- **Source archive:** <https://github.com/llnl/zfp/archive/refs/tags/1.0.1.tar.gz>
- **Last updated:** 2026-04-28T14:07:10Z
- **Generated:** 2026-07-08T07:18:31+00:00

## Executables

- zfp (cli)
- zfp (alias)

## Build dependencies

- cmake

## Install behavior

- Post-install hook: not defined
- Bottle: available on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## Freshness

- Page generated: 2026-07-08
- Package-manager version: 1.0.1
- Package-manager updated: 2026-04-28
- Local data: ok
- Upstream repository: https://github.com/llnl/zfp
- Upstream latest detected: 1.0.1 (current)
## Project history and usage

zfp is an LLNL-developed compressed-array library and command-line tool for multidimensional floating-point and integer data. Its niche is scientific and HPC data where users want lower memory, storage, or bandwidth costs while retaining fast random access and explicit error or rate controls.

### Project history

zfp was originally developed by Peter Lindstrom at Lawrence Livermore National Laboratory. Its foundational publication is Lindstroms 2014 IEEE TVCG paper on fixed-rate compressed floating-point arrays, which addressed a key limitation of variable-length floating-point compression: difficult memory management and poor random access.

The software grew from an algorithmic compressor into a broader compressed-array package. The documentation describes four main components: the zfp number format for fixed-size blocks, C++ compressed-array classes, a C library for streaming compression of whole or partial arrays, and a command-line executable for binary numeric array files.

Modern zfp keeps both lossy and lossless use cases in view. The LLNL project page describes high-throughput read/write random access, optional error-bounded compression, CPU and GPU execution back ends, and bindings for Python, Fortran, and other environments.

### Adoption history

zfp adoption is tied to scientific data reduction. LLNL and Exascale Computing Project material describe zfp as part of the ALPINE/zfp effort, aimed at reducing I/O and storage pressure in exascale simulations by compressing floating-point arrays while preserving user-controlled error bounds.

The library also spread through integration points. zfp documentation lists application support in ADIOS, BLOSC, HDF5 through H5Z-ZFP, Intel IPP, MVAPICH2-GDR, OpenInventor, and OpenZGY; the H5Z-ZFP docs describe a registered HDF5 filter using zfp for bitrate, accuracy, and precision targets.

### How it is used

Users choose compression modes according to workflow constraints. Fixed-rate mode gives predictable size and block random access; fixed-precision and fixed-accuracy modes trade fixed size for precision or absolute-error control; reversible mode supports bit-for-bit reconstruction for supported data and execution paths.

In application code, zfp arrays can act as compressed replacements for native C/C++ arrays or std::vector-like storage when random element access matters. For file or stream workflows, the C API and CLI compress integer or floating-point array data, while Python and Fortran bindings make the same compressor reachable from scientific scripting and simulation environments.

### Why package nerds care

zfp is significant because it packages a research-grade numerical representation as normal developer infrastructure: a C/C++ library, CLI, language bindings, HDF5 plugin ecosystem, and HPC distribution target all orbit the same compressed-array format.

For package catalogs, it sits at the intersection of compression, numerical correctness, and hardware-aware performance. Unlike general compressors, zfp exposes scientific knobs such as rate, precision, and accuracy, so the installed package is a policy surface for data fidelity as much as a space-saving tool.

### Timeline

- 2014: Peter Lindstrom publishes the fixed-rate compressed floating-point arrays paper that underpins zfp.
- 2016: H5Z-ZFP documentation appears with LLNL-CODE-707197, reflecting zfp use as an HDF5 compression filter.
- 2022: LLNL announces zfp 1.0.0, describing the package as a compressed numerical array library with C/C++, Python, and Fortran surfaces.
- 2020s: Exascale Computing Project material places zfp in the ALPINE/zfp data reduction and visualization workflow for large simulations.

### Related projects

- H5Z-ZFP is the HDF5 compression filter built on zfp.
- zfPy is the Python interface to zfp.
- ALPINE is the ECP visualization and analysis effort paired with zfp for exascale data reduction.
- SZ and MGARD are neighboring scientific lossy-compression projects often discussed alongside zfp.

### Sources

- <https://computing.llnl.gov/projects/zfp>
- <https://github.com/LLNL/zfp>
- <https://h5z-zfp.readthedocs.io/en/latest/>
- <https://software.llnl.gov/news/2022/08/01/zfp-1.0.0/>
- <https://www.exascaleproject.org/highlight/alpine-zfp-addresses-analysis-visualization-and-data-reduction-needs-for-exascale-science-applications/>
- <https://www.osti.gov/biblio/1228014>
- <https://zfp.readthedocs.io/en/release1.0.0/modes.html>
- <https://zfp.readthedocs.io/en/release1.0.1/introduction.html>


## 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:** zfp
- **Version Scheme:** 0
- **Revision:** 0
- **Head Version:** HEAD
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** head, stable

## Other Package-Manager Records

- Debian apt - libzfp-dev - 1.0.1-4+b6: normalized package name match | Debian stable package indexes: libzfp-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Fixed-Rate Compressed Floating-Point Arrays (Development files) | https://zfp.llnl.gov
- Debian apt - libzfp1t64 - 1.0.1-4+b6: normalized package name match | Debian stable package indexes: libzfp1t64 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Fixed-Rate Compressed Floating-Point Arrays | https://zfp.llnl.gov
- Debian apt - python3-zfpy - 1.0.1-4+b6: normalized package name match | Debian stable package indexes: python3-zfpy from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Python 3 bindings to the Fixed-Rate Compressed Floating-Point Arrays | https://zfp.llnl.gov
- Debian apt - zfp - 1.0.1-4+b6: normalized package name match | Debian stable package indexes: zfp from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Fixed-Rate Compressed Floating-Point Arrays - binary programs | https://zfp.llnl.gov
- Nix - zfp: normalized package name match | nixpkgs package indexes: pkgs/by-name/zf/zfp/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - libzfp-dev - 1.0.1-3.1build1: normalized package name match | Ubuntu 24.04 LTS package indexes: libzfp-dev from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Fixed-Rate Compressed Floating-Point Arrays (Development files) | https://zfp.llnl.gov
- Ubuntu apt - libzfp1t64 - 1.0.1-3.1build1: normalized package name match | Ubuntu 24.04 LTS package indexes: libzfp1t64 from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Fixed-Rate Compressed Floating-Point Arrays | https://zfp.llnl.gov
- Ubuntu apt - python3-zfpy - 1.0.1-3.1build1: normalized package name match | Ubuntu 24.04 LTS package indexes: python3-zfpy from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Python 3 bindings to the Fixed-Rate Compressed Floating-Point Arrays | https://zfp.llnl.gov
- Ubuntu apt - zfp - 1.0.1-3.1build1: normalized package name match | Ubuntu 24.04 LTS package indexes: zfp from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Fixed-Rate Compressed Floating-Point Arrays - binary programs | https://zfp.llnl.gov
- dnf - python3-zfpy - 1.0.1-11.fc45: normalized package name match | Fedora Rawhide package metadata: python3-zfpy from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst | zfp compression in Python | https://computing.llnl.gov/projects/zfp
- dnf - zfp - 1.0.1-11.fc45: normalized package name match | Fedora Rawhide package metadata: zfp from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst | Library for compressed numerical arrays with high throughput R/W random access | https://computing.llnl.gov/projects/zfp
- dnf - zfp-devel - 1.0.1-11.fc45: normalized package name match | Fedora Rawhide package metadata: zfp-devel from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst | Development files for zfp | https://computing.llnl.gov/projects/zfp
- pacman - zfp - 1.0.1-5: normalized package name match | Arch Linux sync databases: zfp from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | Compressed numerical arrays that support high-speed random access | https://computing.llnl.gov/projects/floating-point-compression
- zypper - libzfp1 - 1.0.1-1.7: normalized package name match | openSUSE Tumbleweed package metadata: libzfp1 from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst | Read and write numerical arrays | https://computing.llnl.gov/projects/zfp
- zypper - zfp - 1.0.1-1.7: normalized package name match | openSUSE Tumbleweed package metadata: zfp from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst | Read and write numerical arrays | https://computing.llnl.gov/projects/zfp
- zypper - zfp-devel - 1.0.1-1.7: normalized package name match | openSUSE Tumbleweed package metadata: zfp-devel from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst | Development files for zfp | https://computing.llnl.gov/projects/zfp


## Related links

- [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.
- [Text processing packages](https://www.automicvault.com/pkg/text-processing-tools/) - Matched text, document, or structured-data processing 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.
- [liblzf](https://www.automicvault.com/pkg/brew/liblzf/) - Shares av.db curated category or tags: c, cli, compression, data.
- [bzip2](https://www.automicvault.com/pkg/brew/bzip2/) - Shares av.db curated category or tags: cli, compression, data.
- [bzip3](https://www.automicvault.com/pkg/brew/bzip3/) - Shares av.db curated category or tags: cli, compression, data.
- [cmix](https://www.automicvault.com/pkg/brew/cmix/) - Shares av.db curated category or tags: cli, compression, data.
- [hdt](https://www.automicvault.com/pkg/brew/hdt/) - Shares av.db curated category or tags: cli, compression, data.
- [heatshrink](https://www.automicvault.com/pkg/brew/heatshrink/) - Shares av.db curated category or tags: cli, compression, data.
- [precomp](https://www.automicvault.com/pkg/brew/precomp/) - Shares av.db curated category or tags: cli, compression, data.
- [zxc](https://www.automicvault.com/pkg/brew/zxc/) - Shares av.db curated category or tags: cli, compression, data.
- [xrootd](https://www.automicvault.com/pkg/brew/xrootd/) - Local package facts share a topical domain. Shared terms: access, cli, computing, data, high.

## Combined YAML source

View the package source record on GitHub. [combined/zfp.yml](https://github.com/automic-vault/db/blob/main/combined/zfp.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
