# 使用 Homebrew, apk, apt, dnf, Nix, zypper 安装 sngrep

查看 sngrep 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

## 安装

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

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install sngrep
```

  证据: local Homebrew formula metadata

### Linux

- apk (92%):

```sh
sudo apk add sngrep
```

  证据: 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
```

  证据: 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
```

  证据: Fedora Rawhide package metadata: sngrep from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst

- Nix (92%):

```sh
nix profile install nixpkgs#sngrep
```

  证据: 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
```

  证据: openSUSE Tumbleweed package metadata: sngrep from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst

## 软件包事实

- **软件包键:** brew:sngrep
- **软件包管理器:** Homebrew
- **版本:** 1.8.4
- **来源摘要:** Command-line tool for displaying SIP calls message flows
- **主页:** <https://github.com/irontec/sngrep>
- **仓库:** <https://github.com/irontec/sngrep>
- **最后更新:** 2026-07-30T22:31:03+09:00
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- sngrep (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

- 页面生成时间: 2026-08-03
- 管理器版本: 1.8.4
## 项目历史与用法

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.

### 项目历史

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.

### 采用历史

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.

### 使用方式

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.

### 为什么软件包爱好者会关心

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.

### 时间线

- 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.

### 来源

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


## 安全说明

没有找到 sngrep 的匹配本地密钥处理 manifest。Nucleus 软件包元数据仍在此发布，以便未来覆盖拥有稳定的软件包 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
## 其他软件包管理器记录

- 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.4-r0: 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.4-r0: 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.4-r0: 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.4-3.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/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | Ncurses SIP Messages flow viewer | https://github.com/irontec/sngrep
- zypper - sngrep - 1.8.4-1.2: normalized package name match | openSUSE Tumbleweed package metadata: sngrep from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | Ncurses SIP Messages flow viewer | https://github.com/irontec/sngrep


## Combined YAML source

View the package source record on GitHub. [combined/sngrep.yml](https://github.com/mxcl/pkgdb/blob/main/combined/sngrep.yml)


## 来源

- pkg.so package database
- Geiger risk classifier
- curated configuration and credential file locations
- curated package history
- pkgdb category and tag curation
- external package-manager database matches
- cross-ecosystem install command graph
