macOS
brew install kmodlocal Homebrew formula metadata
安装
brew install kmodlocal Homebrew formula metadata
sudo apk add kmodAlpine Linux edge package indexes · kmod · 来源: dl-cdn.alpinelinux.org
sudo dnf install kmodFedora Rawhide package metadata · kmod · 来源: dl.fedoraproject.org
nix profile install nixpkgs#kmodnixpkgs package indexes · kmod · 来源: raw.githubusercontent.com
sudo pacman -S kmodArch Linux sync databases · kmod · 来源: geo.mirror.pkgbuild.com
sudo zypper install kmodopenSUSE Tumbleweed package metadata · kmod · 来源: download.opensuse.org
概览
Linux kernel module handling
历史
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.
安全态势
narrow executable package without higher-risk signals.
绿色 风险 · 低 置信度 · appliance
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
local files
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.
Config paths the tool may read or write during local use.
/etc/modprobe.d/*.conf/run/modprobe.d/*.conf/usr/local/lib/modprobe.d/*.conf/lib/modprobe.d/*.conf可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
depmod | cli | 全局可执行文件 | |
insmod | cli | 全局可执行文件 | |
kmod | cli | 全局可执行文件 | |
lsmod | cli | 全局可执行文件 | |
modinfo | cli | 全局可执行文件 | |
modprobe | cli | 全局可执行文件 | |
rmmod | cli | 全局可执行文件 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
https://git.kernel.org/pub/scm/utils/kernel/kmod/kmod
安装元数据
| 软件包键 | brew:kmod |
|---|---|
| 版本 | 34.2 |
| 软件包管理器 | Homebrew |
| 软件包管理器页面 | https://formulae.brew.sh/formula/kmod |
| 主页 | 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 |
| 依赖 | openssl@3, xz, zlib-ng-compat, zstd |
| 构建依赖 | meson, ninja, pkgconf, scdoc |
| Bottle | 可用 (于 arm64_linux, x86_64_linux) |
| Homebrew post-install | 未定义 |
| 服务 | 未声明 |
注册表事实
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | kmod |
| Version Scheme | 0 |
| Revision | 0 |
| Requirements |
|
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
源数据库匹配
匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。
kmod 34.2-2
tools for managing Linux kernel modules
sudo apt install kmodlibkmod-dev 34.2-2
libkmod development files
sudo apt install libkmod-devlibkmod2 34.2-2
libkmod shared library
sudo apt install libkmod2kmod
nix profile install nixpkgs#kmodkmod 31+20240202-2ubuntu7
tools for managing Linux kernel modules
sudo apt install kmodlibkmod-dev 31+20240202-2ubuntu7
libkmod development files
sudo apt install libkmod-devlibkmod2 31+20240202-2ubuntu7
libkmod shared library
sudo apt install libkmod2kmod 34.2-r1
Linux kernel module management utilities
http://git.kernel.org/?p=utils/kernel/kmod/kmod.git;a=summary
sudo apk add kmodkmod-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-completionkmod-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-devkmod-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-dockmod-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-completionkmod-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-libskmod-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-completionkmod 34.2-4.fc44
Linux kernel module management utilities
https://git.kernel.org/pub/scm/utils/kernel/kmod/kmod.git
sudo dnf install kmodkmod-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来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.