Automic VaultAutomic Vault

brew

Install kmod with Homebrew, apk, apt, dnf, Nix, pacman, zypper

Linux kernel module handling. Version 34.2 via Homebrew; verified from local package data.

install

Additional install commands

macOS

Homebrewverified · 100%
brew install kmod

local Homebrew formula metadata

Linux

Alpine Linux apkverified · 92%
sudo apk add kmod

Alpine Linux edge package indexes · kmod · source: dl-cdn.alpinelinux.org

Debian aptverified · 92%
sudo apt install kmod

Debian stable package indexes · kmod · source: deb.debian.org

Fedora dnfverified · 92%
sudo dnf install kmod

Fedora Rawhide package metadata · kmod · source: dl.fedoraproject.org

Nixverified · 92%
nix profile install nixpkgs#kmod

nixpkgs package indexes · kmod · source: raw.githubusercontent.com

Arch Linux pacmanverified · 92%
sudo pacman -S kmod

Arch Linux sync databases · kmod · source: geo.mirror.pkgbuild.com

openSUSE zypperverified · 92%
sudo zypper install kmod

openSUSE Tumbleweed package metadata · kmod · source: download.opensuse.org

overview

Package summary

Linux kernel module handling

Commands and aliases

  • depmod
  • insmod
  • kmod
  • lsmod
  • modinfo
  • modprobe
  • rmmod

history

Project history and usage

kmod is the Linux userspace module-management suite and library that replaced module-init-tools after that project reached end of life in 2011. It provides the familiar `depmod`, `insmod`, `lsmod`, `modinfo`, `modprobe`, and `rmmod` commands on top of libkmod.

Project history

The kmod README states the project's goal directly: handle common Linux kernel module tasks and remain compatible with the tools, configurations, and indexes from module-init-tools. Its early NEWS entries show that version 1 provided libkmod plus module-init-tools-style command names, version 2 expanded modprobe compatibility, and version 3 bundled tools through a single `kmod` binary callable through symlinks.

That library-centered rewrite mattered because Linux systems had grown a complex set of module indexes, aliases, soft dependencies, compressed modules, and initramfs constraints. kmod turned those concerns into libkmod APIs consumed by command-line tools and by other system software.

Adoption history

Distributions adopted kmod as the drop-in successor to module-init-tools during the early 2010s. Arch Linux announced the switch on 2012-01-21, and the kmod README records that later behavior changes and features followed feedback from the Linux kernel community and distributions.

How it is used

Administrators and boot-time services use kmod tools to query loaded modules, generate dependency indexes, inspect module metadata, load modules by alias or name, and remove modules. Configuration is driven by modprobe-style `.conf` files under Linux module configuration directories, while credentials are not part of the tool model.

Why package nerds care

kmod is foundational packaging infrastructure: it is a small package whose binaries often exist in `/sbin` or `/usr/bin`, but it participates in boot, initramfs generation, kernel upgrades, device probing, and driver packaging. Its symlinked multi-call command design also makes it a neat example of replacing legacy utilities while preserving the command surface scripts expect.

Timeline

  • 2011: module-init-tools reached end of life, according to the kmod README.
  • 2011: kmod 1 shipped the first libkmod and module-init-tools-style tools.
  • 2011: kmod 3 added depmod and the single `kmod` binary with symlink-compatible tool names.
  • 2012-01-21: Arch Linux announced kmod replacing module-init-tools.
  • 2026: kmod 34 NEWS described Meson transition work, dlopen-based decompression libraries, shell completions, CI hardening, and documentation improvements.

Related projects

  • kmod is directly related to module-init-tools, the Linux kernel module loader interfaces, udev/systemd module-loading paths, initramfs tooling, and package scripts that regenerate module dependency indexes after kernel or driver installs.

security posture

Risk level: green

narrow executable package without higher-risk signals.

Risk classifier

green risk · low confidence · appliance

Why

  • narrow executable package without higher-risk signals

Signals

  • metadata:no-higher-risk-signals

Install behavior

  • No Homebrew post-install hook is recorded in formula metadata.
  • Homebrew bottle metadata is available for 2 platform targets.
  • Installs with 4 runtime dependencies.
  • Build metadata lists 4 build dependencies.

Recommended review

Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.

local files

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

Config paths the tool may read or write during local use.

Linux
/etc/modprobe.d/*.conf/run/modprobe.d/*.conf/usr/local/lib/modprobe.d/*.conf/lib/modprobe.d/*.conf

executables

Installed executables

CommandKindExposureNote
depmodcliglobal executable
insmodcliglobal executable
kmodcliglobal executable
lsmodcliglobal executable
modinfocliglobal executable
modprobecliglobal executable
rmmodcliglobal executable

freshness

Version and freshness

These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.

page generated2026-07-08
manager version34.2
manager updated
local dataok
upstreamnot checked
latest detectednot detected

https://git.kernel.org/pub/scm/utils/kernel/kmod/kmod

install metadata

Package metadata

Package keybrew:kmod
Version34.2
Package managerHomebrew
Package manager pagehttps://formulae.brew.sh/formula/kmod
Homepagehttps://git.kernel.org/pub/scm/utils/kernel/kmod/kmod.git
Repositoryhttps://git.kernel.org/pub/scm/utils/kernel/kmod/kmod.git
Upstream docshttps://git.kernel.org/pub/scm/utils/kernel/kmod/kmod.git/tree/README.md
LicenseLGPL-2.1-or-later AND GPL-2.0-or-later
Source archivehttps://mirrors.edge.kernel.org/pub/linux/utils/kernel/kmod/kmod-34.2.tar.xz
Dependenciesopenssl@3, xz, zlib-ng-compat, zstd
Build dependenciesmeson, ninja, pkgconf, scdoc
Bottleavailable (on arm64_linux, x86_64_linux)
Homebrew post-installnot defined
Servicenone declared

registry facts

Source database details

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namekmod
Version Scheme0
Revision0
Requirements
  • linux
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • stable

source database matches

Other package-manager records

Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.

Debian apt95%

kmod 34.2-2

tools for managing Linux kernel modules

sudo apt install kmod
  • Section: admin
  • Architecture: amd64
  • 3 dependencies
  • normalized package name match
  • Matched by: Kmod
Debian stable package indexes · deb.debian.org · Debian stable package indexes: kmod from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

libkmod-dev 34.2-2

libkmod development files

sudo apt install libkmod-dev
  • Section: libdevel
  • Architecture: amd64
  • Source Package: kmod
  • 1 dependencies
  • normalized package name match
  • Matched by: Kmod
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libkmod-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

libkmod2 34.2-2

libkmod shared library

sudo apt install libkmod2
  • Section: libs
  • Architecture: amd64
  • Source Package: kmod
  • 2 dependencies
  • normalized package name match
  • Matched by: Kmod
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libkmod2 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Nix95%

kmod

nix profile install nixpkgs#kmod
  • normalized package name match
  • Matched by: Kmod
nixpkgs package indexes · raw.githubusercontent.com · nixpkgs package indexes: kmod from https://raw.githubusercontent.com/NixOS/nixpkgs/master/pkgs/top-level/all-packages.nix
Ubuntu apt95%

kmod 31+20240202-2ubuntu7

tools for managing Linux kernel modules

sudo apt install kmod
  • Section: admin
  • Architecture: amd64
  • 5 dependencies
  • normalized package name match
  • Matched by: Kmod
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: kmod from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz
Ubuntu apt95%

libkmod-dev 31+20240202-2ubuntu7

libkmod development files

sudo apt install libkmod-dev
  • Section: libdevel
  • Architecture: amd64
  • Source Package: kmod
  • 1 dependencies
  • normalized package name match
  • Matched by: Kmod
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: libkmod-dev from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz
Ubuntu apt95%

libkmod2 31+20240202-2ubuntu7

libkmod shared library

sudo apt install libkmod2
  • Section: libs
  • Architecture: amd64
  • Source Package: kmod
  • 4 dependencies
  • normalized package name match
  • Matched by: Kmod
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: libkmod2 from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz
apk95%

kmod 34.2-r1

Linux kernel module management utilities

http://git.kernel.org/?p=utils/kernel/kmod/kmod.git;a=summary

sudo apk add kmod
  • License: GPL-2.0-or-later
  • Architecture: x86_64
  • Source Package: kmod
  • 1 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Kmod
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: kmod from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
apk95%

kmod-bash-completion 34.2-r1

Bash completions for kmod

http://git.kernel.org/?p=utils/kernel/kmod/kmod.git;a=summary

sudo apk add kmod-bash-completion
  • License: GPL-2.0-or-later
  • Architecture: x86_64
  • Source Package: kmod
  • normalized package name match
  • Matched by: Kmod
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: kmod-bash-completion from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
apk95%

kmod-dev 34.2-r1

Linux kernel module management utilities (development files)

http://git.kernel.org/?p=utils/kernel/kmod/kmod.git;a=summary

sudo apk add kmod-dev
  • License: GPL-2.0-or-later
  • Architecture: x86_64
  • Source Package: kmod
  • 1 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Kmod
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: kmod-dev from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
apk95%

kmod-doc 34.2-r1

Linux kernel module management utilities (documentation)

http://git.kernel.org/?p=utils/kernel/kmod/kmod.git;a=summary

sudo apk add kmod-doc
  • License: GPL-2.0-or-later
  • Architecture: x86_64
  • Source Package: kmod
  • normalized package name match
  • Matched by: Kmod
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: kmod-doc from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
apk95%

kmod-fish-completion 34.2-r1

Fish completions for kmod

http://git.kernel.org/?p=utils/kernel/kmod/kmod.git;a=summary

sudo apk add kmod-fish-completion
  • License: GPL-2.0-or-later
  • Architecture: x86_64
  • Source Package: kmod
  • normalized package name match
  • Matched by: Kmod
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: kmod-fish-completion from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
apk95%

kmod-libs 34.2-r1

Linux kernel module management utilities (libraries)

http://git.kernel.org/?p=utils/kernel/kmod/kmod.git;a=summary

sudo apk add kmod-libs
  • License: LGPL-2.1-or-later
  • Architecture: x86_64
  • Source Package: kmod
  • 1 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Kmod
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: kmod-libs from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
apk95%

kmod-zsh-completion 34.2-r1

Zsh completions for kmod

http://git.kernel.org/?p=utils/kernel/kmod/kmod.git;a=summary

sudo apk add kmod-zsh-completion
  • License: GPL-2.0-or-later
  • Architecture: x86_64
  • Source Package: kmod
  • normalized package name match
  • Matched by: Kmod
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: kmod-zsh-completion from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
dnf95%

kmod 34.2-4.fc44

Linux kernel module management utilities

https://git.kernel.org/pub/scm/utils/kernel/kmod/kmod.git

sudo dnf install kmod
  • License: GPL-2.0-or-later AND GPL-3.0-or-later AND FSFUL AND FSFULLRWD AND LGPL-2.1-only AND LGPL-2.1-or-later AND X11
  • Category: Unspecified
  • Architecture: x86_64
  • Source Package: kmod
  • 9 dependencies
  • 10 provides
  • normalized package name match
  • Matched by: Kmod
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: kmod from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
dnf95%

kmod-devel 34.2-4.fc44

Header files for kmod development

https://git.kernel.org/pub/scm/utils/kernel/kmod/kmod.git

sudo dnf install kmod-devel
  • License: GPL-2.0-or-later AND GPL-3.0-or-later AND FSFUL AND FSFULLRWD AND LGPL-2.1-only AND LGPL-2.1-or-later AND X11
  • Category: Unspecified
  • Architecture: i686
  • Source Package: kmod
  • 3 dependencies
  • 2 provides
  • normalized package name match
  • Matched by: Kmod
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: kmod-devel from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst

source trail

Generated from repository data

This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.

Used sources

  • Geiger risk classifier
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated configuration and credential file locations
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment