ngrep v1.48.3
Downloads
Download the appropriate binary for your platform:
- Linux x86_64:
ngrep-linux-x86_64.tar.gz - Linux ARM64:
ngrep-linux-arm64.tar.gz - macOS 15 (ARM64):
ngrep-macos-15-arm64.tar.gz - macOS 26 (ARM64):
ngrep-macos-26-arm64.tar.gz - FreeBSD 15:
ngrep-freebsd-15-x86_64.tar.gz - OpenBSD 7:
ngrep-openbsd-7-x86_64.tar.gz - NetBSD 10:
ngrep-netbsd-10-x86_64.tar.gz - Solaris 11:
ngrep-solaris-11-x86_64.tar.gz - Windows x86_64:
ngrep-windows-x86_64.zip
Installation
Unix-like systems:
:::bash
tar -xzf ngrep-*.tar.gz
sudo install -m 755 ngrep /usr/local/bin/
Dependencies (Unix): - libpcap (or equivalent packet capture library) - libpcre2-8 (if built with PCRE2 support)
Install via package manager:
- Ubuntu: apt install libpcap0.8 libpcre2-8-0
- macOS: brew install libpcap pcre2
- FreeBSD: pkg install pcre2 # libpcap installed by default
- OpenBSD: pkg_add pcre2 # libpcap installed by default
- NetBSD: pkg_add libpcap # pcre2 installed by default
- Solaris: pkg install libpcap pcre2
- Windows: the winXX\build.ps1 script does it all for you
Windows:
Extract the zip file. The package includes ngrep.exe and required DLLs.
You'll need Npcap installed to capture packets.
Verification
Verify your download with SHA256:
:::bash
sha256sum -c SHA256SUMS
Full Installation Packages
Files ending in -full.tar.gz contain the complete installation tree including man pages and documentation.