# Install sngrep with Homebrew, apk, apt, dnf, Nix, zypper

Command-line tool for displaying SIP calls message flows. Version 1.8.3 via Homebrew; verified 2026-06-25.

## Install

```sh
sudo av install brew:sngrep
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install sngrep
```

  Evidence: local Homebrew formula metadata

### Linux

- apk (92%):

```sh
sudo apk add sngrep
```

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

- Debian apt (92%):

```sh
sudo apt install sngrep
```

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

- dnf (92%):

```sh
sudo dnf install sngrep
```

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

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

- zypper (92%):

```sh
sudo zypper install sngrep
```

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

## Package facts

- **Package key:** brew:sngrep
- **Package manager:** Homebrew
- **Package manager page:** <https://formulae.brew.sh/formula/sngrep>
- **Version:** 1.8.3
- **Source summary:** Command-line tool for displaying SIP calls message flows
- **Homepage:** <https://github.com/irontec/sngrep>
- **Repository:** <https://github.com/irontec/sngrep>
- **Upstream docs:** <https://github.com/irontec/sngrep#readme>
- **License:** GPL-3.0-or-later WITH cryptsetup-OpenSSL-exception
- **Source archive:** <https://github.com/irontec/sngrep/releases/download/v1.8.3/sngrep-1.8.3.tar.gz>
- **Last updated:** 2026-06-25T13:38:08+02:00
- **Generated:** 2026-07-08T07:18:31+00:00

## Executables

- sngrep (cli)
- sngrep (alias)

## Dependencies

- ncurses
- openssl@4

## Build dependencies

- autoconf
- automake
- pkgconf

## Uses from macOS

- 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.8.3
- Package-manager updated: 2026-06-25
- Local data: ok
- Upstream repository: https://github.com/irontec/sngrep
- info: No cached GitHub release or tag data was available.
## Project history and usage

sngrep is a terminal UI for displaying SIP call message flows. It supports live packet capture and reading PCAP files, using ncurses and libpcap as core dependencies.

### Project history

The public GitHub repository was created in 2013, and the official README copyright line identifies Irontec stewardship through 2026. The README describes the project as a SIP message flow viewer for terminal use.

### Adoption history

sngrep fits naturally into distro package collections for VoIP operators and network troubleshooters. The official README links binary installation instructions for Debian/Ubuntu, Red Hat-family systems, Alpine, Gentoo, Arch, macOS, and OpenWRT/LEDE, and the supplied package facts list several package managers.

### How it is used

Users can capture SIP traffic live, inspect PCAP files, filter by host and port, save captures, and configure behavior in sngreprc. Optional build features include OpenSSL or GnuTLS, PCRE, zlib, Unicode, IPv6, and EEP support.

### Why package nerds care

sngrep is a compact example of a network TUI with optional protocol and compression features, making it a useful packaging case for dependency flags, ncurses variants, libpcap permissions, and telecom workflows.

### Timeline

- 2013: Public GitHub repository created.
- 2026: Official README copyright range and GitHub metadata show ongoing maintenance.

### Related projects

- The README and wiki connect sngrep to SIP, PCAP, ncurses, libpcap, TLS libraries, PCRE, zlib, and OpenWRT/LEDE packaging.

### Sources

- <https://api.github.com/repos/irontec/sngrep>
- <https://github.com/irontec/sngrep#readme>
- <https://github.com/irontec/sngrep/wiki/Configuration>
- source_facts.package-manager


## Security Notes

No matching local secret-handling manifest was found for sngrep. Nucleus package metadata is still published here so future coverage has a stable package URL.



## Configuration and credential file locations

These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.


## Configuration files

- Unix: /etc/sngreprc, /usr/local/etc/sngreprc, ~/.sngreprc
## Source Database Details

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** sngrep
- **Version Scheme:** 0
- **Revision:** 1
- **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 - sngrep - 1.8.2-1: normalized package name match | Debian stable package indexes: sngrep from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Ncurses SIP Messages flow viewer | https://github.com/irontec/sngrep
- Nix - sngrep: normalized package name match | nixpkgs package indexes: pkgs/by-name/sn/sngrep/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - sngrep - 1.8.0-1build2: normalized package name match | Ubuntu 24.04 LTS package indexes: sngrep from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Ncurses SIP Messages flow viewer | https://github.com/irontec/sngrep
- apk - sngrep - 1.8.3-r2: normalized package name match | Alpine Linux edge package indexes: sngrep from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | display SIP call message flows from a terminal | https://github.com/irontec/sngrep
- apk - sngrep-dbg - 1.8.3-r2: normalized package name match | Alpine Linux edge package indexes: sngrep-dbg from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | display SIP call message flows from a terminal (debug symbols) | https://github.com/irontec/sngrep
- apk - sngrep-doc - 1.8.3-r2: normalized package name match | Alpine Linux edge package indexes: sngrep-doc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | display SIP call message flows from a terminal (documentation) | https://github.com/irontec/sngrep
- dnf - sngrep - 1.8.3-1.fc45: normalized package name match | Fedora Rawhide package metadata: sngrep from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst | Ncurses SIP Messages flow viewer | https://github.com/irontec/sngrep
- zypper - sngrep - 1.8.3-1.3: normalized package name match | openSUSE Tumbleweed package metadata: sngrep from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst | Ncurses SIP Messages flow viewer | https://github.com/irontec/sngrep


## Related links

- [Source-control packages](https://www.automicvault.com/pkg/source-control-tools/) - Belongs to a source-control command family.
- [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.
- [Homebrew utility packages](https://www.automicvault.com/pkg/brew-utility-packages/) - Matched Homebrew package provider.
- [ncurses](https://www.automicvault.com/pkg/brew/ncurses/) - Runtime dependency declared by Homebrew.
- [openssl@4](https://www.automicvault.com/pkg/brew/openssl-4/) - Runtime dependency declared by Homebrew.
- [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.
- [pkgconf](https://www.automicvault.com/pkg/brew/pkgconf/) - Build dependency declared by Homebrew.
- [httpflow](https://www.automicvault.com/pkg/brew/httpflow/) - Shares av.db curated category or tags: cli, networking, packet-analysis, packet-capture, pcap.
- [libexosip](https://www.automicvault.com/pkg/brew/libexosip/) - Shares av.db curated category or tags: cli, networking, sip, voip.
- [pjproject](https://www.automicvault.com/pkg/brew/pjproject/) - Shares av.db curated category or tags: cli, networking, sip, voip.
- [sofia-sip](https://www.automicvault.com/pkg/brew/sofia-sip/) - Shares av.db curated category or tags: cli, networking, sip, voip.
- [tcpdump](https://www.automicvault.com/pkg/brew/tcpdump/) - Shares av.db curated category or tags: cli, networking, packet-analysis, packet-capture, pcap.
- [ipsumdump](https://www.automicvault.com/pkg/brew/ipsumdump/) - Shares av.db curated category or tags: cli, networking, packet-analysis, pcap.
- [miruo](https://www.automicvault.com/pkg/brew/miruo/) - Shares av.db curated category or tags: cli, networking, packet-analysis, pcap.
- [packetq](https://www.automicvault.com/pkg/brew/packetq/) - Shares av.db curated category or tags: cli, networking, packet-analysis, pcap.
- [tcpflow](https://www.automicvault.com/pkg/brew/tcpflow/) - Local package facts share a topical domain. Shared terms: analysis, capture, cli, networking, openssl.

## Combined YAML source

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


## Sources

- Nucleus package database
- Geiger risk classifier
- package-page enrichment
- curated configuration and credential file locations
- 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
