# Install net-snmp with Homebrew, apk, apt, dnf, MacPorts, Nix, pacman, zypper

Implements SNMP v1, v2c, and v3, using IPv4 and IPv6. Version 5.9.5.2 via Homebrew; verified 2026-06-22.

## Install

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

Additional install commands:

### macOS

- Homebrew (100%):

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

  Evidence: local Homebrew formula metadata

- MacPorts (94%):

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

  Evidence: 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
```

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

- Debian apt (92%):

```sh
sudo apt install libnetsnmptrapd40t64
```

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

- dnf (92%):

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

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

  Evidence: 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
```

  Evidence: 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 libsnmp45
```

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

## Package facts

- **Package key:** brew:net-snmp
- **Package manager:** Homebrew
- **Package manager page:** <https://formulae.brew.sh/formula/net-snmp>
- **Version:** 5.9.5.2
- **Source summary:** Implements SNMP v1, v2c, and v3, using IPv4 and IPv6
- **Homepage:** <http://www.net-snmp.org/>
- **Repository:** <https://github.com/net-snmp/net-snmp>
- **Upstream docs:** <https://www.net-snmp.org/dev/agent>
- **License:** MIT-CMU AND MIT AND BSD-3-Clause
- **Source archive:** <https://downloads.sourceforge.net/project/net-snmp/net-snmp/5.9.5.2/net-snmp-5.9.5.2.tar.gz>
- **Last updated:** 2026-06-22T14:05:36-07:00
- **Generated:** 2026-07-08T07:18:31+00:00

## Executables

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

## Dependencies

- openssl@3

## Build dependencies

- autoconf
- automake
- libtool

## 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: 5.9.5.2
- Package-manager updated: 2026-06-22
- Local data: ok
- Upstream repository: http://www.net-snmp.org/
- info: Release/tag comparison is only available for GitHub repositories.
## Project history and usage

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.

### Project history

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.

### Adoption history

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.

### How it is used

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.

### Why package nerds care

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.

### Timeline

- 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

### Sources

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


## Security Notes

narrow executable package without higher-risk signals.

- **Geiger risk:** green / low
- 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
## Source Database Details

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** net-snmp
- **Version Scheme:** 0
- **Revision:** 0
- **Head Version:** HEAD
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** yes
- **URL Keys:** head, stable

## Other Package-Manager Records

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


## 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.
- [Web development packages](https://www.automicvault.com/pkg/web-dev-tools/) - Matched web development metadata.
- [Homebrew utility packages](https://www.automicvault.com/pkg/brew-utility-packages/) - Matched Homebrew package provider.
- [openssl@3](https://www.automicvault.com/pkg/brew/openssl-3/) - 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.
- [libtool](https://www.automicvault.com/pkg/brew/libtool/) - Build dependency declared by Homebrew.
- [collectd](https://www.automicvault.com/pkg/brew/collectd/) - Popular package that depends on this formula.
- [php](https://www.automicvault.com/pkg/brew/php/) - Popular package that depends on this formula.
- [php@8.4](https://www.automicvault.com/pkg/brew/php-8-4/) - Popular package that depends on this formula.
- [sane-backends](https://www.automicvault.com/pkg/brew/sane-backends/) - Popular package that depends on this formula.
- [syslog-ng](https://www.automicvault.com/pkg/brew/syslog-ng/) - Popular package that depends on this formula.
- [libsmi](https://www.automicvault.com/pkg/brew/libsmi/) - Shares av.db curated category or tags: cli, mib, network-management, networking, snmp.
- [lldpd](https://www.automicvault.com/pkg/brew/lldpd/) - Shares av.db curated category or tags: cli, daemon, networking, snmp.
- [ahcpd](https://www.automicvault.com/pkg/brew/ahcpd/) - Shares av.db curated category or tags: cli, daemon, networking.
- [argus](https://www.automicvault.com/pkg/brew/argus/) - Shares av.db curated category or tags: cli, daemon, networking.
- [bozohttpd](https://www.automicvault.com/pkg/brew/bozohttpd/) - Shares av.db curated category or tags: cli, daemon, networking.
- [btpd](https://www.automicvault.com/pkg/brew/btpd/) - Shares av.db curated category or tags: cli, daemon, networking.
- [ctrld](https://www.automicvault.com/pkg/brew/ctrld/) - Shares av.db curated category or tags: cli, daemon, networking.
- [ddclient](https://www.automicvault.com/pkg/brew/ddclient/) - Shares av.db curated category or tags: cli, daemon, networking.
- [i2pd](https://www.automicvault.com/pkg/brew/i2pd/) - Local metadata places this package in an adjacent workflow. Shared terms: cli, daemon, network, networking, openssl.
- [openiked](https://www.automicvault.com/pkg/brew/openiked/) - Local metadata places this package in an adjacent workflow. Shared terms: cli, daemon, network, networking, openssl.
- [freeswitch](https://www.automicvault.com/pkg/brew/freeswitch/) - Local package facts share a topical domain. Shared terms: cert, cli, encode, networking, openssl.

## Combined YAML source

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