# Install libsmi with Homebrew, apk, apt, dnf, MacPorts, Nix, zypper

Library to Access SMI MIB Information. Version 0.5.0 via Homebrew; verified from local package data.

## Install

```sh
sudo av install brew:libsmi
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install libsmi
```

  Evidence: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install libsmi
```

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

### Linux

- apk (92%):

```sh
sudo apk add libsmi
```

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

- Debian apt (92%):

```sh
sudo apt install libsmi2-common
```

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

- dnf (92%):

```sh
sudo dnf install libsmi
```

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

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

- zypper (92%):

```sh
sudo zypper install libsmi
```

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

## Package facts

- **Package key:** brew:libsmi
- **Package manager:** Homebrew
- **Package manager page:** <https://formulae.brew.sh/formula/libsmi>
- **Version:** 0.5.0
- **Source summary:** Library to Access SMI MIB Information
- **Homepage:** <https://www.ibr.cs.tu-bs.de/projects/libsmi/>
- **Repository:** <https://gitlab.ibr.cs.tu-bs.de/nm/libsmi>
- **Upstream docs:** <https://www.ibr.cs.tu-bs.de/projects/libsmi>
- **License:** TCL AND BSD-3-Clause AND Beerware
- **Source archive:** <https://www.ibr.cs.tu-bs.de/projects/libsmi/download/libsmi-0.5.0.tar.gz>
- **Generated:** 2026-07-08T18:08:21+00:00

## Executables

- smicache (cli)
- smidiff (cli)
- smidump (cli)
- smilint (cli)
- smiquery (cli)
- smistrip (cli)
- smixlate (cli)
- smicache (alias)
- smidiff (alias)
- smidump (alias)
- smilint (alias)
- smiquery (alias)
- smistrip (alias)
- smixlate (alias)

## Build dependencies

- autoconf
- automake
- libtool

## Install behavior

- Post-install hook: not defined
- 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: 0.5.0
- Local data: ok
- Upstream repository: https://www.ibr.cs.tu-bs.de/projects/libsmi/
- info: No package-manager update timestamp was available.
- info: Release/tag comparison is only available for GitHub repositories.
## Project history and usage

libsmi is a C library and tool suite for reading, validating, converting, comparing, and querying SMI MIB and SPPI PIB modules used in SNMP and network-management tooling.

### Project history

The libsmi README says the project began in 1999 as part of Frank Strauss's master's thesis at the Technical University of Braunschweig, supervised and initiated by Juergen Schoenwaelder. The package grew into a library, tools, test patterns, documentation, and bundled IETF and IANA MIB and PIB module collections.

The official project page describes a two-layer architecture: upper layers expose an API and common internal data structures to applications, while lower drivers access persistent MIB and PIB repositories. It supports SMIv1/v2 MIB module files, SPPI PIB module files, and an early SMIng driver.

### Adoption history

libsmi was adopted by network-management and packet-analysis tools that needed a parser and model for MIB data rather than hand-written text parsing. The official tools page names GxSNMP, tcpdump, and a DMH Software MIB compiler as examples of projects that used libsmi.

The download page says libsmi had packages for Debian, RedHat, Mandrake, and SuSE, and the Homebrew input records broader packaging across Alpine, Debian, Fedora, MacPorts, Nix, Ubuntu, and zypper ecosystems.

### How it is used

The library gives applications a programmer-friendly API for MIB and PIB module information. The bundled commands cover common maintainer workflows: `smilint` checks modules, `smidump` converts and dumps formats, `smidiff` compares revisions, `smiquery` asks for individual objects, `smixlate` translates identifiers, and `smistrip` extracts modules from RFCs and drafts.

Users can configure behavior with global and user-level configuration files and with the SMIPATH environment variable for module search paths.

### Why package nerds care

libsmi is beloved by the sort of package nerd who debugs SNMP by reading MIBs: it turns standards-track network-management text into parseable structures and small Unix tools. It also packages a snapshot-style archive of IETF and IANA modules, making it part parser and part standards museum.

Its aging release cadence and 2021 move from Subversion-era source management to a public GitLab repository make it a good example of mature infrastructure software whose value persists long after the original research push.

### Timeline

- 1999: The libsmi README says the project began as Frank Strauss's master's thesis at TU Braunschweig.
- 2002-06-21: The libsmi 0.4 announcement described the library, tools, SPPI parser additions, and bundled standard MIB modules.
- 2008-04-18: The ChangeLog records the libsmi 0.4.8 release.
- 2021-01: The download page says the code was moved from Subversion to a public GitLab repository without updates.
- 2021-01-15: The public GitLab project page records the repository creation date.

### Related projects

- Related standards and tools include SNMP, SMIv1/v2, SPPI, IETF and IANA MIB/PIB modules, tcpdump, GxSNMP, Net-SNMP-adjacent workflows, and RFC authoring or review pipelines that need MIB extraction and validation.

### Sources

- <https://gitlab.ibr.cs.tu-bs.de/nm/libsmi>
- <https://www.ibr.cs.tu-bs.de/projects/libsmi/>
- <https://www.ibr.cs.tu-bs.de/projects/libsmi/ANNOUNCE.html?lang=de>
- <https://www.ibr.cs.tu-bs.de/projects/libsmi/ChangeLog.html?lang=de>
- <https://www.ibr.cs.tu-bs.de/projects/libsmi/README.html?lang=de>
- <https://www.ibr.cs.tu-bs.de/projects/libsmi/download.html>
- <https://www.ibr.cs.tu-bs.de/projects/libsmi/library.html>
- <https://www.ibr.cs.tu-bs.de/projects/libsmi/tools.html>


## Security Notes

library-like package without higher-risk signals.

- **Geiger risk:** green / low
- library-like 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: ${prefix}/etc/smi.conf, ~/.smirc
## Source Database Details

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** libsmi
- **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 - libsmi2-common - 0.4.8+dfsg2-17: normalized package name match | Debian stable package indexes: libsmi2-common from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | library to access SMI MIB information - MIB module files | http://www.ibr.cs.tu-bs.de/projects/libsmi/
- Debian apt - libsmi2-dev - 0.4.8+dfsg2-17+b1: normalized package name match | Debian stable package indexes: libsmi2-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | library to access SMI MIB information - development files | http://www.ibr.cs.tu-bs.de/projects/libsmi/
- Debian apt - libsmi2t64 - 0.4.8+dfsg2-17+b1: normalized package name match | Debian stable package indexes: libsmi2t64 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | library to access SMI MIB information | http://www.ibr.cs.tu-bs.de/projects/libsmi/
- Debian apt - smistrip - 0.4.8+dfsg2-17: normalized package name match | Debian stable package indexes: smistrip from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | extract MIB from text files like RFC | http://www.ibr.cs.tu-bs.de/projects/libsmi/
- Debian apt - smitools - 0.4.8+dfsg2-17+b1: normalized package name match | Debian stable package indexes: smitools from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | various tools operating on MIB module files | http://www.ibr.cs.tu-bs.de/projects/libsmi/
- Nix - libsmi: normalized package name match | nixpkgs package indexes: pkgs/by-name/li/libsmi/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - libsmi2-common - 0.4.8+dfsg2-16.1build1: normalized package name match | Ubuntu 24.04 LTS package indexes: libsmi2-common from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | library to access SMI MIB information - MIB module files | http://www.ibr.cs.tu-bs.de/projects/libsmi/
- Ubuntu apt - libsmi2-dev - 0.4.8+dfsg2-16.1build1: normalized package name match | Ubuntu 24.04 LTS package indexes: libsmi2-dev from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | library to access SMI MIB information - development files | http://www.ibr.cs.tu-bs.de/projects/libsmi/
- Ubuntu apt - libsmi2t64 - 0.4.8+dfsg2-16.1build1: normalized package name match | Ubuntu 24.04 LTS package indexes: libsmi2t64 from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | library to access SMI MIB information | http://www.ibr.cs.tu-bs.de/projects/libsmi/
- Ubuntu apt - smistrip - 0.4.8+dfsg2-16.1build1: normalized package name match | Ubuntu 24.04 LTS package indexes: smistrip from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | extract MIB from text files like RFC | http://www.ibr.cs.tu-bs.de/projects/libsmi/
- Ubuntu apt - smitools - 0.4.8+dfsg2-16.1build1: normalized package name match | Ubuntu 24.04 LTS package indexes: smitools from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | various tools operating on MIB module files | http://www.ibr.cs.tu-bs.de/projects/libsmi/
- apk - libsmi - 0.5.0-r5: normalized package name match | Alpine Linux edge package indexes: libsmi from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Library to access SMI management information | https://www.ibr.cs.tu-bs.de/projects/libsmi/
- apk - libsmi-dev - 0.5.0-r5: normalized package name match | Alpine Linux edge package indexes: libsmi-dev from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Library to access SMI management information (development files) | https://www.ibr.cs.tu-bs.de/projects/libsmi/
- apk - libsmi-doc - 0.5.0-r5: normalized package name match | Alpine Linux edge package indexes: libsmi-doc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Library to access SMI management information (documentation) | https://www.ibr.cs.tu-bs.de/projects/libsmi/
- dnf - libsmi - 0.4.8-45.fc44: normalized package name match | Fedora Rawhide package metadata: libsmi from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst | A library to access SMI MIB information | http://www.ibr.cs.tu-bs.de/projects/libsmi/index.html
- dnf - libsmi-devel - 0.4.8-45.fc44: normalized package name match | Fedora Rawhide package metadata: libsmi-devel from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst | Development environment for libsmi library | http://www.ibr.cs.tu-bs.de/projects/libsmi/index.html


## 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.
- [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.
- [wireshark](https://www.automicvault.com/pkg/brew/wireshark/) - Popular package that depends on this formula.
- [net-snmp](https://www.automicvault.com/pkg/brew/net-snmp/) - Shares av.db curated category or tags: cli, mib, network-management, networking, snmp.
- [ifstat](https://www.automicvault.com/pkg/brew/ifstat/) - Shares av.db curated category or tags: cli, networking, snmp.
- [lldpd](https://www.automicvault.com/pkg/brew/lldpd/) - Shares av.db curated category or tags: cli, networking, snmp.
- [mrtg](https://www.automicvault.com/pkg/brew/mrtg/) - Shares av.db curated category or tags: cli, networking, snmp.
- [activemq](https://www.automicvault.com/pkg/brew/activemq/) - Shares av.db curated category or tags: cli, networking.
- [adns](https://www.automicvault.com/pkg/brew/adns/) - Shares av.db curated category or tags: cli, networking.
- [aerleon](https://www.automicvault.com/pkg/brew/aerleon/) - Shares av.db curated category or tags: cli, networking.
- [ahcpd](https://www.automicvault.com/pkg/brew/ahcpd/) - Shares av.db curated category or tags: cli, networking.

## Combined YAML source

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