# net-snmp を Homebrew, apk, dnf, MacPorts, Nix, pacman, zypper, apt でインストール

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

## インストール

```sh
sudo av install brew:net-snmp
```

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

### macOS

- Homebrew (100%):

```sh
brew install net-snmp
```

  証拠: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install net-snmp
```

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

### Linux

- apk (92%):

```sh
sudo apk add net-snmp
```

  証拠: Alpine Linux edge package indexes: net-snmp from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz

- dnf (92%):

```sh
sudo dnf install net-snmp
```

  証拠: Fedora Rawhide package metadata: net-snmp 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#net-snmp
```

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

- pacman (92%):

```sh
sudo pacman -S net-snmp
```

  証拠: Arch Linux sync databases: net-snmp from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz

- zypper (92%):

```sh
sudo zypper install net-snmp
```

  証拠: openSUSE Tumbleweed package metadata: net-snmp from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst

- Debian apt (92%):

```sh
sudo apt install libnetsnmptrapd40t64
```

  証拠: Debian stable package indexes: libnetsnmptrapd40t64 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

## パッケージ情報

- **パッケージキー:** brew:net-snmp
- **パッケージマネージャ:** Homebrew
- **バージョン:** 5.9.5.2
- **ソース概要:** Implements SNMP v1, v2c, and v3, using IPv4 and IPv6
- **ホームページ:** <http://www.net-snmp.org/>
- **リポジトリ:** <https://github.com/net-snmp/net-snmp>
- **最終更新:** 2026-06-22T14:05:36-07:00
- **生成日時:** 2026-08-03T19:37:03+00:00

## 実行可能ファイル

- agentxtrap (エイリアス)
- checkbandwidth (エイリアス)
- encode_keychange (エイリアス)
- fixproc (エイリアス)
- ipf-mod.pl (エイリアス)
- mib2c (エイリアス)
- mib2c-update (エイリアス)
- net-snmp-cert (エイリアス)
- net-snmp-config (エイリアス)
- net-snmp-create-v3-user (エイリアス)
- snmp-bridge-mib (エイリアス)
- snmpbulkget (エイリアス)
- snmpbulkwalk (エイリアス)
- snmpcheck (エイリアス)
- snmpconf (エイリアス)
- snmpd (エイリアス)
- snmpdelta (エイリアス)
- snmpdf (エイリアス)
- snmpget (エイリアス)
- snmpgetnext (エイリアス)
- snmpinform (エイリアス)
- snmpnetstat (エイリアス)
- snmpping (エイリアス)
- snmpps (エイリアス)
- snmpset (エイリアス)
- snmpstatus (エイリアス)
- snmptable (エイリアス)
- snmptest (エイリアス)
- snmptranslate (エイリアス)
- snmptrap (エイリアス)
- snmptrapd (エイリアス)
- snmpusm (エイリアス)
- snmpvacm (エイリアス)
- snmpwalk (エイリアス)
- tkmib (エイリアス)
- traptoemail (エイリアス)

## インストール挙動

- Bottle: 利用不可

## バージョンと鮮度

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

Net-SNMP is the classic open source SNMP toolkit: command-line clients, an extensible `snmpd` agent, trap handling, MIB tools, and libraries for building SNMP-aware software.

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

The project starts with CMU-SNMP in 1992, when Carnegie Mellon made an SNMP library, simple management commands, and an agent publicly available. Wes Hardaker extended that code at UC Davis, published it as ucd-snmp v3.0 in 1995, and opened it into a broader collaborative open source project.

The IETF engaged Hardaker in 1998 to work on a reference implementation of SNMPv3. That work fed into ucd-snmp v4.0 in August 1999, adding SNMPv3 capability and early AgentX support. In late 2000 the project moved to SourceForge and changed its name to Net-SNMP; v5.0 followed in April 2002 with a restructured, more modular agent framework.

### 採用の歴史

Net-SNMP became infrastructure software because SNMP remained the common denominator for monitoring routers, servers, printers, UPS devices, and appliances. The official history says it was adopted by most Linux and BSD-based systems and ported to Windows and embedded systems.

Homebrew analytics are high relative to the rest of this batch: the formula page showed 127,106 installs over 365 days and 10,635 installs on request, indicating it is often pulled in as a dependency as well as installed directly.

### 使われ方

Package users reach for `snmpwalk`, `snmpget`, `snmptable`, `snmptranslate`, `snmpset`, `snmptrap`, and `snmpd`. Typical work includes walking a device subtree, translating numeric OIDs through MIB files, testing SNMPv3 credentials, running a local agent, or debugging traps with `snmptrapd`.

The package is keg-only in Homebrew, which matters for users expecting system SNMP tools. On macOS it often gets installed because another build needs Net-SNMP headers/libraries, or because an operator wants modern upstream tools instead of vendor-provided ones.

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

Net-SNMP is one of those packages whose value is not glamour but compatibility. It embodies decades of protocol edge cases, MIB parser behavior, OS-specific agent modules, and CLI conventions that monitoring stacks still assume.

### タイムライン

- 1992: CMU-SNMP origins at Carnegie Mellon University.
- 1995: UCD-SNMP v3.0 released publicly.
- 1998: IETF-sponsored SNMPv3 reference-implementation work begins.
- August 1999: ucd-snmp v4.0 released with SNMPv3 and early AgentX support.
- Late 2000: renamed Net-SNMP and moved to SourceForge.
- April 2002: net-snmp v5.0 released.

### Related projects

- CMU-SNMP
- UCD-SNMP
- AgentX
- SMUX
- MRTG
- RRDtool
- Nagios plugins

### ソース

- <https://formulae.brew.sh/formula/net-snmp>
- <https://github.com/net-snmp/net-snmp>
- <https://net-snmp.sourceforge.io/about/history.html>
- <https://www.net-snmp.org/>
- <https://www.net-snmp.org/docs/FAQ.html>


## セキュリティノート

narrow executable package without higher-risk signals.

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


## 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: snmp.conf, snmp.local.conf in Net-SNMP configuration directories, snmpd.conf, snmpd.local.conf in Net-SNMP configuration directories, ~/.snmp/snmp.conf, /var/net-snmp/snmpd.conf

## Credential files

- Unix: ~/.snmp/snmp.conf, /var/net-snmp/snmpd.conf
## 他のパッケージマネージャ記録

- Debian apt - libnetsnmptrapd40t64 - 5.9.4+dfsg-2+deb13u1: normalized package name match | Debian stable package indexes: libnetsnmptrapd40t64 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | SNMP (Simple Network Management Protocol) trap library | https://net-snmp.sourceforge.net/
- Debian apt - libsnmp-base - 5.9.4+dfsg-2+deb13u1: normalized package name match | Debian stable package indexes: libsnmp-base from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | SNMP configuration script, MIBs and documentation | https://net-snmp.sourceforge.net/
- Debian apt - libsnmp-dev - 5.9.4+dfsg-2+deb13u1: normalized package name match | Debian stable package indexes: libsnmp-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | SNMP (Simple Network Management Protocol) development files | https://net-snmp.sourceforge.net/
- Debian apt - libsnmp-perl - 5.9.4+dfsg-2+deb13u1: normalized package name match | Debian stable package indexes: libsnmp-perl from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | SNMP (Simple Network Management Protocol) Perl5 support | https://net-snmp.sourceforge.net/
- Debian apt - libsnmp40t64 - 5.9.4+dfsg-2+deb13u1: normalized package name match | Debian stable package indexes: libsnmp40t64 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | SNMP (Simple Network Management Protocol) library | https://net-snmp.sourceforge.net/
- Debian apt - snmp - 5.9.4+dfsg-2+deb13u1: normalized package name match | Debian stable package indexes: snmp from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | SNMP (Simple Network Management Protocol) applications | https://net-snmp.sourceforge.net/
- Debian apt - snmpd - 5.9.4+dfsg-2+deb13u1: normalized package name match | Debian stable package indexes: snmpd from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | SNMP (Simple Network Management Protocol) agents | https://net-snmp.sourceforge.net/
- Debian apt - snmptrapd - 5.9.4+dfsg-2+deb13u1: normalized package name match | Debian stable package indexes: snmptrapd from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Net-SNMP notification receiver | https://net-snmp.sourceforge.net/
- Debian apt - tkmib - 5.9.4+dfsg-2+deb13u1: normalized package name match | Debian stable package indexes: tkmib from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | SNMP (Simple Network Management Protocol) MIB browser | https://net-snmp.sourceforge.net/
- Nix - net-snmp: normalized package name match | nixpkgs package indexes: pkgs/by-name/ne/net-snmp/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - libnetsnmptrapd40t64 - 5.9.4+dfsg-1.1ubuntu3: normalized package name match | Ubuntu 24.04 LTS package indexes: libnetsnmptrapd40t64 from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | SNMP (Simple Network Management Protocol) trap library | https://net-snmp.sourceforge.net/
- Ubuntu apt - libsnmp-base - 5.9.4+dfsg-1.1ubuntu3: normalized package name match | Ubuntu 24.04 LTS package indexes: libsnmp-base from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz | SNMP configuration script, MIBs and documentation | https://net-snmp.sourceforge.net/
- Ubuntu apt - libsnmp-dev - 5.9.4+dfsg-1.1ubuntu3: normalized package name match | Ubuntu 24.04 LTS package indexes: libsnmp-dev from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | SNMP (Simple Network Management Protocol) development files | https://net-snmp.sourceforge.net/
- Ubuntu apt - libsnmp-perl - 5.9.4+dfsg-1.1ubuntu3: normalized package name match | Ubuntu 24.04 LTS package indexes: libsnmp-perl from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | SNMP (Simple Network Management Protocol) Perl5 support | https://net-snmp.sourceforge.net/
- Ubuntu apt - libsnmp40t64 - 5.9.4+dfsg-1.1ubuntu3: normalized package name match | Ubuntu 24.04 LTS package indexes: libsnmp40t64 from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz | SNMP (Simple Network Management Protocol) library | https://net-snmp.sourceforge.net/
- Ubuntu apt - snmp - 5.9.4+dfsg-1.1ubuntu3: normalized package name match | Ubuntu 24.04 LTS package indexes: snmp from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz | SNMP (Simple Network Management Protocol) applications | https://net-snmp.sourceforge.net/


## Combined YAML source

View the package source record on GitHub. [combined/net-snmp.yml](https://github.com/mxcl/pkgdb/blob/main/combined/net-snmp.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
