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

Tools to collect and process netflow data on the command-line. Version 1.7.8 via Homebrew; verified 2026-04-28.

## Install

```sh
sudo av install brew:nfdump
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install nfdump
```

  Evidence: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install nfdump
```

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

### Linux

- apk (92%):

```sh
sudo apk add nfdump
```

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

- Debian apt (92%):

```sh
sudo apt install nfdump
```

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

- dnf (92%):

```sh
sudo dnf install nfdump
```

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

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

- zypper (92%):

```sh
sudo zypper install libnfdump-1_7_8
```

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

## Package facts

- **Package key:** brew:nfdump
- **Package manager:** Homebrew
- **Package manager page:** <https://formulae.brew.sh/formula/nfdump>
- **Version:** 1.7.8
- **Source summary:** Tools to collect and process netflow data on the command-line
- **Homepage:** <https://github.com/phaag/nfdump>
- **Repository:** <https://github.com/phaag/nfdump>
- **Upstream docs:** <https://github.com/phaag/nfdump#readme>
- **License:** BSD-3-Clause
- **Source archive:** <https://github.com/phaag/nfdump/archive/refs/tags/v1.7.8.tar.gz>
- **Last updated:** 2026-04-28T13:34:16Z
- **Generated:** 2026-07-08T07:18:31+00:00

## Executables

- geolookup (cli)
- nfanon (cli)
- nfcapd (cli)
- nfdump (cli)
- nfexpire (cli)
- nfreplay (cli)
- sfcapd (cli)
- torlookup (cli)
- updateGeoDB.sh (cli)
- updateTorDB.sh (cli)
- geolookup (alias)
- nfanon (alias)
- nfcapd (alias)
- nfdump (alias)
- nfexpire (alias)
- nfreplay (alias)
- sfcapd (alias)
- torlookup (alias)
- updateGeoDB.sh (alias)
- updateTorDB.sh (alias)

## Build dependencies

- autoconf
- automake
- libtool
- pkgconf

## Uses from macOS

- bzip2
- libpcap

## 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.7.8
- Package-manager updated: 2026-04-28
- Local data: ok
- Upstream repository: https://github.com/phaag/nfdump
- Upstream latest detected: v1.7.8 (current)
## Project history and usage

nfdump is a long-lived command-line toolkit for collecting, storing, replaying, filtering, aggregating, and analyzing NetFlow, IPFIX, and sFlow data. The core workflow pairs collector daemons such as `nfcapd` and `sfcapd` with `nfdump` queries over rotated binary flow files.

### Project history

The legacy SourceForge page says the project moved to GitHub and describes the original design: collect flow data to disk first, organize it in timestamped files, then analyze historical or continuous traffic with a fast tcpdump-like filter language. FreshPorts records the FreeBSD port being added on 2004-11-07 with version 1.1 and NetFlow v5/v7 support; later documentation and packaging show support expanded to v9, IPFIX, and sFlow.

The GitHub README describes the 1.7.x series codename `unicorn`, compatibility with files created by nfdump 1.6.18 or newer, and conversion paths for older legacy flow files.

### Adoption history

nfdump is an infrastructure package rather than a trendy CLI. It appears across Homebrew, Debian, Ubuntu, Fedora, Alpine, Nix, MacPorts, and FreeBSD ports, and is tied historically to NfSen. The GitHub repository showed 1,405 commits when researched. Homebrew's API generated on 2026-07-01 reported 233 installs-on-request in the preceding 365 days.

### How it is used

Practical users run `nfcapd` on UDP ports fed by routers, firewalls, or switches, rotate files every few minutes, and query them later with expressions such as `nfdump -r flowfile 'src ip 192.0.2.1 and dst port 443'`. The Debian nfcapd manpage says it accepts NetFlow v1, v5/v7, v9, and IPFIX transparently and works with exporters including Cisco Flexible NetFlow, ASA firewalls, NAT event logging, Juniper, VMware, Palo Alto, and yaf.

### Why package nerds care

nfdump matters because it keeps the packet-capture mental model for flow records: small composable commands, tcpdump-like filters, files you can retain or expire, and text/CSV/JSON/custom output for shell pipelines and monitoring integrations.

### Timeline

- 2004-11-07: FreshPorts records the FreeBSD nfdump port being added.
- 2014-12-01: legacy SourceForge page listed 1.6.13 as the stable version and pointed users to GitHub.
- 2026-07-01: Homebrew formula API generated data for nfdump 1.7.8.

### Related projects

- NfSen
- NetFlow
- IPFIX
- sFlow
- nfcapd
- sfcapd
- nfexpire
- nfreplay

### Sources

- <https://formulae.brew.sh/api/formula/nfdump.json>
- <https://github.com/phaag/nfdump>
- <https://manpages.debian.org/unstable/nfdump/nfcapd.1.en.html>
- <https://nfdump.sourceforge.net/>
- <https://www.freshports.org/net-mgmt/nfdump/>


## Security Notes

generalized runtime or code generation signal.

- **Geiger risk:** yellow / medium
- generalized runtime or code generation signal

## Source Database Details

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** nfdump
- **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 - nfdump - 1.7.5-2+deb13u1: normalized package name match | Debian stable package indexes: nfdump from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | netflow capture daemon | https://github.com/phaag/nfdump/
- Debian apt - nfdump-sflow - 1.7.5-2+deb13u1: normalized package name match | Debian stable package indexes: nfdump-sflow from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | sflow collector daemon | https://github.com/phaag/nfdump/
- Nix - nfdump: normalized package name match | nixpkgs package indexes: pkgs/by-name/nf/nfdump/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - nfdump - 1.7.3-1build2: normalized package name match | Ubuntu 24.04 LTS package indexes: nfdump from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | netflow capture daemon | https://github.com/phaag/nfdump/
- Ubuntu apt - nfdump-sflow - 1.7.3-1build2: normalized package name match | Ubuntu 24.04 LTS package indexes: nfdump-sflow from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | sflow collector daemon | https://github.com/phaag/nfdump/
- apk - nfdump - 1.7.6-r1: normalized package name match | Alpine Linux edge package indexes: nfdump from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz | Tools to collect and process netflow data | https://github.com/phaag/nfdump
- apk - nfdump-dbg - 1.7.6-r1: normalized package name match | Alpine Linux edge package indexes: nfdump-dbg from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz | Tools to collect and process netflow data (debug symbols) | https://github.com/phaag/nfdump
- apk - nfdump-doc - 1.7.6-r1: normalized package name match | Alpine Linux edge package indexes: nfdump-doc from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz | Tools to collect and process netflow data (documentation) | https://github.com/phaag/nfdump
- apk - nfdump-openrc - 1.7.6-r1: normalized package name match | Alpine Linux edge package indexes: nfdump-openrc from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz | Tools to collect and process netflow data (OpenRC init scripts) | https://github.com/phaag/nfdump
- apk - nfdump-static - 1.7.6-r1: normalized package name match | Alpine Linux edge package indexes: nfdump-static from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz | Tools to collect and process netflow data (static library) | https://github.com/phaag/nfdump
- apk - nfprofile - 1.7.6-r1: normalized package name match | Alpine Linux edge package indexes: nfprofile from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz | Create views of the data with NFdump filters | https://github.com/phaag/nfdump
- apk - sfcapd - 1.7.6-r1: normalized package name match | Alpine Linux edge package indexes: sfcapd from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz | sFlow collector | https://github.com/phaag/nfdump
- apk - sfcapd-openrc - 1.7.6-r1: normalized package name match | Alpine Linux edge package indexes: sfcapd-openrc from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz | Tools to collect and process netflow data (OpenRC init scripts) | https://github.com/phaag/nfdump
- dnf - nfdump - 1.7.8-1.fc45: normalized package name match | Fedora Rawhide package metadata: nfdump from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst | NetFlow collecting and processing tools | https://github.com/phaag/nfdump
- dnf - nfdump-libs - 1.7.8-1.fc45: normalized package name match | Fedora Rawhide package metadata: nfdump-libs from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst | Libraries used by NFDUMP packages | https://github.com/phaag/nfdump
- zypper - libnfdump-1_7_8 - 1.7.8-1.1: normalized package name match | openSUSE Tumbleweed package metadata: libnfdump-1_7_8 from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst | Shared Library part of libnfdump | https://github.com/phaag/nfdump


## 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.
- [Networking and protocol packages](https://www.automicvault.com/pkg/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [autoconf](https://www.automicvault.com/pkg/brew/autoconf/) - Build dependency declared by Homebrew.
- [automake](https://www.automicvault.com/pkg/brew/automake/) - Build dependency declared by Homebrew.
- [libtool](https://www.automicvault.com/pkg/brew/libtool/) - Build dependency declared by Homebrew.
- [pkgconf](https://www.automicvault.com/pkg/brew/pkgconf/) - Build dependency declared by Homebrew.
- [cdpr](https://www.automicvault.com/pkg/brew/cdpr/) - Shares av.db curated category or tags: cli, network-monitoring, networking.
- [fprobe](https://www.automicvault.com/pkg/brew/fprobe/) - Shares av.db curated category or tags: cli, netflow, network-monitoring, networking, traffic-analysis.
- [yaf](https://www.automicvault.com/pkg/brew/yaf/) - Shares av.db curated category or tags: cli, network-monitoring, networking.
- [fastnetmon](https://www.automicvault.com/pkg/brew/fastnetmon/) - Shares av.db curated category or tags: cli, netflow, network-monitoring, networking.
- [flow-tools](https://www.automicvault.com/pkg/brew/flow-tools/) - Shares av.db curated category or tags: cli, netflow, networking, traffic-analysis.
- [ntopng](https://www.automicvault.com/pkg/brew/ntopng/) - Shares av.db curated category or tags: cli, network-monitoring, networking, traffic-analysis.
- [sniffer](https://www.automicvault.com/pkg/brew/sniffer/) - Shares av.db curated category or tags: cli, network-monitoring, networking, traffic-analysis.
- [sniffnet](https://www.automicvault.com/pkg/brew/sniffnet/) - Shares av.db curated category or tags: cli, network-monitoring, networking, traffic-analysis.
- [httpry](https://www.automicvault.com/pkg/brew/httpry/) - Local metadata places this package in an adjacent workflow. Shared terms: analysis, cli, monitoring, network, network-monitoring.

## Combined YAML source

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