# cdpr を Homebrew, apt, MacPorts, Nix でインストール

cdpr のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。

## インストール

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

追加のインストールコマンド:

### macOS

- Homebrew (100%):

```sh
brew install cdpr
```

  証拠: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install cdpr
```

  証拠: 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
```

  証拠: 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
```

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

## パッケージ情報

- **パッケージキー:** brew:cdpr
- **パッケージマネージャ:** Homebrew
- **バージョン:** 2.4
- **ソース概要:** Cisco Discovery Protocol Reporter
- **ホームページ:** <https://www.monkeymental.com/>
- **生成日時:** 2026-08-03T19:37:03+00:00

## 実行可能ファイル

- cdpr (エイリアス)

## インストール挙動

- Bottle: 利用不可

## バージョンと鮮度

- ページ生成日: 2026-08-03
- マネージャ版: 2.4
## プロジェクトの歴史と使われ方

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.

### プロジェクトの歴史

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.

### 採用の歴史

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.

### 使われ方

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.

### パッケージ好きにとっての重要性

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.

### タイムライン

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

### ソース

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


## セキュリティノート

narrow executable package without higher-risk signals.

- **Geiger リスク:** グリーン / 低
- narrow executable package without higher-risk signals

## 他のパッケージマネージャ記録

- 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


## Combined YAML source

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


## ソース

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