# Install cdpr with Homebrew, apt, MacPorts, Nix

Cisco Discovery Protocol Reporter. Version 2.4 via Homebrew; verified from local package data.

## Install

```sh
sudo av install brew:cdpr
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install cdpr
```

  Evidence: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install cdpr
```

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

### Linux

- Debian apt (92%):

```sh
sudo apt install cdpr
```

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

- Nix (92%):

```sh
nix profile install nixpkgs#cdpr
```

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

## Package facts

- **Package key:** brew:cdpr
- **Package manager:** Homebrew
- **Package manager page:** <https://formulae.brew.sh/formula/cdpr>
- **Version:** 2.4
- **Source summary:** Cisco Discovery Protocol Reporter
- **Homepage:** <https://www.monkeymental.com/>
- **Repository:** <https://sourceforge.net/p/cdpr/code>
- **Upstream docs:** <https://sourceforge.net/projects/cdpr>
- **License:** GPL-2.0-or-later
- **Source archive:** <https://downloads.sourceforge.net/project/cdpr/cdpr/2.4/cdpr-2.4.tgz>
- **Generated:** 2026-07-08T07:18:31+00:00

## Executables

- cdpr (cli)
- cdpr (alias)

## Uses from macOS

- libpcap

## Install behavior

- Post-install hook: not defined
- Caveats: run cdpr sudo'd in order to avoid the error: 'No interfaces found! Make sure pcap is installed.'
- Bottle: available on arm64_big_sur, arm64_linux, arm64_monterey, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, big_sur, catalina, monterey, sonoma, ventura

## Freshness

- Page generated: 2026-07-08
- Package-manager version: 2.4
- Local data: ok
- Upstream repository: https://www.monkeymental.com/
- info: No package-manager update timestamp was available.
- info: Release/tag comparison is only available for GitHub repositories.
## Project history and usage

CDPR, the Cisco Discovery Protocol Reporter, is a small C command-line utility for decoding CDP packets so a host can report which Cisco switch and port it is connected to.

### Project history

SourceForge lists the project as registered on 2003-02-11 and describes it as a network-monitoring utility for decoding Cisco Discovery Protocol packets. The MonkeyMental project page identifies CDPR 2.4 as the packaged release and says the tool is known to compile and run on Solaris, Linux, HP-UX, AIX, and Windows with pcap.

### Adoption history

CDPR had the classic small-admin-tool adoption path: tarball releases on SourceForge, distro packaging for Unix-like systems, and enough operational usefulness to survive in Homebrew, Debian, Ubuntu, MacPorts, and Nix per the supplied package-manager metadata.

### How it is used

Administrators run cdpr to decode the local network's CDP announcements. In verbose mode it can decode the full packet, including VLAN and capability information, and MonkeyMental says it can report data back to a server for a switch-port database.

### Why package nerds care

CDPR is package-nerd interesting because it is a tiny single-purpose network discovery tool that packages cleanly, needs libpcap-style platform support, and fills the gap when a host needs CDP visibility without a full network-management suite.

### Timeline

- 2003: CDPR project registered on SourceForge.
- 2010: SourceForge files list cdpr-2.4.tgz in the cdpr file area.
- 2013: SourceForge project metadata lists the last update as 2013-02-18.

### Related projects

- Cisco Discovery Protocol is the network protocol CDPR decodes.
- libpcap/pcap-style capture support is used for packet capture on supported systems.

### Sources

- <https://sourceforge.net/p/cdpr/code>
- <https://www.monkeymental.com/>
- <https://sourceforge.net/projects/cdpr>
- <https://formulae.brew.sh/api/formula/cdpr.json>
- <https://sourceforge.net/projects/cdpr/files/>


## Security Notes

narrow executable package without higher-risk signals.

- **Geiger risk:** green / low
- narrow executable package without higher-risk signals

## Source Database Details

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** cdpr
- **Version Scheme:** 0
- **Revision:** 0
- **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 - cdpr - 2.4-3+b1: normalized package name match | Debian stable package indexes: cdpr from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Cisco Discovery Protocol Reporter | http://cdpr.sourceforge.net/
- Nix - cdpr: normalized package name match | nixpkgs package indexes: pkgs/by-name/cd/cdpr/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - cdpr - 2.4-3build2: normalized package name match | Ubuntu 24.04 LTS package indexes: cdpr from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Cisco Discovery Protocol Reporter | http://cdpr.sourceforge.net/
- MacPorts - cdpr: normalized package name match | MacPorts ports tree: net/cdpr/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1


## Related links

- [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.
- [nfdump](https://www.automicvault.com/pkg/brew/nfdump/) - Shares av.db curated category or tags: cli, network-monitoring, networking.
- [yaf](https://www.automicvault.com/pkg/brew/yaf/) - Shares av.db curated category or tags: cli, network-monitoring, networking.
- [jnettop](https://www.automicvault.com/pkg/brew/jnettop/) - Shares av.db curated category or tags: c, cli, network-monitoring, networking.
- [argus](https://www.automicvault.com/pkg/brew/argus/) - Shares av.db curated category or tags: cli, network-monitoring, networking.
- [argus-clients](https://www.automicvault.com/pkg/brew/argus-clients/) - Shares av.db curated category or tags: cli, network-monitoring, networking.
- [bitchx](https://www.automicvault.com/pkg/brew/bitchx/) - Shares av.db curated category or tags: c, cli, networking.
- [bmon](https://www.automicvault.com/pkg/brew/bmon/) - Shares av.db curated category or tags: cli, network-monitoring, networking.
- [bwm-ng](https://www.automicvault.com/pkg/brew/bwm-ng/) - Shares av.db curated category or tags: cli, network-monitoring, networking.
- [fprobe](https://www.automicvault.com/pkg/brew/fprobe/) - Local metadata places this package in an adjacent workflow. Shared terms: cli, monitoring, network, network-monitoring, networking.
- [bittwist](https://www.automicvault.com/pkg/brew/bittwist/) - Local metadata places this package in an adjacent workflow. Shared terms: cli, network, networking, packet.

## Combined YAML source

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