# Installer kmod avec Homebrew, apk, apt, dnf, Nix, pacman, zypper

Consultez les chemins d'installation, exécutables, métadonnées et notes de sécurité de kmod pour les workflows d'agents IA.

## installation

```sh
sudo av install brew:kmod
```

Commandes d'installation supplémentaires:

### macOS

- Homebrew (100%):

```sh
brew install kmod
```

  Preuve: local Homebrew formula metadata

### Linux

- apk (92%):

```sh
sudo apk add kmod
```

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

- Debian apt (92%):

```sh
sudo apt install kmod
```

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

- dnf (92%):

```sh
sudo dnf install kmod
```

  Preuve: Fedora Rawhide package metadata: kmod 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#kmod
```

  Preuve: nixpkgs package indexes: kmod from https://raw.githubusercontent.com/NixOS/nixpkgs/master/pkgs/top-level/all-packages.nix

- pacman (92%):

```sh
sudo pacman -S kmod
```

  Preuve: Arch Linux sync databases: kmod from https://geo.mirror.pkgbuild.com/core/os/x86_64/core.db.tar.gz

- zypper (92%):

```sh
sudo zypper install kmod
```

  Preuve: openSUSE Tumbleweed package metadata: kmod from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst

## Faits du paquet

- **Clé du paquet:** brew:kmod
- **Gestionnaire de paquets:** Homebrew
- **Version:** 34.2
- **Résumé source:** Linux kernel module handling
- **Page d'accueil:** <https://git.kernel.org/pub/scm/utils/kernel/kmod/kmod.git>
- **Généré:** 2026-08-03T19:37:03+00:00

## exécutables

- depmod (alias)
- insmod (alias)
- kmod (alias)
- lsmod (alias)
- modinfo (alias)
- modprobe (alias)
- rmmod (alias)

## Comportement d'installation

- Bouteille: non disponible

## Version et fraîcheur

- page générée: 2026-08-03
- version du gestionnaire: 34.2
## Historique du projet et usages

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.

### Historique du projet

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.

### Historique d'adoption

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.

### Modes d'utilisation

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.

### Pourquoi les passionnés de paquets s'y intéressent

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.

### Chronologie

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

### Sources

- <https://archlinux.org/news/kmod-replaces-module-init-tools/>
- <https://git.kernel.org/pub/scm/utils/kernel/kmod/kmod.git/tree/NEWS>
- <https://git.kernel.org/pub/scm/utils/kernel/kmod/kmod.git/tree/README.md>
- <https://git.kernel.org/pub/scm/utils/kernel/module-init-tools/module-init-tools.git/>


## Notes de sécurité

narrow executable package without higher-risk signals.

- **Risque Geiger:** vert / faible
- 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

- Linux: /etc/modprobe.d/*.conf, /run/modprobe.d/*.conf, /usr/local/lib/modprobe.d/*.conf, /lib/modprobe.d/*.conf
## Autres enregistrements de gestionnaires de paquets

- Debian apt - kmod - 34.2-2: normalized package name match | Debian stable package indexes: kmod from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | tools for managing Linux kernel modules
- Debian apt - libkmod-dev - 34.2-2: normalized package name match | Debian stable package indexes: libkmod-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | libkmod development files
- Debian apt - libkmod2 - 34.2-2: normalized package name match | Debian stable package indexes: libkmod2 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | libkmod shared library
- Nix - kmod: normalized package name match | nixpkgs package indexes: kmod from https://raw.githubusercontent.com/NixOS/nixpkgs/master/pkgs/top-level/all-packages.nix
- Ubuntu apt - kmod - 31+20240202-2ubuntu7: normalized package name match | Ubuntu 24.04 LTS package indexes: kmod from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz | tools for managing Linux kernel modules
- Ubuntu apt - libkmod-dev - 31+20240202-2ubuntu7: normalized package name match | Ubuntu 24.04 LTS package indexes: libkmod-dev from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz | libkmod development files
- Ubuntu apt - libkmod2 - 31+20240202-2ubuntu7: normalized package name match | Ubuntu 24.04 LTS package indexes: libkmod2 from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz | libkmod shared library
- apk - kmod - 34.2-r1: normalized package name match | Alpine Linux edge package indexes: kmod from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz | Linux kernel module management utilities | http://git.kernel.org/?p=utils/kernel/kmod/kmod.git;a=summary
- apk - kmod-bash-completion - 34.2-r1: normalized package name match | Alpine Linux edge package indexes: kmod-bash-completion from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz | Bash completions for kmod | http://git.kernel.org/?p=utils/kernel/kmod/kmod.git;a=summary
- apk - kmod-dev - 34.2-r1: normalized package name match | Alpine Linux edge package indexes: kmod-dev from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz | Linux kernel module management utilities (development files) | http://git.kernel.org/?p=utils/kernel/kmod/kmod.git;a=summary
- apk - kmod-doc - 34.2-r1: normalized package name match | Alpine Linux edge package indexes: kmod-doc from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz | Linux kernel module management utilities (documentation) | http://git.kernel.org/?p=utils/kernel/kmod/kmod.git;a=summary
- apk - kmod-fish-completion - 34.2-r1: normalized package name match | Alpine Linux edge package indexes: kmod-fish-completion from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz | Fish completions for kmod | http://git.kernel.org/?p=utils/kernel/kmod/kmod.git;a=summary
- apk - kmod-libs - 34.2-r1: normalized package name match | Alpine Linux edge package indexes: kmod-libs from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz | Linux kernel module management utilities (libraries) | http://git.kernel.org/?p=utils/kernel/kmod/kmod.git;a=summary
- apk - kmod-zsh-completion - 34.2-r1: normalized package name match | Alpine Linux edge package indexes: kmod-zsh-completion from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz | Zsh completions for kmod | http://git.kernel.org/?p=utils/kernel/kmod/kmod.git;a=summary
- dnf - kmod - 34.2-6.fc45: normalized package name match | Fedora Rawhide package metadata: kmod from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | Linux kernel module management utilities | https://git.kernel.org/pub/scm/utils/kernel/kmod/kmod.git
- dnf - kmod-devel - 34.2-6.fc45: normalized package name match | Fedora Rawhide package metadata: kmod-devel from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | Header files for kmod development | https://git.kernel.org/pub/scm/utils/kernel/kmod/kmod.git


## Combined YAML source

View the package source record on GitHub. [combined/kmod.yml](https://github.com/mxcl/pkgdb/blob/main/combined/kmod.yml)


## Sources

- 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
