# kmod を Homebrew, apk, apt, dnf, Nix, pacman, zypper でインストール

kmod のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。

## インストール

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

追加のインストールコマンド:

### macOS

- Homebrew (100%):

```sh
brew install kmod
```

  証拠: local Homebrew formula metadata

### Linux

- apk (92%):

```sh
sudo apk add kmod
```

  証拠: 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
```

  証拠: 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
```

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

  証拠: 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
```

  証拠: 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
```

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

## パッケージ情報

- **パッケージキー:** brew:kmod
- **パッケージマネージャ:** Homebrew
- **パッケージマネージャページ:** <https://formulae.brew.sh/formula/kmod>
- **バージョン:** 34.2
- **ソース概要:** Linux kernel module handling
- **ホームページ:** <https://git.kernel.org/pub/scm/utils/kernel/kmod/kmod.git>
- **リポジトリ:** <https://git.kernel.org/pub/scm/utils/kernel/kmod/kmod.git>
- **上流ドキュメント:** <https://git.kernel.org/pub/scm/utils/kernel/kmod/kmod.git/tree/README.md>
- **ライセンス:** LGPL-2.1-or-later AND GPL-2.0-or-later
- **ソースアーカイブ:** <https://mirrors.edge.kernel.org/pub/linux/utils/kernel/kmod/kmod-34.2.tar.xz>
- **生成日時:** 2026-07-08T18:08:21+00:00

## 実行可能ファイル

- depmod (cli)
- insmod (cli)
- kmod (cli)
- lsmod (cli)
- modinfo (cli)
- modprobe (cli)
- rmmod (cli)
- depmod (エイリアス)
- insmod (エイリアス)
- kmod (エイリアス)
- lsmod (エイリアス)
- modinfo (エイリアス)
- modprobe (エイリアス)
- rmmod (エイリアス)

## 依存関係

- openssl@3
- xz
- zlib-ng-compat
- zstd

## ビルド依存関係

- meson
- ninja
- pkgconf
- scdoc

## インストール挙動

- post-install フック: 未定義
- Bottle: 利用可能 対象 arm64_linux, x86_64_linux

## バージョンと鮮度

- ページ生成日: 2026-07-08
- マネージャ版: 34.2
- ローカルデータ: OK
- 上流リポジトリ: https://git.kernel.org/pub/scm/utils/kernel/kmod/kmod
- 情報: No package-manager update timestamp was available.
- 情報: Release/tag comparison is only available for GitHub repositories.
## プロジェクトの歴史と使われ方

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.

### プロジェクトの歴史

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.

### 採用の歴史

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.

### 使われ方

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.

### パッケージ好きにとっての重要性

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.

### タイムライン

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

### ソース

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


## セキュリティノート

narrow executable package without higher-risk signals.

- **Geiger リスク:** グリーン / 低
- 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
## ソースデータベース詳細

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** kmod
- **Version Scheme:** 0
- **Revision:** 0
- **Requirements:** linux
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** stable

## 他のパッケージマネージャ記録

- 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-4.fc44: normalized package name match | Fedora Rawhide package metadata: kmod from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst | Linux kernel module management utilities | https://git.kernel.org/pub/scm/utils/kernel/kmod/kmod.git
- dnf - kmod-devel - 34.2-4.fc44: 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/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst | Header files for kmod development | https://git.kernel.org/pub/scm/utils/kernel/kmod/kmod.git


## 関連リンク

- [Source-control packages](https://www.automicvault.com/ja/pkg/source-control-tools/) - Belongs to a source-control command family.
- [Terminal utility packages](https://www.automicvault.com/ja/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Networking and protocol packages](https://www.automicvault.com/ja/pkg/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [Package ecosystem packages](https://www.automicvault.com/ja/pkg/package-ecosystem-tools/) - Matched package manager, installer, dependency, registry, or publishing metadata.
- [openssl@3](https://www.automicvault.com/ja/pkg/brew/openssl-3/) - Runtime dependency declared by Homebrew.
- [xz](https://www.automicvault.com/ja/pkg/brew/xz/) - Runtime dependency declared by Homebrew.
- [zstd](https://www.automicvault.com/ja/pkg/brew/zstd/) - Runtime dependency declared by Homebrew.
- [meson](https://www.automicvault.com/ja/pkg/brew/meson/) - Build dependency declared by Homebrew.
- [ninja](https://www.automicvault.com/ja/pkg/brew/ninja/) - Build dependency declared by Homebrew.
- [pkgconf](https://www.automicvault.com/ja/pkg/brew/pkgconf/) - Build dependency declared by Homebrew.
- [scdoc](https://www.automicvault.com/ja/pkg/brew/scdoc/) - Build dependency declared by Homebrew.
- [ddcutil](https://www.automicvault.com/ja/pkg/brew/ddcutil/) - Popular package that depends on this formula.
- [b43-fwcutter](https://www.automicvault.com/ja/pkg/brew/b43-fwcutter/) - Shares av.db curated category or tags: cli, linux, system.
- [bluez](https://www.automicvault.com/ja/pkg/brew/bluez/) - Shares av.db curated category or tags: cli, linux, system.
- [btrfs-progs](https://www.automicvault.com/ja/pkg/brew/btrfs-progs/) - Shares av.db curated category or tags: cli, linux, system.
- [cpulimit](https://www.automicvault.com/ja/pkg/brew/cpulimit/) - Shares av.db curated category or tags: cli, linux, system.
- [crun](https://www.automicvault.com/ja/pkg/brew/crun/) - Shares av.db curated category or tags: cli, linux, system.
- [dcled](https://www.automicvault.com/ja/pkg/brew/dcled/) - Shares av.db curated category or tags: cli, linux, system.
- [device-mapper](https://www.automicvault.com/ja/pkg/brew/device-mapper/) - Shares av.db curated category or tags: cli, linux, system.
- [erofs-utils](https://www.automicvault.com/ja/pkg/brew/erofs-utils/) - Local package facts share a topical domain. Shared terms: cli, linux, system, xz.
- [keyutils](https://www.automicvault.com/ja/pkg/brew/keyutils/) - Local package facts share a topical domain. Shared terms: cli, kernel, linux, system.
- [apt](https://www.automicvault.com/ja/pkg/brew/apt/) - Local package facts share a topical domain. Shared terms: cli, compat, openssl, openssl-3, system.

## Combined YAML source

View the package source record on GitHub. [combined/kmod.yml](https://github.com/automic-vault/db/blob/main/combined/kmod.yml)


## ソース

- 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
