libsmi is free software. Many Linux distributions ship it as a package (libsmi2t64/smitools on Debian and Ubuntu, libsmi on Fedora, RHEL and openSUSE), usually version 0.4.8 or 0.5. Version 0.6 is available from the project's GitLab:
| Platform | Packages | Install with |
|---|---|---|
| Debian 13, Ubuntu 24.04 | libsmi2t64, libsmi2-common, libsmi2-dev, smitools, smistrip | sudo apt install ./*.deb |
| Fedora, RHEL/AlmaLinux 9 and 10 | libsmi, libsmi-devel | sudo dnf install ./*.rpm |
| openSUSE Leap 16.0, Tumbleweed | libsmi, libsmi2, libsmi-devel | sudo zypper install --allow-unsigned-rpm ./*.rpm |
| Linux, any distribution (x86_64) | statically linked tools with all modules | unpack the .tar.xz |
| Windows 10/11 (x64) | DLL, import libraries for MinGW and MSVC, headers, tools, modules | unpack the .zip anywhere |
| macOS 11+ (Apple Silicon, Intel, universal) | library, headers, tools, modules (the /usr/local tree) | sudo tar -xzf libsmi-*-macos-universal.tar.gz -C /usr/local |
The Linux packages use the names and the file layout of the distributions' own packages and replace them on installation. The Windows tools find the modules relative to their own location. The macOS binaries are cross-compiled and not notarized: remove the quarantine attribute of the downloaded archive first (xattr -d com.apple.quarantine libsmi-*.tar.gz), or build from source, e.g. with the Homebrew formula in packaging/homebrew/.
Packages of the current development state are built for every commit; see the README for their fixed download URLs.
libsmi builds on Linux, the BSDs, macOS and Windows. A release tarball needs a C99 compiler, make, a POSIX shell and awk:
$ tar -xf libsmi-0.6.0.tar.xz $ cd libsmi-0.6.0 $ ./configure $ make $ make check # optional: the test suite $ sudo make install
From a git checkout, autoconf, automake, libtool, flex and bison are needed in addition (./autogen.sh instead of ./configure). CMake is an alternative, mainly for native Windows builds with Visual Studio:
$ git clone https://gitlab.ibr.cs.tu-bs.de/nm/libsmi.git $ cd libsmi $ ./autogen.sh && make && make check $ cmake -S . -B build && cmake --build build && ctest --test-dir build
./configure --help lists all options, e.g. the module directories (--with-mibdir, --with-yangdir), the default module path (--with-smipath) and the deprecated SMIng parser (--enable-sming). The README explains everything in detail, including cross compilation for Windows.
The releases up to 0.5.0 (1999–2014) and the related tool mibdump are archived in the download directory. The complete history since 1998 is in the git repository; the source code was managed with CVS and Subversion before it moved to GitLab in January 2021.
libsmi is free software under a Tcl-style BSD license (SPDX: TCL), see LICENSE for the terms and the disclaimer of all warranties. A few files are under other free licenses. The bundled modules are subject to the terms of the documents they were published in (for RFCs: the IETF Trust's Legal Provisions).
Copyright © 1999–2008 Frank Strauss, Technical University of Braunschweig, and other contributors.
Copyright © 2026 Frank Steinberg (formerly Frank Strauss), Technical University of Braunschweig.
Vacancies of TU Braunschweig
Career Service' Job Exchange
Merchandising
Term Dates
Courses
Degree Programmes
Information for Freshman
TUCard
Technische Universität Braunschweig
Universitätsplatz 2
38106 Braunschweig
P. O. Box: 38092 Braunschweig
GERMANY
Phone: +49 (0) 531 391-0